GATE CS 2017, set 1 · Question 40 · Operating System · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Recall that Belady's anomaly is that the page-fault rate may increase as the number of allocated frames increases. Now, consider the following statements:
S1: Random page replacement algorithm (where a page chosen at random is replaced) suffers from Belady's anomaly
S2: LRU page replacement algorithm suffers from Belady's anomaly
Which of the following is CORRECT?

  1. (A) S1 is true, S2 is true
  2. (B) S1 is true, S2 is false
  3. (C) S1 is false, S2 is true
  4. (D) S1 is false, S2 is false
Answer

Answer (B)

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes