EXAMRADAR

Question: When should we invoke the detection algorithm?

Answer:

If deadlocks occur frequently, then the detection algorithm should be invoked

frequently. Resources allocated to deadlocked processes will be idle until the

deadlock can be broken. In addition, the number of processes involved in the

deadlock cycle may grow.

Deadlocks occur only when some process makes a request that cannot be

granted immediately. This request may be the final request that completes a

chain of waiting processes. In the extreme, then, we can invoke the deadlockdetection algorithm every time a request for allocation cannot be granted immediately.

MCQ: When should we invoke the detection algorithm?

Correct Answer: A. How often is a deadlock likely to occur?

Explanation:

If deadlocks occur frequently, then the detection algorithm should be invoked

frequently. Resources allocated to deadlocked processes will be idle until the

deadlock can be broken. In addition, the number of processes involved in the

deadlock cycle may grow.

Deadlocks occur only when some process makes a request that cannot be

granted immediately. This request may be the final request that completes a

chain of waiting processes. In the extreme, then, we can invoke the deadlockdetection algorithm every time a request for allocation cannot be granted immediately.

Discuss a Question

Related Questions

You may be interested in:

OS Deadlocks MCQs

Recently Added Articles

AI vs Machine Learning: Key Differences Every Professional Should Know

Last updated on: February 13, 2026Posted by: ExamRadar

Office Cleaning Services That Elevate Sydney Offices

Last updated on: February 11, 2026Posted by: ExamRadar

Mental Health Support That’s Closer Than You Think

Mental Health Support That’s Closer Than You Think

Last updated on: January 7, 2026Posted by: ExamRadar

Columbus roofing company

Transform Your Home’s Exterior with Columbus roofing company

Last updated on: November 27, 2025Posted by: ExamRadar

What to Ask Before Booking TMS Therapy Near Me

Last updated on: November 7, 2025Posted by: ExamRadar

5 Trading Strategies to Minimize Risk

Last updated on: October 18, 2025Posted by: ExamRadar