A system uses 1 KB pages and byte-addressable memory. What are the page number and offset for logical address 2500, assuming zero-based addressing?

Options

  • A. Page 1, offset 476
  • B. Page 2, offset 452
  • C. Page 2, offset 500
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Page 2, offset 452

Detailed Explanation

Correct Answer: Page 2, offset 452.

Explanation: A 1 KB page contains 1024 bytes.
Page number: floor(2500 / 1024) = 2.
Offset: 2500 mod 1024 = 452.
Therefore, the logical address belongs to page 2 at offset 452.