ISRO | ISRO CS 2018 | Question 68

Disk requests come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6, and 38 at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms/cylinder. The total seek time, if the disk arm scheduling algorithms is first-come-first-served is
(A) 360 ms
(B) 850 ms
(C) 900 ms
(D) None of the above


Answer: (D)

Explanation: FCFS
Total seek time in FCFS Scheduling when the disk drive is reading from cylinder 20 for cylinders in the order 10, 22, 20, 2, 40, 6, and 38 :

= (10 + 12 + 2 + 18 + 38 + 34 + 32)*6
= 146*6
= 876 ms

As no other option matches the answer, option (D) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.