Introduction - If you have any usage issues, please Google them yourself
Write a disk scheduling program to simulate the operating system scheduler to disk. You can track random input sequence of requests, head position and head movement direction of the current, first-come first-serve support, the shortest seek time priority, scanning, cyclic scan scheduling algorithm, capable of outputting head is moved through a sequence of tracks. Input: disk scheduling algorithm which is currently the head position of the head moving direction of the track sequence of requests (Track 1, Track 2, Track 3, ...) in which: (1) scheduling algorithm options are: 1 first come, first served 2 - shortest seek preferred 3 scanning (sCAN) 4 cyclic scan method (C-sCAN) (2) head movement direction options: 1 to head number increasing direction 0 mobile mobile number decreasing direction is output to the head: the head is moved through a sequence of tracks (track 1, track 2, track 3) the total number of tracks head movement through