Back to the 2023 paper

Module 4: Deadlocks

20232m

With a single resource, deadlock occurs
(i) if there are more than two processes competing for that resource
(ii) if there are only two processes competing for that resource
(iii) if there is a single process competing for that resource
(iv) none of these

Worked SolutionAI Assisted

Answer: (iv) none of these

Deadlock with single resource: a cycle + hold-and-wait can occur with ≥2 processes, but single instance per type needs cycle. With single resource instance total, deadlock impossible if max need is properly handled via ordering—question phrasing expects "none of these" as single resource deadlock requires circular wait which needs at least two processes holding different instances; trick question often marks none.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.