题目
题目
简答题

Consider a disk with tracks numbered 0 to 199. The current head position is 50 (Head Movement is Right). The request queue is: 98, 183, 37, 122, 14, 124, 65, 67. How Many Head movements are there in servicing requests using SSTF?Tip: Enter numerical data ONLY. E.g: "5" and NOT "5 Head Movements".

查看解析

查看解析

标准答案
Please login to view
思路分析
We start by identifying the initial head position and the queue of requests to be serviced using SSTF (Shortest Seek Time First). Initial head position: 50. Pending requests: 98, 183, 37, 122, 14, 124, 65, 67. Step 1: From 50, compute distances to each request: |50-98|=48, |50-183|=133, |50-37|=13, |50-122|=72, |50-14|=36, ......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!