Chitika

Friday, 3 January 2014

Ques 48-II-D-13

48. Consider a disk queue with request for input/output to block on cylinders
98, 183, 37, 122, 14, 124, 65, 67
in that order. Assume that disk head is initially positioned at cylinder 53 and moving towards cylinder number 0. The total number of head movements using Shortest Seek Time First (SSTF) and SCAN algorithms are respectively
(A) 236 and 252 cylinders
(B) 640 and 236 cylinders
(C) 235 and 640 cylinders
(D) 235 and 252 cylinders

ANS-(*)

If we solve it we get SSTF- 236 but when SCAN doesn't move 252 cylinder.

No comments:

Post a Comment