CS FundamentalsVery hardHCLTech · Infosys placement pattern

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

  1. A. 79723
  2. B. 42859
  3. C. 41835
  4. D. 41037

Correct answer: C. 41835

Physical address = frame number × page size + offset = 40 × 1024 + 875 = 41835. Using the page number instead of the frame number (79723), or adding the page number as if it were part of the offset (41037), are the classic mix-ups here.

More Operating Systems questions

Exams that ask this topic