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

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.