Question

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

Option 3 : 3

Advertisement

Detailed Solution

सही उत्तर 3 है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

For the reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 with 3 page frames, how many MORE page faults does the LRU algorithm incur than the optimal (OPT) replacement algorithm? / संदर्भ स्ट्रिंग 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 के लिए 3 पेज फ्रेम के साथ, LRU एल्गोरिद्म optimal (OPT) प्रतिस्थापन एल्गोरिद्म की तुलना में कितने अधिक पेज फॉल्ट करता है?

1.
2
2.
5
3.
3
4.
6

Correct Answer: 3

Simulating gives LRU = 12 faults and OPT = 9 faults, so LRU incurs 12 - 9 = 3 more page faults. / सिमुलेशन से LRU = 12 फॉल्ट और OPT = 9 फॉल्ट मिलते हैं, अतः LRU 12 - 9 = 3 अधिक पेज फॉल्ट करता है।

Downloaded from PrepSnap (prepsnap.in)