Engineering & Science
GATE Computer Science
GATE Computer Science Deadlocks practice questions and solutions
5 questions on Deadlocks, part of Process Management in the GATE CS Operating Systems syllabus. Every question has a worked solution and an explanation of why each wrong option fails. Open a question to attempt it and see the answer.
- Questions
- 5 questions
- Easy
- 2 easy
- Medium
- 3 medium
Questions
- 1Which of the following is not one of the four necessary (Coffman) conditions for deadlock?Easy
- 2Three processes each need at most 2 units of a resource. What is the minimum number of units that guarantees…Medium
- 3A system has 10 units of one resource. Processes P1, P2 and P3 hold 3, 2 and 2 units and have maximum needs o…Medium
- 4Numbering all resource types and requiring every process to request resources only in increasing order of the…Easy
- 5In a resource-allocation graph where every resource type has a single instance, a cycle in the graph means th…Medium
Practise all GATE CS Operating Systems questions with filters