Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following state of a system consisting of four processes and three resources R1 R2 R3 0 1 1 Available Vector 19 P1

image text in transcribed 

Consider the following state of a system consisting of four processes and three resources R1 R2 R3 0 1 1 Available Vector 19 P1 P2 P3 5 3 P4 8 15 R1 R2 4 3 24 R3 R1 R2 22 P1 3 2 22 R3 56 6 6 4 4 P4 222 P2 8 3 4 P3 4 3 3 2 2 4 Claim Matrix Allocation Matrix (a) Show the total of resources in the system. (b) Draw the content of the Need matrix. (c) Is this system currently in safe or unsafe state? (d) (e) [2 marks] [4 marks] [1 mark] If it is in safe state, give the order of process to finish and if it is in unsafe state, state which process may become deadlock. [4 marks] P1 makes the request for one additional unit R2. Can this request be safely granted immediately? Explain your answer. [2 marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

a To calculate the total resources in the system we sum up the allocation matrix columnwise Total Re... blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Modern Operating Systems

Authors: Andrew S. Tanenbaum, Herbert Bos

4th edition

013359162X, 978-0133591620

Students also viewed these Programming questions

Question

What are the path-goal theory leadership styles?

Answered: 1 week ago

Question

4. Greet students at the door to the class every day.

Answered: 1 week ago

Question

What is work sampling? How does it differ from time study?

Answered: 1 week ago