-
A system has 6 identical resources and N processes competing for them. Each process can request atmost 2 resources. Which one of the following values of N could lead to a deadlock?
-
- 1
- 2
- 3
- 4
- None of these
- 1
Correct Option: E
It might be "WRONG" question.
N = 2 ⇒ | P1 | P2 No. of resources = 6 |
2 | 2 | |
1 | 1 |
Each process can request atmost 2
N = 3 ⇒ | P1 | P2 | P3 |
2 | 2 | 2 |
N = 4 ⇒ | P1 | P2 | P3 | P4 |
1 | 1 | 1 | 1 | |
1 | 1 |
Therefore, no option leads to dead lock.