wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OS QUIZ(UNIT-III)

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

Deadlocks can be described by which graph?

a)

Resource Allocation Graph

b)

Hamilton Graph

c)

Directed Graph

d)

Complete Graph

2.

Which is deadlock avoidance algorithm

a)

fcfs algorithm

b)

bankers algorithm

c)

preemptive algorithm

d)

round robin algorithm

3.

Which is not a necessary condition in Deadlock

a)

mutual exclusion

b)

hold and wait

c)

circular wait

d)

progress

4.

If p1 requesting for r1,r1 allocated to p2,p2 reqesting for r2,r2 is allocated to p1 such condition is called as______ in Deadlock Prevention

a)

mutual exclusion

b)

hold and wait

c)

circular wait

d)

bounding condition

5.

Banker's algorithm for resource allocation deals with?

a)

Deadlock prevention

b)

Deadlock Recovery

c)

Deadlock Avoidance

d)

Circular Wait

6.

If there is a direct arc from Process node to resource node we call that edge in RAG graph to be as

a)

assigned edge

b)

claimed edge

c)

request edge

d)

none of them

7.

If there is a direct arc from resource node to Process node than we call that edge in RAG graph to be as

a)

assigned edge

b)

claimed edge

c)

request edge

d)

none of them

8.

What is the maximum number of processes that may enter simultaneously inside the critical section to avoid race condition?

a)

1

b)

2

c)

3

d)

4

9.

(a)   is the edge which is made dotted arc from process node to resource node in RAG to avoid deadlocks.

10.

Resource in RAG is represented in terms of (a)   .