CS FundamentalsModerateCapgemini · Cognizant GenC

How many page faults occur under FIFO replacement with 3 frames (initially empty) for the reference string 2, 3, 2, 1, 5, 2, 4, 5, 3, 2, 5, 2?

  1. A. 5
  2. B. 7
  3. C. 9
  4. D. 8

Correct answer: C. 9

Simulating FIFO with 3 frames, the faults occur on the references to pages 2, 3, 1, 5, 2, 4, 3, 5, 2: 9 faults in all.

More Operating Systems questions

Exams that ask this topic