aricent
Company
Category
Suppose that a disk has 100 cylinders, numbered 0 to 99.The drive is currently serving a request at cylinder 40 and the disk arm is moving towards 0.The queqe of pending request is : 80,35,70,55,85,30,50.starting from the current head position, what is the total distance(in cylinders) that the disk arm moves to satisfy all the pending request for SCAN disk scheduling algorithm?
a.65
b.85
c.115
d.125
Read Solution (Total 1)
-
- ans d:125
since the disk moving towards 0
|40-35|+|35-30|+|30-0|+|0-50|+|50-55|+|55-70|+|70-80|+|80-85|=
5+5+30+50+5+15+10+5=125 - 9 years agoHelpfull: Yes(0) No(0)
aricent Other Question