Question:
The Banker’s Algorithm in an operating system is primarily used for:
ऑपरेटिंग सिस्टम में बैंकर्स एल्गोरिदम (Banker’s Algorithm) का उपयोग मुख्य रूप से किस उद्देश्य के लिए किया जाता है?
Options:
- Deadlock Avoidance
- Deadlock Prevention
- Deadlock Detection
- Process Synchronization
- डेडलॉक से बचाव (Deadlock Avoidance)
- डेडलॉक रोकथाम (Deadlock Prevention)
- डेडलॉक पहचान (Deadlock Detection)
- प्रोसेस सिंक्रोनाइज़ेशन
Correct Answer: a)
Explanation:
The Banker’s algorithm is a resource allocation and deadlock avoidance algorithm that tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources (Option a).
बैंकर्स एल्गोरिदम का उपयोग सिस्टम को हमेशा सुरक्षित स्थिति (Safe State) में बनाए रखकर Deadlock Avoidance के लिए किया जाता है (विकल्प a)।