Font size
WorksheetsOnline Quiz Week 6 - Chapter 2.2 Part 3
Total questions: 8
Worksheet time: 6mins
What is Deadlock ?
resource is assigned to only one process at a time
process owns a resource and claiming the other resource
each waiting process is waiting for the next process in the chain and none is able to get the resource
specific condition when two or more process are waiting for each other release a resource
Identify condition for deadlock to occur ?
ignore deadlock
no preemption
mutual exclusion
hold and wait
What is mean by Circular Wait ?
each waiting process is waiting for the next process in the chain and none is able to get the resource
regain the resources
know a deadlock has occurred
calculate cycles about to happen and stop dangerous operation
Choose methods for handling deadlock ?
detection
missing in action
recovery
precaution
What is mean by Ignore Deadlock ?
prevent any one of the 4 conditions from happening
ensure deadlock never occurs using either
know a deadlock has occurred
regain the resources
Condition to prevent deadlock situation ?
remove mutual exclusion
remove circular wait
stop system from enter an unsafe state
implement check pointing and rollback
What is the advantages of deadlock ?
single instance of a resource type
convenient method when applied to resource
no preemption needed for deadlock
low priority process got blocked
What is the disadvantages of deadlock ? ( Choose three )
process must know future resource need
inherent preemption losses
needs no run time computation since the problem solve in system design
delay process initiation
