Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating System Concepts Homework No. 2 Variant No. 15 Student Lukas Skirdmakes c m proup. I got the task ...................... tre Homework Submission Date: December

image text in transcribed

image text in transcribed

Operating System Concepts Homework No. 2 Variant No. 15 Student Lukas Skirdmakes c m proup. I got the task ...................... tre Homework Submission Date: December 11th, 2019 System model Suppose that the state of a computer system is described by the following characteristics: The system comprises of five processes and four types of resources PO-P4 denotes the set of processes RI-R4 denotes the set of resource types Total Existing Resources are: Resource types R2 The number of items of each type: 9 1 0 . During the launch, the processes declared their maximum requests: Mix] Resource types Processes R3 PO 2 32 3 P1 2 P2 4 P3 2 P4 3 Currently used resources are described as follows: (Allocation) Resource types Processes R1 R2 R3 PO 0 1 2 Pi 1 1 1 P2 2 2 1 P3 1 0 0 - P4 I 1 1 R4 1 1 0 1 Assignment: a) Compute the Available vector, b) Compute the [Need matrix. c) Using the bankers' algorithm, determine if the system is currently in a safe state If so, give a safe sequence of the process. In addition, show how the Available) (Working vector changes as each process terminates d) If the request [1, 1, 0, 0 from P1 arrives, will it be correct to grant the request? Justify your decision using the bankers' algorithm. Report Requirements a. The report is written by hand on sheets of A4 paper. b. Calculations in accordance with paragraphs a) to d) of the assignment must be presented in the report. c. Report Content: 1. Signed assignment sheet IL Calculations in accordance with paragraphs a) to d) of the assignment

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Students also viewed these Databases questions

Question

What are the main differences between rigid and flexible pavements?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago

Question

What is the relationship between humans?

Answered: 1 week ago

Question

What is the orientation toward time?

Answered: 1 week ago