Back to the 2022 paper

Module 4: Deadlocks

20222m

Which of the following approach require knowledge of the system's state in advance.

(i) Deadlock detection
(ii) Deadlock prevention
(iii) Deadlock avoidance
(iv) None of these

Worked SolutionAI Assisted

Answer: (iii) Deadlock avoidance

Avoidance (Banker's) requires knowledge of future maximum needs to compute safe state. Prevention needs only structural guarantees, Detection works after the fact.

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.