Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
533 views
in Computer by (114k points)
closed by
In which one of the following page replacement policies, Belady's anomaly may occur?
1. FIFO
2. Optimal
3. LRU
4. MRU

1 Answer

0 votes
by (115k points)
selected by
 
Best answer
Correct Answer - Option 1 : FIFO

Belady's anomaly may occur in FIFO

  • A page fault occurs when a page is not found in the memory and needs to be loaded from the disk. If a page fault occurs and all memory frames have been already allocated, then the replacement of a page in memory is required at the request of a new page. This is referred to as demand-paging.
  • The choice of which page to replace is specified by a page replacement algorithm. The commonly used page replacement algorithms are FIFO, LRU, optimal page replacement algorithms, etc.
  • Generally, on increasing the number of frames to a process’s virtual memory, its execution becomes faster as less number of page faults occur. Sometimes the reverse happens, that is, more numbers of page faults occur when more frames are allocated to a process. This most unexpected result is termed as Belady’s Anomaly.
  • FIFO and random replacement algorithms suffer from Belady’s Anomaly. 

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...