UGC-NET | UGC NET CS 2018 July – II | Question 58

Consider a virtual page reference string 1, 2, 3, 2, 4, 2, 5, 2, 3, 4. Suppose LRU page replacement algorithm is implemented with 3 page frames in main memory. Then the number of page faults are_________.
(A) 5
(B) 7
(C) 9
(D) 10


Answer: (B)

Explanation: Page replacement diagram for LRU:

So, option (B) is correct.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.