← Quiz: Page Replacement Numericals: all 15 questions
Quiz: Page Replacement Numericals · Question 10 of 15
In the simulator, why does the LRU branch remove a page and append it again on a hit?
In the simulator, why does the LRU branch remove a page and append it again on a hit?
- A.To count the hit as a fault
- B.To make LRU behave like FIFO
- C.To keep the list in order of last use, so the front is always the least recently used page
- D.Because Python lists cannot be searched
Answer & explanation
Correct answer: To keep the list in order of last use, so the front is always the least recently used page
With the list in use order, LRU and FIFO can both evict the front element.
Can you get the rest right without peeking?
Take the timed Quiz: Page Replacement Numericals quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →