← All topics
Quiz: Virtual Memory: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. Which page replacement algorithm gives the minimum number of page faults?
- Q2. Belady's anomaly can occur with which algorithm?
- Q3. With 3 empty frames and the reference string 1, 2, 3, how many page faults occur?
- Q4. What is thrashing?
- Q5. LRU replaces the page that:
- Q6. What does the OS do right after it has loaded the missing page into a frame during a page fault?
- Q7. With 3 frames and the reference string 1, 2, 3, 1, 4, 2, how many page faults does LRU cause?
- Q8. What does this print? (code)
- Q9. Which is the best fix for thrashing?
- Q10. Why is Optimal page replacement not used in real operating systems?