CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
4
You visited us 4 times! Enjoying our articles? Unlock Full Access!
Question

In page replacement

A
If no frame is free, then find one that is not currently being used is freed
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Frame be free by writing contents to swap space and changing the page table to indicate that the page is no longer in memory
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
The free frame can now be used to hold the page for which the process faulted
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
All of the above
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D All of the above

Page replacement:-

In a computer operating system that uses paging for virtual memory management, page replacement algorithms decide which memory pages to page out, sometimes called swap out, or write to disk, when a page of memory needs to be allocated.

If there is a free frame, use it. If there is no free frame, use a page-replacement algorithm to select any existing frame to be replaced, such frame is known as victim frame.

Frame is free by writing contents to swap space and changing the page table to indicate that the page is no longer in memory.

The free frame can now be used to hold the page for which the process faulted.



flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Undersubscription
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon