URGENT HELP NEEDED
IN JAVA
Write a program that implements the following disk-schedulingalgorithms: (Pick three)
a. FCFS
b. SSTF
c. SCAN
d. C-SCAN
e, LOOK
f. C-LOOK
Your program will service a disk with 5,000 cylinders numbered 0to 4,999. The program will generate a random series of 50 requestsand service them according to each of the algorithms you chose.
The program will be passed the initial position of the disk headas a parameter on the command line and report the total amount ofhead movement required for each algorithm.
Expert Answer
Answer to URGENT HELP NEEDED IN JAVA Write a program that implements the following disk-scheduling algorithms: (Pick three) a. FCF…