CS FundamentalsModerateGATE CS
A 2 TB disk with 4 KB blocks tracks free space with a bitmap (one bit per block). How large is the bitmap?
- A. 512 MB
- B. 8 MB
- C. 64 MB
- D. 16 MB
Correct answer: C. 64 MB
Blocks = 2⁴¹ / 2¹² = 2²⁹. Bitmap = 2²⁹ bits = 2²⁶ bytes = 64 MB. Forgetting to divide by 8 gives 512 MB.
More Operating Systems questions
- A file of 100 blocks uses linked allocation (each block holds a pointer to the next). No blocks are cached and the directory entry gives…
- A 200-block file is stored with contiguous allocation and there is no free space after it, but enough before it. The file control block is…
- Four identical 2 TB disks are combined. What usable capacity do RAID 0, RAID 1+0 (striped mirrors) and RAID 5 give, respectively?
- In a 5-disk RAID 5 array, a small write updates a single data block. Using the read-modify-write method, how many disk I/O operations does…
- Which RAID level can survive the failure of ANY two disks at the same time?
- A device transfers data at 2 MB/s using programmed I/O with an interrupt per byte; handling each interrupt takes 2 µs of CPU time. What…