###### Question 9610 – Propositional-Logic

February 29, 2024###### Question 11589 – Functional-Dependency

February 29, 2024# Question 10427 – Deadlock

Consider a system having m resources of the same type. These resources are shared by 3 processes A, B and C, which have peak demands of 3, 4 and 6 respectively. For what value of m deadlock will not occur?

Correct Answer: C

Question 6 Explanation:

A requires 3, B-4, C-6;

→ If A have 2, B have 3, C have 5 then deadlock will occur i.e., 2+3+5=10.

→ If we have one extra resource then deadlock will not occur i.e., 10+1=11.

→ If we have equal (or) more than 11 resources then deadlock will never occur.

→ If A have 2, B have 3, C have 5 then deadlock will occur i.e., 2+3+5=10.

→ If we have one extra resource then deadlock will not occur i.e., 10+1=11.

→ If we have equal (or) more than 11 resources then deadlock will never occur.

7

9

13, 15

13

15

Subscribe

Login

0 Comments