in Operating System edited by
1,883 views
2 votes
2 votes
which of the following is true?

a:resource preemption is allowed in deadlock can be avoided but cannot be prevented

B: if the number of shared resources is greater than the number of process then deadlock can be prevented

C: deadlock can be prevented by not allowing any process to request for resources when it enters the critical section

D: deadlock avoidance schemes required information concerning which resource a process will request and used during its lifetime
in Operating System edited by
1.9k views

4 Comments

deadlock avoidance schemes required information concerning which resource a process will request and used during its lifetime

it means, deadlock avoidance scheme ( Bankers Algorithm ) need a prior knowledge about a process requests during it's life time ===> you have to know maximum demand of each process before starting the process to run

2
2
option (d) is correct answer
0
0
can anyone please explain why option (a) is incorrect??
0
0

1 Answer

0 votes
0 votes
Answer is D ..
by

Related questions