Computer AwarenessHardIBPS SO IT · IBPS PO Mains
Which of the following is NOT one of the four conditions that must all hold for a deadlock to occur?
- A. Mutual exclusion
- B. Hold and wait
- C. Circular wait
- D. Pre-emption of resources
Correct answer: D. Pre-emption of resources
The necessary conditions are mutual exclusion, hold and wait, NO pre-emption and circular wait. If resources can be pre-empted, deadlock can be broken, so pre-emption is not a condition for it.
हिंदी में
निम्नलिखित में से कौन-सी उन चार शर्तों में नहीं है जो डेडलॉक होने के लिए सभी एक साथ लागू होनी चाहिए?
- A. पारस्परिक अपवर्जन
- B. होल्ड एंड वेट
- C. चक्रीय प्रतीक्षा
- D. संसाधनों का प्री-एम्प्शन
उत्तर: D. आवश्यक शर्तें हैं: पारस्परिक अपवर्जन, होल्ड एंड वेट, प्री-एम्प्शन का न होना और चक्रीय प्रतीक्षा। यदि संसाधनों का प्री-एम्प्शन हो सके तो डेडलॉक तोड़ा जा सकता है, इसलिए प्री-एम्प्शन उसकी शर्त नहीं है।
More Computer Awareness questions
- Three processes arrive at time 0 in the order P1 (burst 10 ms), P2 (burst 4 ms) and P3 (burst 2 ms). By how much does the average waiting…
- In a STUDENT table, both RollNo and Email can uniquely identify every row. The designer chooses RollNo as the primary key. What is Email…
- A relation is in 1NF and its primary key consists of a single attribute. Which normal form is it then guaranteed to satisfy?
- A funds-transfer transaction commits successfully, and a second later the database server loses power. When it restarts, the transfer is…
- Which network device is matched with the WRONG OSI layer at which it mainly operates?
- An IPv6 address is written as colon-separated groups of hexadecimal digits. In full (uncompressed) form, how many groups are there and how…