ISRO Computer Science (CSE) 2014 - Question 18

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2014

Consider the following segment table in segmentation scheme:\n| Segment Id | Base | Limit |\n|---|---|---|\n| 0 | 200 | 200 |\n| 1 | 5000 | 1210 |\n| 2 | 1527 | 498 |\n| 3 | 2500 | 50 |\nWhat happens if the logical address requested is segment ID 2 and offset 1000?

  • A. Fetches the entry at the physical address 2527 for segment Id 2
  • B. A trap is generated
  • C. Deadlock
  • D. Fetches the entry at offset 27 in segment Id 3

Answer: B. A trap is generated

Explanation: For Segment 2, the Limit is 498. The requested offset is 1000. Since $1000 > 498$, it is an invalid access (Trap).

| | All questions of ISRO Computer Science (CSE) 2014