UGC-NET | UGC NET CS 2016 Aug – II | Question 38

Consider a system having ‘m’ resources of the same type. These resources are shared by three processes P1, P2and P3 which have peak demands of 2, 5 and 7 resources respectively. For what value of ‘m’ deadlock will not occur ?
(A) 70
(B) 14
(C) 13
(D) 7

Answer: (B)

Explanation: To avoid deadlock ‘m’ >= peak demands(P1 + P2 + P3)
i.e. m >= peak demands(2 + 5 + 7)
m >= peak demands(14)
So, option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.