CS FundamentalsVery hardAmazon · Microsoft MCQ pattern

Reference string: 5, 0, 3, 8, 1, 6, 2, 9, 4, 7, 0, 3, 8. With 3 frames, initially empty, how many page faults does FIFO replacement cause?

  1. A. 13
  2. B. 11
  3. C. 14
  4. D. 12

Correct answer: A. 13

Walking the string with 3 frames under FIFO (evict the oldest-loaded page) gives 13 faults. LRU on the same string gives 13, and Optimal gives 11 as the guaranteed minimum.

More Operating Systems questions

Exams that ask this topic