subject

Write a program the implements the following disk-scheduling algorithms: a. FCFS b. SSTF c. SCAN Your program will service a disk drive with 5,000 cylinders numbered 0-4,999. The program shall use the set of 50 requests provided below and service them according to three of the algorithms listed above. The program will be passed the initial position of the disk head (65) and the current direction (upwards) in which it should start moving as parameters on the command line and shall report the total amount of head movement by each algorithm. 4078, 153, 2819, 3294, 1433, 211, 1594, 2004, 2335, 2007, 771, 1043, 3950, 2784, 1881, 2931, 3599, 1245, 4086, 520, 3901, 2866, 947, 3794, 2353, 3970, 3948, 1815, 4621, 372, 2684, 3088, 827, 3126, 2083, 584, 4420, 1294, 917, 2881, 3659, 2868, 100, 1581, 4581, 1664, 1001, 1213, 3439, 4706, 4869

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:20
Which of these is a benefit of social networking? oa. hiding your true identity from friendsob. avoiding talking to people in personoc. spending time with friends instead of studyingod. connecting with new people
Answers: 2
question
Computers and Technology, 22.06.2019 11:30
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
You know the right answer?
Write a program the implements the following disk-scheduling algorithms: a. FCFS b. SSTF c. SCAN You...
Questions
question
Chemistry, 29.01.2020 12:00
question
Mathematics, 29.01.2020 12:01
Questions on the website: 13722367