Question:
Which of the following conditions is NOT a necessary condition for a deadlock to occur in an operating system?
ऑपरेटिंग सिस्टम में डेडलॉक (गतिरोध) उत्पन्न होने के लिए निम्नलिखित में से कौन सी एक आवश्यक शर्त नहीं है?
Options:
- Preemption of resources allowed
- Mutual Exclusion
- Hold and Wait
- Circular Wait
- संसाधनों की प्रीएम्प्शन की अनुमति होना (Preemption allowed)
- पारस्परिक अपवर्जन (Mutual Exclusion)
- होल्ड एंड वेट (Hold and Wait)
- चक्रीय प्रतीक्षा (Circular Wait)
Correct Answer: a)
Explanation:
Coffman’s four necessary conditions for deadlock are:
1. Mutual Exclusion
2. Hold and Wait
3. No Preemption (resources cannot be preempted forcibly)
4. Circular Wait.
Therefore, ‘Preemption of resources allowed’ prevents deadlock and is NOT a condition for deadlock.
1. Mutual Exclusion
2. Hold and Wait
3. No Preemption (resources cannot be preempted forcibly)
4. Circular Wait.
Therefore, ‘Preemption of resources allowed’ prevents deadlock and is NOT a condition for deadlock.
कॉफमैन की चार आवश्यक शर्तें हैं: Mutual Exclusion, Hold and Wait, No Preemption, और Circular Wait। यदि संसाधनों को प्रीएम्प्ट (जबरन वापस) करने की अनुमति हो, तो गतिरोध नहीं हो सकता।