CS FundamentalsHardTCS NQT · Infosys pattern

A process uses paging with a page size of 1024 bytes (1 KB). Virtual address 19718 (decimal, byte address) maps to page number 19 with offset 262, and the page table entry for page 19 holds frame number 61. What is the resulting physical address?

  1. A. 62483
  2. B. 19718
  3. C. 63750
  4. D. 62726

Correct answer: D. 62726

Physical address = frame number × page size + offset = 61 × 1024 + 262 = 62726. Using the page number instead of the frame number (19718), or adding the page number as if it were part of the offset (62483), are the classic mix-ups here.

More Operating Systems questions

Exams that ask this topic