Question 54

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 ______.
  1. ATen
  2. BSeven
  3. CNine
  4. DEight
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.

From DSSSB TGT Computer Science Practice Set 3

This is question 54 of DSSSB TGT Computer Science Practice Set 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.