adplus-dvertising
frame-decoration

Question

To avoid deadlock

a.

there must be a fixed number of resources to allocate

b.

resource allocation must be done only once

c.

all deadlocked processes must be aborted

d.

inversion technique can be used

Posted under Operating System

Answer: (a).there must be a fixed number of resources to allocate

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To avoid deadlock

Similar Questions

Discover Related MCQs

Q. The number of resources requested by a process :

Q. The request and release of resources are ___________

Q. Multithreaded programs are :

Q. For a deadlock to arise, which of the following conditions must hold simultaneously ?

Q. For Mutual exclusion to prevail in the system :

Q. For a Hold and wait condition to prevail :

Q. Deadlock prevention is a set of methods :

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 :