adplus-dvertising
frame-decoration

Question

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

a.

impose a total ordering of all resource types and to determine whether one precedes another in the ordering

b.

to never let a process acquire resources that are held by other processes

c.

to let a process wait for only one resource at a time

d.

all of the mentioned

Answer: (a).impose a total ordering of all resource types and to determine whether one precedes another in the ordering

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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 ______

Q. Every time a request for allocation cannot be granted immediately, the detection algorithm is invoked. This will help identify :

Q. A computer system has 6 tape drives, with ‘n’ processes competing for them. Each process may need 3 tape drives. The maximum value of ‘n’ for which the system is guaranteed to be deadlock free is :

Q. A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units then, deadlock :