CS FundamentalsHardHCL · Tech Mahindra pattern

A 16 GB disk is formatted with 4 KB blocks and a File Allocation Table (FAT) that has one 4-byte entry per block. How large is the FAT, and why does it matter?

  1. A. 16 MB; it must be read from disk for every block of every file
  2. B. 4 MB; it is stored inside each file's first block
  3. C. 64 MB; one entry per byte of the block
  4. D. 16 MB; it is usually cached in memory so following a file's block chain does not need a disk read per block

Correct answer: D. 16 MB; it is usually cached in memory so following a file's block chain does not need a disk read per block

Blocks = 16 GB / 4 KB = 4M = 2²²; 2²² × 4 B = 16 MB. FAT is linked allocation with the links pulled into one table, so caching it makes random access a walk through memory rather than through the disk.

More Operating Systems questions

Exams that ask this topic