Bird
Raised Fist0

In a segmentation system, if a virtual address is given as segment number 3 and offset 1000, which of the following best describes the address translation process?

medium🧠🧾 Concept Trace Q4 of Q15
Operating Systems - Paging vs Segmentation - Address Translation
In a segmentation system, if a virtual address is given as segment number 3 and offset 1000, which of the following best describes the address translation process?
AUse offset 1000 to index segment table, then add segment number 3 to base address
BUse segment number 3 to find segment base address, add offset 1000 to base to get physical address
CCombine segment number and offset directly as physical address without translation
DUse segment number 3 as page number and offset 1000 as page offset in page table
Step-by-Step Solution
Solution:
  1. Step 1: Identify segmentation translation

    Segment number indexes segment table to get base address.
  2. Step 2: Add offset to base

    Physical address = base + offset.
  3. Step 3: Evaluate options

    Use offset 1000 to index segment table, then add segment number 3 to base address incorrectly uses offset to index segment table. Combine segment number and offset directly as physical address without translation ignores translation. Use segment number 3 as page number and offset 1000 as page offset in page table confuses segmentation with paging.
  4. Final Answer:

    Option B -> Option B
  5. Quick Check:

    Segment number indexes segment table; offset added -> correct [OK]
Quick Trick: Segment number indexes table; offset added to base [OK]
Common Mistakes:
MISTAKES
  • Using offset as index into segment table
  • Confusing segmentation with paging address format
Trap Explanation:
PITFALL
  • Candidates often confuse roles of segment number and offset, leading to wrong indexing or skipping translation.
Interviewer Note:
CONTEXT
  • Checks detailed understanding of segmentation address translation
Master "Paging vs Segmentation - Address Translation" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes