CS FundamentalsModerateWipro Elite · LTIMindtree

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

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

Correct answer: B. 9

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

More Operating Systems questions

Exams that ask this topic