CS FundamentalsModerateTCS NQT · Infosys pattern

Page size is 1 KB. The page table maps page 0 → frame 3, page 1 → frame 7, page 2 → frame 5, page 3 → frame 2. What physical address corresponds to logical address 2500?

  1. A. 2500
  2. B. 5120
  3. C. 5572
  4. D. 7620

Correct answer: C. 5572

Page = ⌊2500/1024⌋ = 2, offset = 2500 − 2048 = 452. Page 2 → frame 5, so physical = 5 × 1024 + 452 = 5572. 5120 forgets the offset.

More Operating Systems questions

Exams that ask this topic