wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Online Quiz Week 6 - Chapter 2.2 Part 3

Total questions: 8

Worksheet time: 6mins

Name
Class
Date
1.

What is Deadlock ?

a)

resource is assigned to only one process at a time

b)

process owns a resource and claiming the other resource

c)

each waiting process is waiting for the next process in the chain and none is able to get the resource

d)

specific condition when two or more process are waiting for each other release a resource

2.

Identify condition for deadlock to occur ?

a)

ignore deadlock

b)

no preemption

c)

mutual exclusion

d)

hold and wait

3.

What is mean by Circular Wait ?

a)

each waiting process is waiting for the next process in the chain and none is able to get the resource

b)

regain the resources

c)

know a deadlock has occurred

d)

calculate cycles about to happen and stop dangerous operation

4.

Choose methods for handling deadlock ?

a)

detection

b)

missing in action

c)

recovery

d)

precaution

5.

What is mean by Ignore Deadlock ?

a)

prevent any one of the 4 conditions from happening

b)

ensure deadlock never occurs using either

c)

know a deadlock has occurred

d)

regain the resources

6.

Condition to prevent deadlock situation ?

a)

remove mutual exclusion

b)

remove circular wait

c)

stop system from enter an unsafe state

d)

implement check pointing and rollback

7.

What is the advantages of deadlock ?

a)

single instance of a resource type

b)

convenient method when applied to resource

c)

no preemption needed for deadlock

d)

low priority process got blocked

8.

What is the disadvantages of deadlock ? ( Choose three )

a)

process must know future resource need

b)

inherent preemption losses

c)

needs no run time computation since the problem solve in system design

d)

delay process initiation