All Exams Test series for 1 year @ ₹349 only
Question

Which of the following page replacement algorithms can exhibit Belady’s Anomaly ?

This question was previously asked in
UPSSSC Lower PCS 2026 Question Paper (23-Aug-2026)
The correct answer is

First-In, First-Out (FIFO)

Belady's Anomaly is the counter-intuitive situation in which giving a process more page frames actually produces more page faults. It appears only in FIFO page replacement.

The reason lies in what FIFO uses to choose a victim. FIFO evicts whichever page arrived earliest, which has nothing to do with whether that page is about to be needed again. Because the set of pages FIFO keeps with three frames is not guaranteed to be a subset of what it keeps with four, adding a frame can change the eviction order for the worse. The classic reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 gives nine faults with three frames but ten with four.

The other algorithms are immune because they are stack algorithms: the pages held with \(n\) frames are always a subset of those held with \(n+1\) frames, so faults can never increase when frames are added. LRU chooses by least recent use, MRU by most recent use, and OPT by the furthest future reference.

Hence, the answer is First-In, First-Out (FIFO).

Was this answer helpful?

Important Questions from Operating Systems

  1. A collection of software that manages computer hardware resources and provides common services for computer programs is

  2. In the context of computers, what is Ubuntu?

  3. The smallest unit of memory in a computer is
  4. Match the columns.

    List-I

    List-II

    (a)

    Linux user interface

    i.

    Row of buttons, often near the top of an application window that control software functions

    (b)

    Word processing
    software

    ii.

    GNOME

    (c)

    Icon

    iii.

    MS-Word

    (d)

    Toolbar

    iv.

    Small graphical representation of a
    program, features or file

  5. Inner most layer of operating system which is always present in main memory is known as ______.

Need Expert Advice?
Test Series
UPSSSC Exams img
State Exams
UPSSSC ASO 2026 Mock Test Series
25 Tests 4 Tests Free
665 Attempts
4.9(20)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App