UGC-NET | UGC NET CS 2015 Jun – II | Question 36

A disk drive has 100 cyclinders, numbered 0 to 99. Disk requests come to the disk driver for cyclinders 12, 26, 24, 4, 42, 8 and 50 in that order. The driver is currently serving a request at cyclinder 24. A seek takes 6 msec per cyclinder moved. How much seek time is needed for shortest seek time first (SSTF) algorithm?
(A) 0.984 sec
(B) 0.396 sec
(C) 0.738 sec
(D) 0.42 sec


Answer: (D)

Explanation: 36 (4)
seek time = 2 =(2 + 14 + 4 + 4 + 38 + 8) = 420 msec
1000 msec = 1 sec
420 msec = 0.42 sec
So, 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.