Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2018 | Question 66
  • Last Updated : 09 Jul, 2018

Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur is
(A) 11
(B) 12
(C) 13
(D) 14


Answer: (A)

Explanation: Let the resources needed by P1 = R1 = 3, the number of resources needed by P2 = R2 = 4 and so on.
Minimum resources required to ensure that deadlock will never occur = (R1-1) + (R2-1) + (R3-1) + 1 = (3-1) + (4-1) + (6-1) + 1 = 11
Option (A) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :