Multiple choice

Consider a situation in which the disk read/write head is currently located at track 15 (of tracks 0-50) and moving in the positive direction. Assume that the following track requests have been made in this order: 5, 45, 30, 10, 25, 35, 42, 21. What is the order in which optimised C-SCAN would service these requests and what is the total seek distance?

  1. 95

  2. 100

  3. 91

  4. 90

  5. 105

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Total seek distance = (21- 5) + (25 - 21) + (30 - 25)+(35 - 30) + (42 - 35) + (45 - 42) + (45 - 50) + (50 - 0) + (5 - 0) + (10 - 5) = 95