Computer Science EngineeringVery hardISRO SC

A process with 3 initially empty frames references pages 5, 3, 5, 3, 6, 0, 5, 2, 1, 3, 5, 5, 1, 3, 6, 3, 3, 4, 4, 4. Under optimal (Belady) replacement, the number of page faults is

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

Correct answer: D. 8

Simulate the frames reference by reference, counting each miss (cold misses included); optimal (Belady) gives 8 faults over 20 references.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic