Computer AwarenessHardIBPS SO IT Officer

Which page-replacement algorithm can suffer from Belady's anomaly, where giving a process MORE frames produces MORE page faults?

  1. A. LRU
  2. B. Optimal (OPT)
  3. C. Both LRU and Optimal
  4. D. FIFO

Correct answer: D. FIFO

FIFO is not a stack algorithm, so a larger memory need not contain the pages a smaller one holds, and faults can rise. LRU and Optimal are stack algorithms and never show the anomaly.

हिंदी में

कौन-सा पेज-प्रतिस्थापन एल्गोरिदम बेलैडी की विसंगति से ग्रस्त हो सकता है, जिसमें किसी प्रक्रिया को अधिक फ़्रेम देने पर अधिक पेज फ़ॉल्ट होते हैं?

  1. A. LRU
  2. B. ऑप्टिमल (OPT)
  3. C. LRU और ऑप्टिमल दोनों
  4. D. FIFO

उत्तर: D. FIFO स्टैक एल्गोरिदम नहीं है, इसलिए बड़ी मेमोरी में वे पेज होना आवश्यक नहीं जो छोटी में थे, और फ़ॉल्ट बढ़ सकते हैं। LRU और ऑप्टिमल स्टैक एल्गोरिदम हैं और कभी यह विसंगति नहीं दिखाते।

More Computer Awareness questions

Exams that ask this topic