CS FundamentalsModerateGATE CS

Page size is 2 KB. The page table maps page 0 → frame 6, page 1 → frame 2, page 2 → frame 9, page 3 → frame 4. What physical address does logical address 5000 map to?

  1. A. 13192
  2. B. 19336
  3. C. 9096
  4. D. 5000

Correct answer: B. 19336

5000 = 2×2048 + 904, so page 2, offset 904. Page 2 is in frame 9, giving 9×2048 + 904 = 19336. Picking frame 6 or frame 4 (wrong row) gives 13192 or 9096.

More Operating Systems questions

Exams that ask this topic