Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, Please show all your work. Clarity please.... *************************************************************** 4.1 -Bankers -Algorithm (Safety Algorithm) Available Resource Current Allocaton Maximum Need A B C Need to

Hello,

Please show all your work.

Clarity please....

***************************************************************

4.1 -Bankers -Algorithm (Safety Algorithm)

Available Resource

Current Allocaton

Maximum Need

A B C

Need to Complete

A B C

A B C

2 3 1

A B C

P0

1 2 4

6 3 4

P1

1 0 0

6 5 3

P2

1 2 0

1 2 2

P3

2 3 3

3 5 4

P4

3 1 1

4 4 6

Fill in the Need to Complete column

Analyze whether there is a sequence that allows all processes to acquire resources and complete

If there is a sequence to complete list it here: Multiple, starts with P3, P2 either P0, P1

If there is no sequence to complete, explain why not

4.2 Disk Scheduling: using Shortest Seek-Time First, R/W head starts at track 50.

Sequence is 15, 5, 16, 71, 14, 28, 19, 35, 80, 72, 89, 20

Draw a line diagram with the track requests

Add arrows moving the R/W head to the next track using SSTF scheduling

Count the total head movement.

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

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

U11 Informing Industry: Publicizing Contract Actions 317

Answered: 1 week ago