adplus-dvertising
frame-decoration

Question

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

a.

whenever a resource is requested by a process, it is not holding any other resources

b.

each process must request and be allocated all its resources before it begins its execution

c.

a process can request resources only when it has none

d.

all of the mentioned

Posted under Operating System

Answer: (d).all of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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 :

Q. If deadlocks occur frequently, the detection algorithm must be invoked ________

Q. The disadvantage of invoking the detection algorithm for every request is :

Q. A deadlock eventually cripples system throughput and will cause the CPU utilization to ______