a) Allocation – Available b) Max – Available c) Max – Allocation d) Allocation – Max Answer: c Explanation: Max – ...
View QuestionThe data structures available in the Banker’s algorithm are ____________
a) Available b) Need c) Allocation d) All of the mentioned Answer: d Explanation: All of the mentioned
View QuestionThe Banker’s algorithm is _____________ than the resource allocation graph algorithm.
a) less efficient b) more efficient c) equal d) none of the mentioned Answer: a Explanation: The Banker’s algorithm ...
View QuestionThe resource allocation graph is not applicable to a resource allocation system ____________
a) with multiple instances of each resource type b) with a single instance of each resource ...
View QuestionIf no cycle exists in the resource allocation graph ____________
a) then the system will not be in a safe state b) then the system will be in ...
View Question
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?
A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires ...
View QuestionAll unsafe states are ____________
a) deadlocks b) not deadlocks c) fatal d) none of the mentioned Answer: b Explanation: All unsafe states are ...
View QuestionA system is in a safe state only if there exists a ____________
a) safe allocation b) safe resource c) safe sequence d) all of the mentioned Answer: c Explanation: A ...
View QuestionA state is safe, if ____________
a) the system does not crash due to deadlock occurrence b) the system can allocate resources to each process in ...
View QuestionA deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist.
a) resource allocation state b) system storage state c) operating system d) resources Answer: a Explanation: Resource allocation states are used ...
View Question