CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ

A process's page table has valid entries for pages 0-5 only. With 1 KB pages, which logical address causes a trap instead of a translation?

  1. A. 6143
  2. B. 5120
  3. C. 6144
  4. D. 0

Correct answer: C. 6144

Pages 0-5 cover addresses 0 to 6 × 1024 − 1 = 6143. Address 6144 is the first byte of page 6, whose entry is invalid, so it traps. 5120 is the start of page 5, still valid.

More Operating Systems questions

Exams that ask this topic