Question

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

Option 3 : Deadlock avoidance / डेडलॉक परिवर्जन (avoidance)

Advertisement

Detailed Solution

सही उत्तर Deadlock avoidance / डेडलॉक परिवर्जन (avoidance) है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

The Banker's algorithm is an example of: / बैंकर एल्गोरिदम किसका उदाहरण है?

1.
Deadlock prevention / डेडलॉक निवारण (prevention)
2.
Deadlock detection and recovery / डेडलॉक संसूचन एवं पुनर्प्राप्ति
3.
Deadlock avoidance / डेडलॉक परिवर्जन (avoidance)
4.
Deadlock ignorance (the ostrich algorithm) / डेडलॉक उपेक्षा (ऑस्ट्रिच एल्गोरिदम)

Correct Answer: Deadlock avoidance / डेडलॉक परिवर्जन (avoidance)

The Banker's algorithm is the classic deadlock-avoidance scheme: before granting each resource request it simulates allocation and grants it only if the resulting state is safe. Prevention instead negates one of the four conditions structurally; detection lets deadlock occur and then recovers. / बैंकर एल्गोरिदम क्लासिक डेडलॉक-परिवर्जन योजना है: प्रत्येक संसाधन अनुरोध देने से पूर्व यह आवंटन का अनुकरण करता है और केवल तभी देता है जब परिणामी अवस्था सुरक्षित हो। निवारण (prevention) चार शर्तों में से एक को संरचनात्मक रूप से नकारता है; संसूचन डेडलॉक होने देता है फिर पुनर्प्राप्ति करता है।

Downloaded from PrepSnap (prepsnap.in)