Skip to content
Related Articles
Open in App
Not now

Related Articles

ISRO | ISRO CS 2007 | Question 40

Improve Article
Save Article
Like Article
  • Last Updated : 27 Jun, 2018
Improve Article
Save Article
Like Article

Consider a system having ‘m’ resources of the same type. The 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 that deadlock will never occur is
(A) 11
(B) 12
(C) 13
(D) 14


Answer: (A)

Explanation: Minimum resources required to avoid deadlock = (m1 – 1) + (m2 – 1) +..+ (my – 1) + 1
where m = resource required by process
y = number of processes

so, Number of resources that ensures that deadlock will never occur is = (3-1) + (4-1) + (6-1) + 1 = 11

Option (A) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!