GATE Computer ScienceHardGATE CS (PYQ pattern)

A system has 44-bit virtual addresses, 4 KB pages and 8-byte page-table entries. Every level of its multi-level page table except the top one fills exactly one page, and the top-level table is only as large as needed. How many levels are there, and how large is the top-level table?

  1. A. 4 levels; 4 KB
  2. B. 3 levels; 256 B
  3. C. 4 levels; 32 B
  4. D. 4 levels; 256 B

Correct answer: D. 4 levels; 256 B

Offset 12 bits, VPN 32 bits. A full level resolves 9 bits (512 × 8 B = 4 KB), so 3 full levels cover 27 bits and the top level resolves the remaining 5 bits: 2⁵ entries × 8 B = 256 B, 4 levels in all. 32 B forgets the 8-byte entry size.

More Computer Organization and Architecture questions

Exams that ask this topic