Operating System

1:

With a single resource, deadlock occurs

A.

if there are more than two processes competing for that resource

B.

if there are only two processes competing for that resource

C.

if there is a single process competing for that resource

D.

none of these

 

Answer : D

Explanation :

Deadlock doesn't occurs with a single resource

Nikhil said: (1:33pm on Thursday 6th June 2013)
why option D?with two or more process accessing one resource may leads to deadlock or not?
Yatendra Dagur said: (9:33pm on Sunday 9th June 2013)
option A is right because deadlock occur when more than one process requesting single resource.
chandru said: (12:06pm on Wednesday 26th June 2013)
correct answer since there is no cycle formation deadloclk not occur
chandan kumar said: (6:22am on Friday 5th July 2013)
it correct answer because single resource can not forme cycle
Priyanka said: (4:02am on Friday 21st March 2014)
Yes,no cycle formation is necessary and sufficient condition for no deadlock.So,option d is correct.
aj said: (4:39pm on Monday 7th November 2016)
Deadlock not occur when single resource is available.It occurs only when more than one resources available

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.