🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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 →
  1. Q1. Which page replacement algorithm gives the minimum number of page faults?
  2. Q2. Belady's anomaly can occur with which algorithm?
  3. Q3. With 3 empty frames and the reference string 1, 2, 3, how many page faults occur?
  4. Q4. What is thrashing?
  5. Q5. LRU replaces the page that:
  6. Q6. What does the OS do right after it has loaded the missing page into a frame during a page fault?
  7. Q7. With 3 frames and the reference string 1, 2, 3, 1, 4, 2, how many page faults does LRU cause?
  8. Q8. What does this print? (code)
  9. Q9. Which is the best fix for thrashing?
  10. Q10. Why is Optimal page replacement not used in real operating systems?