1 votes 1 votes 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 + – Xylene asked Aug 11, 2017 Xylene 1.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 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 See all 5 5 Comments reply Show 2 previous comments Xylene commented Aug 11, 2017 reply Follow Share If FIFO, then what page will you replace and what will be the answer ? 0 votes 0 votes stblue commented Aug 11, 2017 reply Follow Share 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 votes 0 votes Lakshman Bhaiya commented Mar 3, 2019 reply Follow Share Using Optimal page replacement algorithm 0 votes 0 votes Please log in or register to add a comment.