CS FundamentalsModerateGATE CS
A FAT file system on a 2 TB partition uses 8 KB blocks. Each FAT entry holds a block number plus 4 control bits and entries are rounded up to a whole number of bytes. What is the size of the FAT that must be kept in memory?
- A. 896 MB
- B. 512 MB
- C. 2 GB
- D. 1 GB
Correct answer: D. 1 GB
Blocks = 2⁴¹/2¹³ = 2²⁸, so 28 bits for the number plus 4 control bits = 32 bits = 4 bytes. FAT = 2²⁸ × 4 B = 1 GB; the 896 MB figure ignores byte rounding and control bits.
More Operating Systems questions
- A Unix-style inode has 10 direct pointers and one single, one double and one triple indirect pointer. Blocks are 2 KB and pointers are 4…
- A 32-bit machine uses two-level paging with 4 KB pages and 4-byte entries (10+10+12 split). A process has 6 MB of code and data starting…
- A machine has 46-bit virtual addresses, 16 KB pages, 40-bit physical addresses, and each page-table entry holds the frame number plus 6…
- A parent has 1000 pages mapped copy-on-write after fork, all initially shared. The child then writes to 100 distinct pages, and afterwards…
- A bounded-buffer monitor with Mesa-style signalling uses: get() { if (count == 0) wait(notEmpty); item = buf[out]; count--; ... } and…
- A three-level feedback queue: Q0 (quantum 2), Q1 (quantum 4), Q2 (FCFS). New processes join Q0 and preempt lower queues; a process that…