GATE CS 2022 · Question 26 · Operating System · Multiple select (MSQ) · 1 mark · no negative marks
Which of the following statements is/are TRUE with respect to deadlocks?
- (A) Circular wait is a necessary condition for the formation of deadlock.
- (B) In a system where each resource has more than one instance, a cycle in its wait-for graph indicates the presence of a deadlock.
- (C) If the current allocation of resources to processes leads the system to unsafe state, then deadlock will necessarily occur.
- (D) In the resource-allocation graph of a system, if every edge is an assignment edge, then the system is not in deadlock state.
Answer
Answer (A), (D)
Answer from the official GATE CS 2022 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes