CS FundamentalsHardGATE CS (PYQ pattern)

FIFO page replacement is run on the reference string 3, 4, 2, 6, 1, 3, 4, 6, 7, 1, 1, 5, 3, 4, 7, 2, 1, 7 with an initially empty memory. For which increase in the number of frames does the fault count go UP (Belady's anomaly)?

  1. A. From 4 frames to 5 frames only
  2. B. From 3 frames to 4 frames only
  3. C. From 2 frames to 3 frames only
  4. D. From 3 to 4 and from 4 to 5

Correct answer: A. From 4 frames to 5 frames only

FIFO fault counts for 1..6 frames are [17, 17, 16, 11, 12, 10]; the only rise is from 11 (4 frames) to 12 (5 frames).

More Operating Systems questions

Exams that ask this topic