Gate CS-2014-3 Question Paper With Solutions

Q. 30 A system uses 3 page frames for storing process pages in main memory. It uses the Least Recently Used (LRU) page replacement policy. Assume that all the page frames are initially empty. What is the total number of page faults that will occur while processing the page reference string given below?
4, 7, 6, 1, 7, 6, 1, 2, 7, 2

(A) 4

(B) 5

(C) 6

(D) 7

Answer: (C)

Explanation:

Gate CS-2014-3 Question Paper With Solutions

Learn More:   Gate EC-2008 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here