Back to the 2025 paper

Module 4: Deadlocks

20252m

Which technique allows the operating system to examine the resource allocation state dynamically to ensure no deadlock occurs?

(i) Deadlock detection
(ii) Deadlock recovery
(iii) Deadlock avoidance
(iv) Deadlock ignoring

Worked SolutionAI Assisted

Answer: (iii) Deadlock avoidance

Banker's algorithm (avoidance) dynamically checks safe state before allocating. Prevention prohibits one of four necessary conditions, Detection+Recovery allows deadlock then resolves, Ignoring (ostrich) does nothing.

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.