• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | CS 2022 | Question 26

Which of the following statements is/are TRUE with respect to deadlocks

(A)

The 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 an 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 a deadlock state.

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments