Operating Systems · Question 19 · Easy

Belady's anomaly, where giving a process more page frames can increase its page faults, can occur with which algorithm?

  1. FIFO
  2. LRU
  3. Optimal
  4. None; more frames always reduce page faults
Answer and explanation

Answer: A. FIFO

Explanation: FIFO is not a stack algorithm, so its set of resident pages with n frames is not always a subset of the set with n + 1 frames. LRU and Optimal are stack algorithms and never show the anomaly.

Previous: Which page-replacement algorithm gives the lowest possible number of page… · Next: In UNIX and Linux, which system call creates a new process that is a copy of…

Practise operating systems

Try a fresh set of operating systems questions with an explanation after every answer, free and without signing up: Operating Systems practice. Or sit a full placement mock test.

More operating systems questions

More technical & programming practice

Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge