Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. 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. 1
    2. 2
    3. 3
    4. 4
    5. None of these
Correct Option: E

It might be "WRONG" question.

N = 2 ⇒ P1P2     No. of resources = 6
2 2
1 1

Each process can request atmost 2
N = 3 ⇒ P1 P2 P3
222

N = 4 ⇒ P1 P2 P3 P4
1111
11

Therefore, no option leads to dead lock.



Your comments will be displayed only after manual approval.