Suppose that the $\text{WSClock}$ page replacement algorithm uses a $\tau$ of two ticks, and the system state is the following:
where the three flag bits $V, R,$ and $M$ stand for Valid, Referenced, and Modified, respectively.
- If a clock interrupt occurs at tick $10,$ show the contents of the new table entries. Explain. (You can omit entries that are unchanged.)
- Suppose that instead of a clock interrupt, a page fault occurs at tick $10$ due to a read request to page $4.$ Show the contents of the new table entries. Explain. (You can omit entries that are unchanged.)