1 1 vote Consider page references, 1,2,3,5,2,3,4 and number of frames = 3. In the end will the frame contain 4,2,3 or 5,4,3 ? Operating System operating-system page-replacement optimal-page-replacement + – Xylene 1.6k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
2 2 votes at the end it's your wish 4 can replace either of 5, 2 or 3. Manu Thakur answered Aug 11, 2017 Manu Thakur comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments Xylene commented Aug 11, 2017 reply Follow flag If FIFO, then what page will you replace and what will be the answer ? 0 0 replyShare stblue commented Aug 11, 2017 reply Follow flag It doesnot matter much, which algo you use to replace last page, as mention by @manu00x, you can replace anyone of 5,2,3 with 4, since optimal will look for which page is not going to use in near future, in our case none of 3 page is going to use in near future, in exam simply look at the options you will get your answer. 0 0 replyShare Lakshman Bhaiya commented Mar 3, 2019 reply Follow flag Using Optimal page replacement algorithm 0 0 replyShare Please log in or register to add a comment.