5 5 votes Determine the number of page faults when references to pages occur in the following order: 1, 2, 4, 5, 2, 1, 2, 4 Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2, with page one having brought earlier than page 2. (LRU page replacement algorithm is used) 3 5 4 None of these Operating System page-replacement page-faults isro2016 operating-system + – habedo007 10.2k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 18 18 votes Hence,Option(C)4 is the correct choice. LeenSharma answered Jul 5, 2016 • selected Jul 5, 2016 by habedo007 LeenSharma comment Share Follow See 1 comment 1 1 comment reply dragonball commented May 1, 2017 reply Follow flag Could u explain in detail ? Why the page reference 2 is above in the first figure ? 0 0 replyShare Please log in or register to add a comment.
1 1 vote Just follow LRU with 3 page frames with initially page ref 1,2 stored .It will gives 4 page faults. Hence,(C) 4 is correct. Warrior answered May 3, 2017 Warrior comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Option:C (4) Shagun Singh answered Sep 4, 2019 Shagun Singh comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes number of page fault=4 C.4 Shreyshi Pandey answered Oct 23, 2019 Shreyshi Pandey comment Share Follow 0 reply Please log in or register to add a comment.