An operating system using banker’s algorithm for deadlock avoidance has ten…

PYQ UGC NET 2013

An operating system using banker’s

algorithm for deadlock avoidance has

ten dedicated devices (of same type)

and has three processes P1, P2 and

P3 with maximum resource

requirements of 4, 5 and 8

respectively. There are two states of

allocation of devices as follows :

State 1

Processes

P1

P2

P3

Devices allocated

2

3

4

State 2

Processes

P1

P2

P3

Devices allocated

0

2

4

Which of the following is correct ?

  1. A.

    State 1 is unsafe and state 2 is safe.

  2. B.

    State 1 is safe and state 2 is unsafe.

  3. C.

    Both, state 1 and state 2 are safe.

  4. D.

    Both, state 1 and state 2 are unsafe.

Attempted by 29 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…