edited by
532 views
1 votes
1 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 _______
edited by

1 Answer

Best answer
0 votes
0 votes

   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
Answer:

Related questions

2 votes
2 votes
3 answers
1
Bikram asked Dec 26, 2016
1,032 views
In a paged memory, the page hit ratio is $0.35$. The time required to service the page fault is $100$ ns. Time required to access a page in primary memory is $10$ ns.The ...
1 votes
1 votes
1 answer
4