Computer AwarenessVery hardSSC CGL Tier 2 · IBPS PO Mains · IBPS/SBI
An operating system makes every process request all the resources it will ever need before it begins executing. Which of the four necessary conditions for deadlock does this policy eliminate?
- A. Circular wait
- B. No pre-emption
- C. Hold and wait
- D. Mutual exclusion
Correct answer: C. Hold and wait
If a process obtains everything at the start, it never holds some resources while waiting for others, so hold and wait cannot occur. Circular wait is prevented instead by imposing a global ordering on resource requests.
हिंदी में
एक ऑपरेटिंग सिस्टम हर प्रक्रिया से कहता है कि निष्पादन आरंभ करने से पहले वह अपने सभी आवश्यक संसाधन माँग ले। यह नीति गतिरोध की चार आवश्यक शर्तों में से किसे समाप्त करती है?
- A. चक्रीय प्रतीक्षा (Circular wait)
- B. पूर्व-अधिकार का अभाव (No pre-emption)
- C. पकड़ कर प्रतीक्षा (Hold and wait)
- D. परस्पर अपवर्जन (Mutual exclusion)
उत्तर: C. यदि प्रक्रिया आरंभ में ही सब कुछ पा लेती है, तो वह कुछ संसाधन पकड़कर दूसरों की प्रतीक्षा नहीं करती, इसलिए पकड़ कर प्रतीक्षा नहीं हो सकती। चक्रीय प्रतीक्षा को संसाधन-अनुरोधों पर वैश्विक क्रम थोपकर रोका जाता है।
More Computer Awareness questions
- A storage array uses RAID 5 with five disks of 4 TB each. What is its usable capacity, and how many simultaneous disk failures can it…
- An uncompressed bitmap image is 1024 pixels wide and 768 pixels high, with 24 bits of colour per pixel. Taking 1 MB = 1024 x 1024 bytes…
- Kiran reads her e-mail on a phone and a laptop and wants read, deleted and folder changes to look the same on both. Which retrieval…
- A computer with little RAM runs many programs at once. The disk light stays on, the CPU is mostly idle, and useful work nearly stops…
- In converting a high-level program into a running process, which component takes several relocatable object modules and library routines…
- Which of the following is the brain of the computer?