CS FundamentalsHardGATE CS

A system uses segmentation with paging: a 32-bit logical address has a 4-bit segment number, and each segment is paged with 4 KB pages and 4-byte PTEs. What is the maximum size of one segment's page table?

  1. A. 4 MB
  2. B. 64 KB
  3. C. 256 KB
  4. D. 1 MB

Correct answer: C. 256 KB

Offset within a segment = 32 − 4 = 28 bits, so a segment has up to 2²⁸ / 2¹² = 2¹⁶ pages; 2¹⁶ × 4 B = 256 KB. The 4 MB trap ignores the segment bits.

More Operating Systems questions

Exams that ask this topic