Given total number of instances of a resource to be 18, three processes (P1,…

PYQ Coal India Management Trainee CBT 2017Modified — slightly modified from the official paper; see the solution

Given total number of instances of a resource to be 18, three processes (P1, P2, and P3) and the resource requirement and allocation table are given below. Which of the following orders of process execution forms a safe (deadlock free) sequence?

image.png

  1. A.

    <P1, P2, P3>

  2. B.

    <P1, P3, P2>

  3. C.

    <P2, P1, P3>

  4. D.

    <P3, P1, P2>

Attempted by 411 students.

Sign up free to check your answer

Sign up free

Explore the full course: Coal India Management Trainee

Loading lesson…