CS FundamentalsHardProduct-company MCQ pattern

A system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries, and every page table must fit exactly in one page. How should the virtual address be split for a multilevel page table?

  1. A. Two levels: 10 + 10 + 12
  2. B. Single level: 20-bit page number + 12-bit offset
  3. C. Two levels: 8 + 12 + 12
  4. D. Three levels: 7 + 7 + 6 + 12

Correct answer: A. Two levels: 10 + 10 + 12

Offset = 12 bits (4 KB). One page holds 4096/4 = 1024 = 2¹⁰ entries, so each level resolves 10 bits; the 20-bit page number needs 20/10 = 2 levels: 10 + 10 + 12.

More Operating Systems questions

Exams that ask this topic