CS FundamentalsVery hardProduct-company MCQ pattern
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 offset 2173, and the page table entry for page 37 holds frame number 28. What is the resulting physical address?
- A. 116861
- B. 114725
- C. 153725
- D. 120957
Correct answer: A. 116861
Physical address = frame number × page size + offset = 28 × 4096 + 2173 = 116861. Using the page number instead of the frame number (153725), or adding the page number as if it were part of the offset (114725), are the classic mix-ups here.
More Operating Systems questions
- 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…
- A system increases its degree of multiprogramming to improve CPU utilisation, but utilisation instead drops sharply as more processes are…
- A TLB has a hit ratio of 90%. A TLB access takes 10 ns and a main-memory access takes 100 ns. On a TLB hit, the data is fetched directly…
- A TLB has a hit ratio of 80%. TLB lookup takes 20 ns; a memory access (for the page table on a miss, or for data) takes 100 ns each. On a…
- Segmentation divides a process's address space into logical units (code, stack, heap) of varying size, unlike paging's fixed-size frames…
- In a segmentation scheme with segment table entries (base, limit), a process issues a logical address (segment 2, offset 5000). The…