wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The page replacement policy that some times leads to more page faults when the size of the memory is increased, is

A
FIFO
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
LRU
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
MRU
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Optimal
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A FIFO

The page replacement policy that sometimes leads to more page faults when the size of the memory is increased, is FIFO.

Page replacement algorithm:-

In an operating systems that use paging for memory management, page replacement algorithm are needed to decide which page needed to be replaced when new page comes in. Whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces one of the existing pages with newly needed page. Different page replacement algorithms suggest different ways to decide which page to replace. The target for all algorithms is to reduce number of page faults.

Page Fault – A page fault is a type of interrupt, raised by the hardware when a running program accesses a memory page that is mapped into the virtual address space, but not loaded in physical memory.

First In First Out (FIFO) –
This is the simplest page replacement algorithm. In this algorithm, operating system keeps track of all pages in the memory in a queue, oldest page is in the front of the queue. When a page needs to be replaced page in the front of the queue is selected for removal.



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