2 2 votes A.11 B.12 C.13 D.14 Couldn't visualize how counter is assigned and how page is exactly replaced based on counter.Visual representation would be helpful rather than just ans! Operating System page-faults operating-system page-replacement + – Prajwal Bhat 1.7k views answer comment Share Follow Print See all 8 Comments 8 8 Comments reply Pavan Kumar Munnam commented Dec 27, 2016 reply Follow flag is answer 12? 0 0 replyShare Prajwal Bhat commented Dec 27, 2016 reply Follow flag No,given as 14 0 0 replyShare Turning Turing commented Dec 27, 2016 reply Follow flag what will happen when all the page frames have the same counter value initially 0 0 replyShare sudsho commented Dec 27, 2016 reply Follow flag whatever way m trying answer is coming out to be 13 only? 0 0 replyShare sudsho commented Dec 27, 2016 reply Follow flag we can do it in 2 ways...first assign each frame a counter and increment it each time we get a request...in this way we'll get 13 pagefaults but here i haven't considered the fact of decrementing the counter... if we decrement also,each time a page is not referred for that frame..then it will eventually turn out to be FIFO only..so again 13 page faults.. 2 2 replyShare balagangadhar12 commented Jan 1, 2017 reply Follow flag correct answer would be 15 page faults 0 0 replyShare sudsho commented Jan 1, 2017 reply Follow flag i know how u reached 15...but then whats the use of this question and implementing a counter..simply do FIFO..u'll get even less page faults; 0 0 replyShare balagangadhar12 commented Jan 1, 2017 reply Follow flag if you do optimal replacement you will get even less page faults. but the question is to find out what is the answer according to the given algorithm. so just confine yourself to the question. why thinking too much? 0 0 replyShare Please log in or register to add a comment.