题目
System Software and Computing Concepts (032025-ABB)
简答题
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 with the disk head at track 50 and the request queue: 98, 183, 37, 122, 14, 124, 65, 67. Using the SSTF (Shortest Seek Time First) strategy, at each step we pick the pending request closest to the current head position.
Step 1: From 50, distances to each request: |98-50|=48, |183-50|=133, |37-50|=13, |122-50|=72, |14-50|=36, |124-50|=74, |......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Which disk scheduling algorithm might lead to a "sweeping" effect where requests are serviced in a patterned manner across the disk?
Which disk scheduling algorithm is the simplest and processes requests in the order they arrive?
Consider a disk with tracks numbered 0 to 199. The current head position is 50 (Head Movement is Left). The request queue is: 98, 183, 37, 122, 14, 124, 65, 67. How Many Head movements are there in servicing requests using C-LOOK?Tip: Enter numerical data ONLY. E.g: "5" and NOT "5 Head Movements".
Which disk scheduling algorithm might lead to a "sweeping" effect where requests are serviced in a patterned manner across the disk?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!