Operating System

1:

A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units, then

A.

deadlock can never occur

B.

deadlock may occur

C.

deadlock has to occur

D.

none of these

 

Answer : A

Explanation :

Atleast one process will be holding 2 resources in case of a simultaneous demand from all the processes. That process will release the 2 resources, thereby avoiding any possible deadlock.

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.