Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.A System the uses Bankers Deadlock Avoidance algorithm has Six processes P1,P2,P3,P4,P5 and P6 and uses resources of four different types A,B,C and D. There

2.A System the uses Bankers Deadlock Avoidance algorithm has Six processes P1,P2,P3,P4,P5 and P6 and uses resources of four different types A,B,C and D. There are Multiple instances of each resource type. Answer the following Questions: ALLOCTION MATRIX MAX MATRIX AVAILABLE A B C D A B C D A B C D P0 2 0 2 1 9 5 5 5 6 3 5 4 P1 0 1 1 1 2 2 3 3 P2 4 1 0 2 7 5 4 4 P3 1 0 0 1 3 3 3 2 P4 1 1 0 0 5 2 2 1 P5 1 0 1 1 4 4 4 4 a.What are the total number of resources in the system? b.Is the state of the system is SAFE? Explain You answer? c.If the system is safe, show how all the process could complete their execution successfully? d.If the system is UNSAFE, show how deadlock might occur?[3.0Marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions