Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete all of this Problem 5 - Disk Scheduling (12 points) a) Disk requests are received by a disk drive for cylinders 5,25,18,3,39, 8,

Please complete all of this image text in transcribed

Problem 5 - Disk Scheduling (12 points) a) Disk requests are received by a disk drive for cylinders 5,25,18,3,39, 8, and 35 in that order. How many head movements (in \# of cylinders) are needed to serve these requests if serviced with the indicated algorithms? Assume a total of 40 cylinders (i.e., 0 to 39), that the arm is currently at cylinder 20 , and that it is currently moving towards cylinder 39. - Shortest Seek Time First (SSTF) (4 points) O Order: (20), Head movements: - C-LOOK (4 points) O Order: (20), - Head movements: - SCAN (elevator algorithm) (4 points) (Grading Note: full points if you have also added the 0 after the last request at 356 before changing direction. If you missed including the 0 , then 1pt penalty.) Order: (20) Head movements

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 International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions