CS FundamentalsHardGATE CS · Product Company SDE

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

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

Correct answer: A. 6

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

More Operating Systems questions

Exams that ask this topic