adplus-dvertising
frame-decoration

Question

‘m’ processes share ‘n’ resources of the same type. The maximum need of each process doesn’t exceed ‘n’ and the sum of all their maximum needs is always less than m+n. In this setup, deadlock :

a.

can never occur

b.

may occur

c.

has to occur

d.

none of the mentioned

Answer: (a).can never occur

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. ‘m’ processes share ‘n’ resources of the same type. The maximum need of each process doesn’t exceed ‘n’ and the sum of all their maximum needs is always less than m+n. In this...

Similar Questions

Discover Related MCQs

Q. A deadlock can be broken by :

Q. The two ways of aborting processes and eliminating deadlocks are :

Q. Those processes should be aborted on occurrence of a deadlock, the termination of which :

Q. The process to be aborted is chosen on the basis of the following factors :

Q. Cost factors of process termination include :

Q. If we preempt a resource from a process, the process cannot continue with its normal execution and it must be :

Q. To _______ to a safe state, the system needs to keep more information about the states of processes.

Q. If the resources are always preempted from the same process, __________ can occur.

Q. The solution to starvation is :

Q. A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives.

Process
P0
P1
P2

Maximum needs (process-wise : P0 through P2 top to bottom)
10
4
9

Currently allocated (process-wise)
5
2
2


Which of the following sequence is a safe sequence ?

Q. What problem is solved by Dijkstra's banker's algorithm?

Q. Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and

Q. Banker's algorithm for resource allocation deals with

Q. All deadlocks involve conflicting needs for

Q. The fastest form of inter process communication provided in UNIX is

Q. Deadlock prevention strategies are very

Q. A consumable resource is one that can be

Q. A signal is a software mechanism that informs a

Q. No preemption means that a resource is released as

Q. Deadlock avoidance requires knowledge of future