Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

ISRO | ISRO CS 2018 | Question 66

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
Last Updated : 09 Jul, 2018
Like Article
Save Article
Similar Reads