ITPEC FE Subject A April 2025 Question 13

Topic: Software

The relation between virtual address and physical address is shown below. Each virtual page and page frame starts at a multiple of 4096 and ends 4095 addresses higher. Virtual address space 4K-8K corresponds to 4096-8191 and 8K to 12K corresponds to 8192-12287. Which of the following is the physical address corresponding to the virtual address numbered 8300?

Virtualaddress60K-64KX56K-60KX52K-56KX48K-52KX44K-48K740K-44KX36K-40K532K-36KX28K-32KX24K-28KX20K-24K316K-20K412K-16K08K-12K64K-8K10K-4K2Physicaladdress28K-32K24K-28K20K-24K16K-20K12K-16K8K-12K4K-8K0K-4KVirtual pagePage frame

Explanation

24684 — find the virtual page, map it to its page frame, and keep the offset.

  • •Page size: 4K = 4096
  • •Virtual address 8300 lies in the page 8K–12K (8192–12287), which maps to page frame 6
  • •Offset within the page: 8300 − 8192 = 108
  • •Page frame 6 is 24K–28K and starts at 6 × 4096 = 24576
  • •Physical address: 24576 + 108 = 24684

Answer (d)

Why not others:

  • •(a) 8192 — the start of the virtual page 8K–12K, with neither translation nor offset
  • •(b) 8300 — the virtual address itself, as if no translation took place
  • •(c) 24576 — the start of page frame 6, forgetting to add the offset 108

Key rule: Paging replaces only the page number; the offset within the page carries over unchanged, so the physical address is the frame's start plus the offset.

Software · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.