retagged by
718 views
2 votes
2 votes
A disk has $200$ cylinders numbered $0$ to $199$ . The drive is currently serving a request at cylinder $53$, and the previous request was at cylinder $25$. The queue of pending requests, in $FIFO$ order, is –-- $98, 183, 37, 122, 14, 124, 65, 67.$

Starting from the current head position, the total distance the disk arm moves to satisfy all the pending requests for $C-LOOK$ disk-scheduling discipline is _____ cylinders.
retagged by

1 Answer

Best answer
2 votes
2 votes

14   37     53    65    67      98   122    124         183          199

   For  C-LOOK the order is : 53 , 65 , 67 , 98 , 122 , 124 , 183 , 14 , 37            

                  

The total distance:

​​​​​​(65-53)+(67-65)+(98-67)+(122-98)+(124-122)+(183-124)+(183-14)+(37-14) = 322 Cylinders

selected by
Answer:

Related questions

1 votes
1 votes
2 answers
4