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?
- A. LRU
- B. Optimal (OPT)
- C. Both LRU and Optimal
- 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.
हिंदी में
कौन-सा पेज-प्रतिस्थापन एल्गोरिदम बेलैडी की विसंगति से ग्रस्त हो सकता है, जिसमें किसी प्रक्रिया को अधिक फ़्रेम देने पर अधिक पेज फ़ॉल्ट होते हैं?
- A. LRU
- B. ऑप्टिमल (OPT)
- C. LRU और ऑप्टिमल दोनों
- D. FIFO
उत्तर: D. FIFO स्टैक एल्गोरिदम नहीं है, इसलिए बड़ी मेमोरी में वे पेज होना आवश्यक नहीं जो छोटी में थे, और फ़ॉल्ट बढ़ सकते हैं। LRU और ऑप्टिमल स्टैक एल्गोरिदम हैं और कभी यह विसंगति नहीं दिखाते।
More Computer Awareness questions
- A process has 3 page frames, all empty at first, and refers to pages 7, 0, 1, 2, 0, 3, 0, 4, 2, 3. How many page faults occur under the…
- A system has 12 tape drives. P0 holds 5 (maximum need 10), P1 holds 2 (maximum 4) and P2 holds 2 (maximum 9). Under the Banker's…
- Four processes share identical units of one resource, and each may need up to 3 units at once. What is the least number of units that…
- A counting semaphore starts at 7. Then 20 wait (P) operations and 15 signal (V) operations are performed on it. What is its final value?
- Which of these is NOT one of the three requirements a correct critical-section solution must meet?
- How does a microkernel operating system differ from a monolithic one?