CS FundamentalsVery hardTCS Digital · Infosys

A system has 48-bit virtual addresses, 4 KB pages and 8-byte page-table entries. The page table is organised as a multi-level tree in which every table must fit exactly in one page. How many levels are needed?

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

Correct answer: A. 4

The offset takes 12 bits, leaving 36 bits. A 4 KB table holds 512 entries, so each level resolves 9 bits: 36 / 9 = 4 levels.

More Operating Systems questions

Exams that ask this topic