CS FundamentalsHardGATE CS

Belady's anomaly is observed for FIFO with reference string R. Which statement is necessarily true?

  1. A. LRU on R also shows the anomaly
  2. B. The anomaly appears for every reference string under FIFO
  3. C. For R, FIFO with some frame count n + 1 causes more faults than with n frames, while LRU on R never does
  4. D. OPT with n + 1 frames causes more faults than with n frames on R

Correct answer: C. For R, FIFO with some frame count n + 1 causes more faults than with n frames, while LRU on R never does

The anomaly is string-dependent and specific to non-stack algorithms like FIFO. LRU and OPT are stack algorithms, so their fault count never increases with more frames.

More Operating Systems questions

Exams that ask this topic