Practice Library

All MCQs

Browse exam-wise, subject-wise, and country-wise MCQs with explanations.

Which statement correctly distinguishes deadlock prevention from deadlock avoidance?

Choose an option to check your answer.

What is the ostrich approach to deadlocks?

Choose an option to check your answer.

Which statement about a safe state is correct?

Choose an option to check your answer.

If every resource type has exactly one instance, what does a cycle in the resource-allocation graph imply?

Choose an option to check your answer.

What does an edge from a resource instance to a process mean in a resource-allocation graph?

Choose an option to check your answer.

In a resource-allocation graph, an edge from a process to a resource indicates what?

Choose an option to check your answer.

Which deadlock condition requires at least one resource to be usable by only one process at a time?

Choose an option to check your answer.

What is a deadlock?

Choose an option to check your answer.