CS FundamentalsHardGATE
A process uses paging with a page size of 1024 bytes (1 KB). Virtual address 136656 (decimal, byte address) maps to page number 133 with offset 464, and the page table entry for page 133 holds frame number 22. What is the resulting physical address?
- A. 24016
- B. 22992
- C. 22661
- D. 136656
Correct answer: B. 22992
Physical address = frame number × page size + offset = 22 × 1024 + 464 = 22992. Using the page number instead of the frame number (136656), or adding the page number as if it were part of the offset (22661), are the classic mix-ups here.
More Operating Systems questions
- A process uses paging with a page size of 2048 bytes (2 KB). Virtual address 83545 (decimal, byte address) maps to page number 40 with…
- A process uses paging with a page size of 4096 bytes (4 KB). Virtual address 269026 (decimal, byte address) maps to page number 65 with…
- 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…
- A process uses paging with a page size of 2048 bytes (2 KB). Virtual address 210932 (decimal, byte address) maps to page number 102 with…
- A process uses paging with a page size of 4096 bytes (4 KB). Virtual address 153725 (decimal, byte address) maps to page number 37 with…
- 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…