看板 Grad-ProbAsk 關於我們 聯絡資訊
Suppose that the head of a moveing-head disk with 150 tracks,numbered 0 to 149,is currently serving a request at track 120 and has just finished a request at track 115.The queue of requests is kept in FIFO order: 89,110,20,45,139 Write down the total number of head movements for (1)FCFS (2)SCAN (3)LOOK (4)SSTF scheduling,respectively. 這是96成大OS 應該很多人都算過了 我買的解答只給怎麼解 沒給答案XD 有興趣的大大是不是能幫我核對看看 這部份錯很大 (1)261 (2)178 (3)158 (4)209 謝謝 -- 一切.... 似乎不再那麼重要.... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.46.165.166
dendrobium:261 158 138 219 02/28 11:23
※ 編輯: lovefo 來自: 125.230.14.194 (02/28 12:42)
qpalwosk:SCAN: (149-120)+(149-20) LOOK: (139-120)+(139-20) 02/28 12:58
qpalwosk:SSTF: (120-110)+(110-89)+(89-45)+(45-20)+(139-20) 02/28 12:59
ChrismasTick:我的答案也跟一樓的一樣耶 03/01 22:48