if the new requests come in for cylinders 5 41 20 33 8 and 1
if the new requests come in for cylinders 5, 41, 20, 33, 8, and 13 while the seek to cylinder 11 is in progress, what are the total cylinders the disk arm should move to fulfill all the requests based on the SSF (Shortest Seek First) algorithm?
1) 56
2) 46
3) 36
4) 26
Solution
Answer :-
3) 36 .
Explanation :
1) the total cylinders the disk arm should move to fulfill all the requests based on the SSF .
2) The problem of scheduling an elevator in a tall building is similar to that of scheduling a disk arm. Requests come in continuously calling the elevator to floors (cylinders) at random.
3) The computer running the elevator could easily keep track of the sequence in which customers pushed the call button and service them using FCFS or SSF.
