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

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.