Which of the following condition is
required for a deadlock to be possible?
a) mutual exclusion
b) process may hold allocated resources
c) no resource can be forcibly removed
d) all of these
How can we avoid from deadlock?
a) fixed number of resources to allocate
b) resource allocation must be done only once
c) deadlocked processes must be aborted
d) inversion technique can be used
How many types of resources?
a) one
b) two
c) three
d) four
Explanation: preemptible resources, no preemptible resources
What is the type of resources that can be allocated to a given process for a period without effect?
a) Preemptive resources
b) non preemptive resources
c) both can be allocated
d) none of these
A resource that cannot be taken from one process and given to another without side effects…..
a) Preemptive resources
b) non preemptive resources
c) both can be allocated
d) none of these
How many events occur as a resource used?
a) one
b) two
c) three
d) four
Explanation: request, use, release