Gate CS-2009 Question Paper With Solutions

Q. 39 Consider a system with 4 type of resources R1 (3 units), R2 (2 units), R3 (3 units),
R4 (4units). A non-preemptive resource allocation policy is used. At any give
instance, a request is not entertained if it cannot be completely satisfied. Three
processes P1, P2, P3 request the resources as follows if executed independently.

Gate CS-2009 Question Paper With Solutions
Which one of the following statements is TRUE if all three processes run
concurrently starting at time t = 0 ?

(A) All processes will finish without any deadlock

(B) Only P1 and P2 will be in deadlock

(C) Only P1 and P3 will be in deadlock

(D) All three processes will be in deadlock

Answer: (A)

Explanation:

Gate CS-2009 Question Paper With Solutions

Learn More:   Gate EC-2015 - 3 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here