Question 63Asked in DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3

Consider a main memory with the capacity of 4 page frames which are initially empty. If the page reference string is 1, 3, 4, 4, 3, 2, 1, 7, 5, 6 then what…

Consider a main memory with the capacity of 4 page frames which are initially empty. If the page reference string is 1, 3, 4, 4, 3, 2, 1, 7, 5, 6 then what is the number of page fault using FIFO page replacement algorithm?
  1. A6
  2. B7
  3. C8
  4. D9
Show answerHide answer

Correct answer: (B) 7

Explanation

1, 3, 4 fault (3); 4 and 3 hit; 2 fault (4); 1 hit; 7 fault (5) replacing 1; 5 fault (6) replacing 3; 6 fault (7) replacing 4. Total 7 page faults.

From DSSSB TGT Computer Science PYQ (Technical), 1 Aug 2021, Shift 3

This is question 63 of DSSSB TGT Computer Science PYQ (Technical), 1 Aug 2021, Shift 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.