CS FundamentalsVery hardGATE CS · TCS Digital

For the reference string 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6 with 4 frames (initially empty), how many more page faults does LRU incur than Optimal?

  1. A. 3
  2. B. 1
  3. C. 2
  4. D. 4

Correct answer: C. 2

LRU gives 10 faults and Optimal gives 8, a difference of 2.

More Operating Systems questions

Exams that ask this topic