GATE CS 2026 Set 1 | Question 29

Operating Systems › Deadlock · MSQ · 1 mark · Answer: A, C

  1. Question 29Operating Systemsmsq1 mark
    With respect to deadlocks in an operating system, which of the following statements is/are FALSE?
    • A.
      Banker’s algorithm is used to prevent deadlocks
      ✓
    • B.
      Deadlock formation can be prevented by ensuring that the hold and wait condition is not allowed
    • C.
      An assignment edge in a resource allocation graph is marked from a process to a resource
      ✓
    • D.
      A safe state guarantees that all processes can finish without formation of a deadlock

    Answer: A, C

    Solution

    Answer: A, C (the question asks for FALSE statements) • (A) FALSE: the Banker's algorithm is deadlock avoidance, not prevention. • (B) True: breaking hold-and-wait is a prevention technique. • (C) FALSE: an assignment edge points resource → process. A request edge points process → resource. • (D) True: a safe sequence exists, by definition.

More GATE PYQ on Deadlock

All GATE CS Operating Systems PYQ →

Attempt GATE CS 2026 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →