CS FundamentalsModerateWipro Elite · LTIMindtree

Numbering all resource types and requiring every process to request resources only in increasing order of number prevents deadlock by eliminating which necessary condition?

  1. A. Mutual exclusion
  2. B. Hold and wait
  3. C. Circular wait
  4. D. No preemption

Correct answer: C. Circular wait

With ordered requests, a cycle of waiting processes would need a resource number to be both larger and smaller than another, so circular wait is impossible.

More Operating Systems questions

Exams that ask this topic