adplus-dvertising
frame-decoration

Question

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

a.

then the process waits for the resources be allocated to it

b.

the process keeps sending requests until the resource is allocated to it

c.

the process resumes execution without the resource being allocated to it

d.

then all resources currently being held are preempted

Posted under Operating System

Answer: (d).then all resources currently being held are preempted

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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 ______

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 :