adplus-dvertising
frame-decoration

Question

Deadlock prevention is a set of methods :

a.

to ensure that at least one of the necessary conditions cannot hold

b.

to ensure that all of the necessary conditions do not hold

c.

to decide if the requested resources for a process have to be given or not

d.

to recover from a deadlock

Posted under Operating System

Answer: (a).to ensure that at least one of the necessary conditions cannot hold

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Deadlock prevention is a set of methods :

Similar Questions

Discover Related MCQs

Q. For non sharable resources like a printer, mutual exclusion :

Q. For sharable resources, mutual exclusion :

Q. To ensure that the hold and wait condition never occurs in the system, it must be ensured that :

Q. The disadvantage of a process being allocated all its resources before beginning its execution is :

Q. To ensure no preemption, if a process is holding some resources and requests another resource that cannot be immediately allocated to it :

Q. One way to ensure that the circular wait condition never holds is to :

Q. Each request requires that the system consider the _____________ to decide whether the current request can be satisfied or must wait to avoid a future possible deadlock.

Q. Given a priori information about the ________ number of resources of each type that maybe requested for each process, it is possible to construct an algorithm that ensures that the system will never enter a deadlock state.

Q. A deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist.

Q. A state is safe, if :

Q. A system is in a safe state only if there exists a :

Q. All unsafe states are :

Q. If no cycle exists in the resource allocation graph :

Q. The resource allocation graph is not applicable to a resource allocation system :

Q. The Banker’s algorithm is _____________ than the resource allocation graph algorithm.

Q. The data structures available in the Banker’s algorithm are :

Q. The content of the matrix Need is :

Q. The wait-for graph is a deadlock detection algorithm that is applicable when :

Q. An edge from process Pi to Pj in a wait for graph indicates that :

Q. If the wait for graph contains a cycle :