COS3721 FINAL Exam PRACTICE TEST | 2025-2026 LATEST UPDATED|
60 REAL EXAM AND COMPLETE QUESTIONS AND ANSWERS | 100%
RATED CORRECT | 100% VERFIED | ALREADY GRADED A+
1. A deadlocked state occurs whenever ____.
A) a process is waiting for I/O to a device that does not exist
B) the system has no available free resources
C) every process in a set is waiting for an event that can only be caused by another
process in the set D) a process is unable to release its request for a resource after
use - (answer)C
2. One necessary condition for deadlock is ____, which states that at least one
resource must be held in a nonsharable mode. A) hold and wait
B) mutual exclusion
C) circular wait
no preemption - (answer)B
,3. One necessary condition for deadlock is ______, which states that a process
must be holding one resource and waiting to acquire additional resources.
A) hold and wait
B) mutual exclusion
C) circular wait
D) no preemption - (answer)A
4. One necessary condition for deadlock is ______, which states that a resource can
be released only voluntarily by the process holding the resource. A) hold and wait
B) mutual exclusion
C) circular wait
no preemption - (answer)D
5. One necessary condition for deadlock is ______, which states that there is a
chain of waiting processes whereby P0 is waiting for a resource held by P1, P1 is
waiting for a resource held by P2, and Pn is waiting for a resource held by P0. A)
hold and wait
, B) mutual exclusion
C) circular wait
D) no preemption - (answer)C
6. The witness software product is a ____.
A) lock-order verifier that uses mutual-exclusion locks to protect critical sections
B) modeler to develop resource allocation graphs
C) driver that can be used to prevent mutual exclusion for nonsharable resources
implementation of the banker's algorithm available for most operating systems -
(answer)A
7. In a system resource-allocation graph, ____.
A) a directed edge from a process to a resource is called an assignment edge
B) a directed edge from a resource to a process is called a request edge
C) a directed edge from a process to a resource is called a request edge
D) None of the above - (answer)C
60 REAL EXAM AND COMPLETE QUESTIONS AND ANSWERS | 100%
RATED CORRECT | 100% VERFIED | ALREADY GRADED A+
1. A deadlocked state occurs whenever ____.
A) a process is waiting for I/O to a device that does not exist
B) the system has no available free resources
C) every process in a set is waiting for an event that can only be caused by another
process in the set D) a process is unable to release its request for a resource after
use - (answer)C
2. One necessary condition for deadlock is ____, which states that at least one
resource must be held in a nonsharable mode. A) hold and wait
B) mutual exclusion
C) circular wait
no preemption - (answer)B
,3. One necessary condition for deadlock is ______, which states that a process
must be holding one resource and waiting to acquire additional resources.
A) hold and wait
B) mutual exclusion
C) circular wait
D) no preemption - (answer)A
4. One necessary condition for deadlock is ______, which states that a resource can
be released only voluntarily by the process holding the resource. A) hold and wait
B) mutual exclusion
C) circular wait
no preemption - (answer)D
5. One necessary condition for deadlock is ______, which states that there is a
chain of waiting processes whereby P0 is waiting for a resource held by P1, P1 is
waiting for a resource held by P2, and Pn is waiting for a resource held by P0. A)
hold and wait
, B) mutual exclusion
C) circular wait
D) no preemption - (answer)C
6. The witness software product is a ____.
A) lock-order verifier that uses mutual-exclusion locks to protect critical sections
B) modeler to develop resource allocation graphs
C) driver that can be used to prevent mutual exclusion for nonsharable resources
implementation of the banker's algorithm available for most operating systems -
(answer)A
7. In a system resource-allocation graph, ____.
A) a directed edge from a process to a resource is called an assignment edge
B) a directed edge from a resource to a process is called a request edge
C) a directed edge from a process to a resource is called a request edge
D) None of the above - (answer)C