CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ
A 2 GB partition uses a FAT with 4 KB clusters and 4-byte FAT entries. How large is one copy of the FAT?
- A. 512 KB
- B. 2 MB
- C. 4 MB
- D. 8 MB
Correct answer: B. 2 MB
2 GB / 4 KB = 2¹⁹ clusters, one entry each: 2¹⁹ × 4 B = 2 MB. FAT size grows with the number of clusters, which is why large disks use bigger clusters.
More Operating Systems questions
- A TLB has 64 entries. What is its reach with 4 KB pages, and with 2 MB huge pages?
- A 32-bit system uses two-level paging with 4 KB pages and 4-byte entries (a 1024-entry outer table, each inner table mapping 4 MB). A…
- A disk spins at 7200 RPM, has 400 sectors of 512 bytes per track and an average seek of 5 ms. About how long does it take on average to…
- Processes typically run 40 ms of CPU before blocking for I/O. Round Robin uses a quantum of 8 ms and each context switch costs 2 ms. What…
- Three users run the same 60 KB editor (pure, reentrant code) and each has 20 KB of private data. With paging that lets the code pages be…
- In a monitor with Mesa (signal-and-continue) semantics, why must a consumer write while (count == 0) wait(notEmpty); instead of if (count…