Question 15Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

What is the role of the 'resource-allocation graph' in deadlock avoidance?

  1. AScheduling I/O operations
  2. BDetecting existing deadlocks
  3. CRepresenting the state of system resources and processes
  4. DTracking CPU usage
Show answerHide answer

Correct answer: (C) Representing the state of system resources and processes

Explanation

A resource-allocation graph shows processes, resources, and request and assignment edges. Using it (with claim edges), the system can check whether granting a request could create a cycle, and so avoid deadlock.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

This is question 15 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.