Related Articles

Related Articles

QA – Placement Quizzes | SP Contest 2 | Question 6
  • Last Updated : 18 Jul, 2018

Consider the following page reference string:

4, 3, 2, 1, 2, 1,  5, 6, 1,  2,  7, 6, 3, 1, 4, 2

Which of the following options, gives the correct number of page faults related to LRU page replacement algorithms with 04 page frame and if there is an increment in page frame i.e. 05 page frame then what will be the correct number of page faults, assuming all frames are initially empty?

(A) 10 and 10
(B) 11 and 10
(C) 10 and 11
(D) 11 and 11


Answer: (B)

Explanation: Least recently used (LRU) page replacement algorithm with 4 page frames:

Total number of page faults = 11



Least recently used (LRU) page replacement algorithm with 5 page frames:

Total number of page faults = 10

Therefore, option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :