Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, Please assist with accuracy. Show all your work. Use chart in work. Number clearly. Draw line graph diagram for sequence provided. ******************************************************************* 2.1a -Bankers

Hi,

Please assist with accuracy.

Show all your work. Use chart in work.

Number clearly. Draw line graph diagram for sequence provided.

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

2.1a -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 1 1

3 5 2

P4

3 3 3

4 6 4

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

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

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

Sequence is 10, 50, 36, 21, 74, 28, 19, 35, 80, 72, 89, 20

Draw a line diagram with the track requests indicated (Draw line graph with sequence provided)

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions