Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 1 : 9 / 9

Advertisement

Detailed Solution

सही उत्तर 9 / 9 है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

For the reference string 1,2,3,4,1,2,5,1,2,3,4,5 with 3 frames, how many page faults occur under FIFO replacement? / संदर्भ स्ट्रिंग 1,2,3,4,1,2,5,1,2,3,4,5 और 3 फ्रेम के साथ FIFO प्रतिस्थापन में कितने पेज फ़ॉल्ट होंगे?

1.
9 / 9
2.
10 / 10
3.
12 / 12
4.
8 / 8

Correct Answer: 9 / 9

Faults occur on references 1, 2, 3, 4, 1, 2, 5, 3 and 4 — nine in total; LRU on the same string would fault ten times. / संदर्भ 1, 2, 3, 4, 1, 2, 5, 3 और 4 पर फ़ॉल्ट होते हैं — कुल नौ; समान स्ट्रिंग पर LRU दस बार फ़ॉल्ट करेगा।

Downloaded from PrepSnap (prepsnap.in)