Second chance page replacement policy: Each page maintains a reference bit. Pages are checked in FIFO order, if the page encountered has a set bit, it is cleared and the page is placed at the end and the next page is checked. If the page encountered has unset reference bit, then it is taken out for replacement. Below is the illustration (Note that pages are being checked in FIFO order and not from top to bottom).
Question 166: If the next access is made for page ‘1’ then ‘2’, which page(s) will be replaced?
Options:
- 3, None
- 3, 4
- 2, 3
- 2, 4
Solution: First, 4 will be given a second chance, and 2 will be replaced for 1. Then when 2 comes next, 4 will be replaced. The correct answer is the last one.

