Addresses & memory
Paging Address Translation
Split an address and see how a page table changes the frame while preserving the offset.
01 · Predict first
If the logical address stays the same but the frame changes, does the offset change?
02 · Try the experiment
- Open the lab and choose “Try the lab”. Keep “Logical address A” at 0x2C7D and “Page size S” at 4096.
- Inspect the address split and page table: page 2, offset 3197 (0xC7D); page 2 initially maps to frame 6.
- Check the physical address 0x6C7D. Then change page 2’s frame number to 5 and inspect the result.
In the lab, open Learn → Return to this route to come back to this check. Your browser’s Back button also works.
6 × 4096 + 3197 = 27773 = 0x6C7D. Changing the frame changes its base address.
The address of a page-table entry is not the final physical address. This task uses basic paging.
03 · Check your understanding
See the answer and explanation
B · 0x5C7D
The offset remains 0xC7D. Physical address = 5 × 4096 + 3197 = 23677 = 0x5C7D. Neither the original logical address nor the frame base alone is the result.