subject

Imagine we have a disk drive with 3000 cylinders, which are numbered 0 to 2999. The drive is currently serving a request at cylinder 93, and the previous request was at cylinder 125 (hint this tells you direction). The queue of pending requests, in FIFO order, is: 45, 1950, 912, 1090, 130, 10, 2250, 130
Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests, for each of the following disk scheduling algorithms feel free to draw how the head navigated through each of the algorithm and count that way, or create a table showing each head movement to keep track.
FCFS
SCAN
SSTF
C-SCAN
Q2: After looking over your results for question 1, which algorithm causes the disk head to travel the smallest number of cylinders?

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:00, ittmanny6138
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
image
Computers and Technology, 23.06.2019 07:30, cireland
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits. now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order. finally, output thedigits in thearray. use at least two functions to organize your program.
Answers: 3
image
Computers and Technology, 23.06.2019 20:30, cristalcastro901
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
image
Computers and Technology, 24.06.2019 08:20, bob4059
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
You know the right answer?
Imagine we have a disk drive with 3000 cylinders, which are numbered 0 to 2999. The drive is current...

Questions in other subjects:

Konu
Chemistry, 02.10.2020 17:01
Konu
Mathematics, 02.10.2020 17:01