Question: Suppose the physical memory has four page frames and they are occupied by four pages ( 0 - 3 ) . The following table shows
Suppose the physical memory has four page frames and they are occupied by four pages The following table
shows the timestamp when each page is loaded to the frame ie the "Loaded" column the timestamp when each
page is last referenced ie the "Last Ref." column the recently referenced bit in the corresponding page table
entry.
Suppose a page fault happens and the system needs to replace a page.
a If the system uses FirstInFirstOut FIFO algorithm, which page is replaced?
b If the system uses LeastRecentlyUsed LRU algorithm, which page is replaced?
c If the system uses Clock algorithm, and the pages are organized in a circular list of
the clock hand currently points to page which page is replaced?
d If the system uses Clock algorithm, and the pages are organized in a circular list of
the clock hand currently points to page which page is replaced?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
