Consider a system having ‘m’ resources of the same type. The resources are…

2007

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

Answer: A. 11For one resource type, deadlock is impossible if total resources are at least the sum of each process's maximum need minus one, plus one: (3 - 1) + (4 - 1) +…

  1. A.

    11

  2. B.

    12

  3. C.

    13

  4. D.

    14

Attempted by 456 students.

Show answer & explanation

Correct answer: A

For one resource type, deadlock is impossible if total resources are at least the sum of each process's maximum need minus one, plus one: (3 - 1) + (4 - 1) + (6 - 1) + 1 = 11.

Explore the full course: Niacl Ao It Specialist

Loading lesson…