CS FundamentalsHardGATE CS · Product Company SDE

A process has 4 frames, initially empty, and references pages 3 4 2 6 1 1 5 2 1 4 6 4 6 6. How many page faults occur under LRU replacement?

  1. A. 4
  2. B. 10
  3. C. 11
  4. D. 8

Correct answer: D. 8

Trace the frames: FIFO 7, LRU 8, OPT 7. LRU = 8 (every first reference counts as a fault; OPT ≤ LRU/FIFO always).

More Operating Systems questions

Exams that ask this topic