CS FundamentalsModerateGATE CS
How many of these statements about virtual memory are correct? 1. A process can have a virtual address space larger than physical memory. 2. With demand paging, a page is loaded only when first referenced. 3. A TLB miss always implies a page fault. 4. Two processes can share a physical frame by mapping it in both page tables.
- A. 4
- B. 2
- C. 1
- D. 3
Correct answer: D. 3
1, 2 and 4 are correct. 3 is false: a TLB miss is resolved by walking the page table, and it becomes a page fault only if the PTE shows the page is not resident.
More Operating Systems questions
- A process accesses an address whose PTE has the valid bit clear. Which TWO situations are both possible, and how does the OS tell them…
- Which feature lets an OS allocate memory for a growing stack only when it is actually touched?
- A system thrashes at 50 processes. Which of these will reduce thrashing? 1. Using local page replacement 2. Adding more physical memory 3…
- Why is pure LRU rarely implemented exactly in hardware, and what is used instead?
- The aging algorithm keeps an 8-bit counter per page; every tick it shifts the counter right by one and puts the page's reference bit into…
- Which is a disadvantage of a very large page size (e.g. 1 GB pages for all memory)?