Which of the following page replacement algorithm(s) does not suffer from…

2024

Which of the following page replacement algorithm(s) does not suffer from Belady's anomaly in Operating System? I. Least-Recently Used (LRU) page replacement. II. First-In, First-Out (FIFO) page replacement.

  1. A.

    Only I

  2. B.

    Neither I nor II

  3. C.

    Only II

  4. D.

    Both I and II

Attempted by 125 students.

Show answer & explanation

Correct answer: A

LRU page replacement is a stack algorithm and does not suffer from Belady's anomaly. FIFO can suffer from Belady's anomaly, so only statement I is correct.

Explore the full course: Up Lt Grade Assistant Teacher 2025