Multiple choice

What will be the total head movement using SSTF disk scheduling, if the disk head is initially at 53? Given the queue is: 98, 183, 37, 122, 14,124, 65, 67

  1. 236 cylinders

  2. 226 cylinders

  3. 326 cylinders

  4. 336 cylinders

  5. None of these

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

This is correct  because shortest seek time first algorithm selects the request with the minimum seek time from the current head position. So, the movement of disk from current position 53 will be like this - 53 -> 65 -> 67 -> 37 -> 14 -> 98 -> 122 -> 124 -> 183. So, total head movement will be - 65 – 53 = 12 67 - 65 = 2 37 - 67 = 30 37 - 14  = 23 98 -14 = 84 122 - 98 = 24 124 -122 = 2 183 -124 = 59 Total = 12 + 2 + 30 + 23 + 84 + 24 + 2 + 59 = 236 cylinders   So, this is correct answer.