adplus-dvertising
frame-decoration

Question

The methods for dealing with the deadlock problem is

a.

Use a protocol to make sure that the system never enters in to the deadlock state.

b.

Allow the system to enter a deadlock state and then recover.

c.

Ignore the problem, and pretend that deadlocks never occur in the system. The UNIX operating system uses this solution.

d.

all of these

Answer: (d).all of these

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The methods for dealing with the deadlock problem is

Similar Questions

Discover Related MCQs

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

Q. A process said to be in ___________ state if it was waiting for an event that will never occur.

Q. In one of the deadlock prevention methods, impose a total ordering of all resource types, and require that each process requests resources in an increasing order of enumeration. This violates the _______________ condition of deadlock.

Q. Resource locking ________.

Q. A set of resources' allocations such that the system can allocate resources to each process in some order, and still avoid a deadlock is called ________.

Q. Situations where two or more processes are reading or writing some shared data and the final results depends on the order of usage of the shared data, are called ________.

Q. When two or more processes attempt to access the same resource a _________ occurs.

Q. A process is starved

Q. Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________ .

Q. The state of a process after it encounters an I/O instruction is __________.

Q. The Banker's algorithm is used

Q. ______ is a high level abstraction over Semaphore.

Q. In one of the deadlock prevention methods, impose a total ordering of all resource types, and require that each process requests resources in an increasing order of enumeration. This voilates the _______________ condition of deadlock.

Q. Banker's algorithm for resource allocation deals with ?

Q. What is the maximum number of processes that may enter simultaneously inside the critical section to avoid race condition ?

Q. What are global locks ?

Q. Semophores are used to solve the problem of

Q. Semaphores function is to

Q. Four necessary conditions for deadlock are non pre-emption, circular wait, hold and wait and

Q. Banker's algorithm deals with