NTA UGC NET JUNE 2023 Paper-1
March 5, 2024
Question 8712 – Operating-Systems
March 5, 2024
NTA UGC NET JUNE 2023 Paper-1
March 5, 2024
Question 8712 – Operating-Systems
March 5, 2024

Question 8230 – Operating-Systems

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?

Correct Answer: D

Question 11 Explanation: 
Let’s assume that each process request 2 resources each. Now there are total 6 identical resources available. Give 1 resource to every processes then there will be deadlock because now each process will wait for another resource which is not available, so there will be deadlock. Since there are total 6 resources so for deadlock to be possible there should be 6 processes available. Hence, the value of N is 6.
A
1
B
2
C
3
D
6

Leave a Reply

Your email address will not be published. Required fields are marked *