How much space will be required to store the bit map of a 1.3 GB disk with 512…
2013
How much space will be required to store the bit map of a 1.3 GB disk with 512 bytes block size ?
- A.
332.8 KB
- B.
83.6 KB
- C.
266.2 KB
- D.
256.6 KB
Attempted by 139 students.
Show answer & explanation
Correct answer: A
Assumption: 1 GB = 2^30 bytes.
Step 1 — Number of blocks: disk size / block size = (1.3 × 2^30 bytes) / 512 bytes = (1.3 × 1,073,741,824) / 512 ≈ 2,726,298 blocks.
Step 2 — Bitmap size in bytes: 1 bit per block → bytes = blocks / 8 = (1.3 × 2^30) / (512 × 8) = (1.3 × 2^30) / 4,096 ≈ 340,787 bytes.
Step 3 — Convert to KB: 340,787 bytes / 1,024 ≈ 332.8 KB.
Final answer: 332.8 KB (≈340,787 bytes).
Note: If a decimal gigabyte (1 GB = 10^9 bytes) were used, the result would differ slightly. The calculation above uses the common binary definition (2^30).
A video solution is available for this question — log in and enroll to watch it.