Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) Give TWO (2) differences between deadlock detection and deadlock avoidance. [3 marks] RI R2 R3 R4 (b) Figure below shows a total number of

image text in transcribed
(a) Give TWO (2) differences between deadlock detection and deadlock avoidance. [3 marks] RI R2 R3 R4 (b) Figure below shows a total number of resources with currently four processes running in a system. R1 R3 R4 3 2 Resource Vector P1 1 1 1 1 P2 2 lo 1 2 P3 1 2 1 0 P4 1 0 1 0 Claim Matrix R1 R2 R3 R4 21 1 1 0 Oo P2 1 0 1 P3 1 0 1 0 P4 0 0 1 0 Allocation Matrix (1) Draw the resource allocation graph to show the state of the system. [3 marks] (ii) Show the content of the Available Vector and Need Matrix [2 marks] Run the bankers' algorithm and state whether the system is currently in a safe or unsafe state

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