1 1 vote Operating System operating-system page-replacement + – vaishali jhalani 1.8k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply mcjoshi commented Oct 7, 2016 reply Follow flag Is it (B) ? 0 0 replyShare Shubham Pandey 2 commented Oct 7, 2016 reply Follow flag is it B the most recently used page 0 0 replyShare vaishali jhalani commented Oct 7, 2016 reply Follow flag Yes ....but it could be C also as replacement would be easy in that case. 0 0 replyShare mcjoshi commented Oct 7, 2016 reply Follow flag @vaishali, Question says "LRU" not "LFU". 0 0 replyShare vaishali jhalani commented Oct 7, 2016 reply Follow flag ok.. but if B is right how replacement will be done as top most page will not be popped. 1 1 replyShare Sanket_ commented Oct 7, 2016 reply Follow flag Whenever a page is referenced, it is removed from the stack and put on the top. In this way, the most recently used page is always at the top of the stack and the least recently used page is always at the bottom.Because entries must be removed from the middle of the stack, it is best to implement this approach by using a doubly linked list with a head and tail pointer. 2 2 replyShare Please log in or register to add a comment.
0 0 votes https://gateoverflow.in/87840/ace-operating-system same question Himanshu Kumar Gupta answered May 12, 2020 Himanshu Kumar Gupta comment Share Follow 0 reply Please log in or register to add a comment.