CS FundamentalsHardGATE CS

A 32-bit system uses segmentation with paging. A logical address is (segment s, offset d) with d of 32 bits; within a segment, d is split into a 20-bit page number and a 12-bit offset. Segment 2's page table maps page 3 to frame 0x1A. What physical address does (2, 0x00003ABC) give?

  1. A. 0x0003ABC
  2. B. 0x0001AABC
  3. C. 0x001AABC0
  4. D. 0x0001A3BC

Correct answer: B. 0x0001AABC

0x00003ABC splits into page 0x00003 and offset 0xABC. Page 3 of segment 2 is in frame 0x1A, so the physical address is 0x1A × 0x1000 + 0xABC = 0x1AABC, written 0x0001AABC.

More Operating Systems questions

Exams that ask this topic