CS FundamentalsHardAmazon · Microsoft MCQ pattern

A 64-bit machine uses 48-bit virtual addresses, 4 KB pages and 8-byte page-table entries. Every page table occupies exactly one page. How many levels of paging are needed?

  1. A. 3
  2. B. 5
  3. C. 2
  4. D. 4

Correct answer: D. 4

Offset = 12 bits, leaving 36 bits of page number. One page holds 4096/8 = 512 = 2⁹ entries, so each level resolves 9 bits: 36/9 = 4 levels (as on x86-64). Three levels would cover only 27 of the 36 bits.

More Operating Systems questions

Exams that ask this topic