GATE 2014 CS (CS2) – Question 30
A FAT file system has 4-byte entries. Disk size is 100 × 10⁶ bytes and data-block size 10³ bytes. Find maximum file size (units of 10⁶ bytes).
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 99.55 to 99.65
Explanation
There are100×10⁶/10³=100000data blocks. At4bytes per FAT entry, the table needs400000bytes. Subtracting this overhead from100×10⁶ leaves99.6×10⁶bytes, so **99.6** in the requested units. Treating table blocks recursively gives a nearby99.6016, also inside the official interval.