21. |
The disadvantage of a process being allocated all its resources before beginning its execution is ____________
|
||||||||
Answer:
Option (b) |
22. |
To ensure no preemption, if a process is holding some resources and requests another resource that cannot be immediately allocated to it ____________
|
||||||||
Answer:
Option (d) |
23. |
One way to ensure that the circular wait condition never holds is to ____________
|
||||||||
Answer:
Option (a) |
24. |
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.
|
||||||||
Answer:
Option (d) |
25. |
A deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist.
|
||||||||
Answer:
Option (a) |
26. |
A state is safe, if ____________
|
||||||||
Answer:
Option (b) |
27. |
A system is in a safe state only if there exists a ____________
|
||||||||
Answer:
Option (c) |
28. |
A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 holds 5 tape drives, P1 holds 2 and P2 holds 2 tape drives. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives. Which of the following sequence is a safe sequence?
|
||||||||
Answer:
Option (d) |
29. |
If no cycle exists in the resource allocation graph ____________
|
||||||||
Answer:
Option (b) |
30. |
The data structures available in the Banker’s algorithm are ____________
|
||||||||
Answer:
Option (d) |