CS FundamentalsModerateGATE CS · TCS NQT

A segment table has: segment 0 base 1200, limit 500; segment 1 base 3000, limit 150; segment 2 base 800, limit 300. Which logical address (segment, offset) maps to a valid physical address, and what is it?

  1. A. (1, 160) → 3160
  2. B. (0, 500) → 1700
  3. C. (2, 299) → 1099
  4. D. (2, 300) → 1100

Correct answer: C. (2, 299) → 1099

An offset is legal only if it is less than the limit. (2, 299) gives 800 + 299 = 1099. (1, 160) and (0, 500) and (2, 300) all reach or pass the limit, so they trap.

More Operating Systems questions

Exams that ask this topic