GATE CS 2022 (Forenoon) — Question 26

Operating Systems (OS)Deadlock Prevention, Avoidance, Detection, RecoveryMSQ1 markMedium

Which of the following statements is/are TRUE with respect to deadlocks?
  1. A
    Circular wait is a necessary condition for the formation of deadlock.
  2. 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.
  3. C
    If the current allocation of resources to processes leads the system to unsafe state, then deadlock will necessarily occur.
  4. D
    In the resource-allocation graph of a system, if every edge is an assignment edge, then the system is not in deadlock state.
Practise the full 2022-FN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkOperating System Concepts (Galvin)Scheduling, synchronisation, deadlocks, memory and file systems.
Practise more on Deadlock Prevention, Avoidance, Detection, RecoveryTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group