Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2016 | Question 40
  • Last Updated : 26 Mar, 2018

With single resource, deadlock occurs
(A) if there are more than two processes competing for that resources
(B) if there are only two processes competing for that resources
(C) if there is a single process competing for that resources
(D) none of these


Answer: (D)

Explanation: There are 4 conditions required for a deadlock to occur:
1) Mutual Exclusion
2) No pre-emption
3) Hold and wait
4) Circular wait
When there is only one resource, the conditions of hold and wait and circular wait get eliminated. With the assumption that no process can use a resource for infinite amount of time, whenever a process will finish its execution , another process can get the resource. So a deadlock can’t occur.
So, option (D) is correct.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :