Vidyalelo
Computer Fundamentals · Q427

Operating System

Computer Related · Computer Fundamentals · question 427

Q427

Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and

A.
hold and wait
Answer
B.
deadlock avoidance
C.
race around condition
D.
buffer overflow
E.
None of the above

Answer: Option A

Solution

Answer: Option A
Solution:
Deadlock in OS is a situation where two or more processes are blocked. Conditions for Deadlock- Mutual Exclusion, Hold and Wait, No preemption, Circular wait. These 4 conditions must hold simultaneously for the occurrence of deadlock.