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

5 Best Amazon Advertising Agencies for Growing Brands

Last updated on: November 6, 2026Posted by: ExamRadar

Best Free AI Humanizers for Academic Writing

Last updated on: October 30, 2026Posted by: ExamRadar

How Image to Text Conversion Make Printed Study Materials Easier to Use?

Last updated on: October 23, 2026Posted by: ExamRadar

7 Best Online Exam Makers for Teachers, Schools, and Businesses

Last updated on: October 21, 2026Posted by: ExamRadar

How to pick a Bintan resort when you’ve only got 48 hours

Last updated on: September 23, 2026Posted by: ExamRadar

Features to Look for While Choosing the Best Automation Tool

Last updated on: July 15, 2026Posted by: ExamRadar

AI vs Machine Learning: Key Differences Every Professional Should Know

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