Operating Systems · Question 4 · Easy

Which of the following is NOT one of the four necessary conditions for a deadlock?

  1. Mutual exclusion
  2. Hold and wait
  3. Circular wait
  4. Preemption of resources
Answer and explanation

Answer: D. Preemption of resources

Explanation: The four Coffman conditions are mutual exclusion, hold and wait, NO preemption and circular wait. Allowing preemption actually breaks a deadlock condition.

Previous: What is thrashing in an operating system? · Next: Where does the operating system save a process's program counter, CPU…

Practise operating systems

Try a fresh set of operating systems questions with an explanation after every answer, free and without signing up: Operating Systems practice. Or sit a full placement mock test.

More operating systems questions

More technical & programming practice

Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge