题目
题目
简答题

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".

查看解析

查看解析

标准答案
Please login to view
思路分析
Question restatement: A disk has tracks 0–199. Head initially at 50 with movement direction Left. Request queue: 98, 183, 37, 122, 14, 124, 65, 67. We must compute total head movements using C-LOOK. First, identify which requests lie to the left of the starting head (i.e., <= 50) and which lie to the right (i.e., > 50). - Left of 50:......Login to view full explanation

登录即可查看完整答案

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

更多留学生实用工具

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