Replacements policies for different pages is required when.
A
There is no unused page frames in main memory
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Allocation of new incoming item
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Both (1) and (2)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C Both (1) and (2) Replacement policies for different pages is required when there is no unused page frames in main memory and allocation of new item. 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. A page replacement algorithms looks at the limited information about accesses to the pages provided by hardware, and tries to guess which pages should be replaced to minimize the total number of pages misses.