in Operating System edited by
255 views
0 votes
0 votes
Suppose the disk drive has $200$ cylinders ( numbered $0$  to $199$). The drive is currently serving the request at cylinder $53$. The previous request was at cylinder $25$. A queue of pending requests in FIFO order is
$98, \ 183, \ 37, \ 122, \ 14, \ 124,\  65, \ 67$
Starting from the current head position. The total distance traveled by the disk arm in SCAN scheme _______
in Operating System edited by
by
255 views

1 Answer

0 votes
0 votes
Best answer

   14    37    53         65          67        98        122      124          183        199

                      65

                                     67      

                                                 98      

                                                      122

                                                                     124        

                                                                             183

                                                                                       199

               37

14

                                                                                                                                                         

 
   

        so for  Scan: 53 , 65 , 67 , 98 , 122 , 124 , 183 , 199 , 37 , 14 

              

The total distance: (65-53)+(67-65)+(98-67)+(122-98)+(124-122)+(183-124)+(199-183)+(199-37)+(37-14)= 331 Cylinders

selected by

4 Comments

see my answer carefully and analyse that diagram i draw, it will tell you.
0
0

@HRK click below document and check for disk problems 

Document

0
0
so the request at 25 cylinder is not at all considered?
0
0
Answer:

Related questions