Question: Create a program to implement some disk scheduling algorithms. Assume our disk has 4 0 0 tracks numbered 0 to 3 9 9 . Also
Create a program to implement some disk scheduling algorithms. Assume our disk has tracks numbered to Also assume each request, seek time is one unit of time per track, and units of time for rotational delay.
Assume we have twenty programs generating requests. After each request for a program has been satisfied, generate a new request according to the following distribution:
of requests: A random request from to
of requests: Repeat the previous request
of requests: The new request will be the old request
If the previous request was for then generate a random request.
For SSTF and SCAN algorithms, output how many requests can be satisfied in units of time. You may use either Java or Python for your program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
