Write a program that will simulate the FCFS, SSTF, LOOK, and C-LOOK seekoptimization strategies… 1 answer below »
Write a program that will simulate the FCFS, SSTF, LOOK, and C-LOOK seekoptimization strategies. Assume that:a. The disk’s outer track is the 0 track and the disk contains 200 tracks persurface. Each track holds eight sectors numbered 0 through 7.b. A seek takes 10 + 0.1 * T ms, where T is the number of tracks of motionfrom one request to the next, and 10 is a movement time constant.c. One full rotation takes 8 ms.d. Transfer time is 1 ms.