Multiple choice

Which of the following replacement algorithms removes the block that has been in the cache for the longest time?

  1. Direct memory access

  2. Least recently used algorithm

  3. First-in first-out replacement algorithm

  4. Random replacement algorithm

  5. Interrupt-controlled I/O

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This replacement algorithm removes the block that has been in the cache for the longest time.