GATE 2007 CS – Question 57
Three processes share5 units each of resources X, Y, Z. alloc gives held resources; request gives further resources to finish. Which finishes LAST?
| Process | alloc X, Y, Z | request X, Y, Z |
|---|---|---|
| P0 | 1, 2, 1 | 1, 0, 3 |
| P1 | 2, 0, 1 | 0, 1, 2 |
| P2 | 2, 2, 1 | 1, 2, 0 |
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) P2
Explanation
We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort