The sequence of steps for a page replacement algorithm will be:
A. find a frame that is not currently being used
B. change the page table
C. use freed frame
D. no frame is free
E. free a frame
🎥 Video solution / Text Solution of this question is given below:
Steps in page replacement:
No frame is free → D
Find a frame to replace → A
Free that frame → E
Update the page table → B
Use the freed frame for the new page → C