Consider the memory reference string given below, for a memory with 3 frames per process.
Consider the memory reference string given below, for a memory with 3 frames per process.
7, 0, 1, 2, 0, 3, 0, 4, 2, 3
The number of page faults for FIFO page replacement policy are ______.
Show answerHide answer
Correct answer: (C) Nine
Explanation
With FIFO and 3 frames: 7, 0, 1, 2 are faults (4 so far), 0 is a hit, then 3, 0, 4, 2, 3 are all faults. That gives 9 page faults.