数学要求 [英] Math required

查看:80
本文介绍了数学要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题在我的作业上工作了1分,所以它必须很简单,所以我不知道我是否在使htis复杂化.我尝试了很多不同的方法来解决这个问题,但没有一个是正确的.请帮忙

假设一个多程序操作系统分配了50秒的时间片.如果将Sisk读/写头放置在所需磁道上通常花费8毫秒,而所需数据在读/写头周围旋转又需要17毫秒,则可以花费程序的时间片等待从磁盘进行读取操作.如果机器能够每微秒执行十条指令,则在此等待期间可以执行多少条指令.

8 + 17/500毫秒.所以25秒是用来做一些事情的.所以要等待500-25 = 475毫秒?????

第二部分:每微秒10条指令.所以4750微秒,所以4750/10 = 475条指令????????????

this question is worked 1 mark on my assignment so it must be simple, so I dont know if i am over complicating htis. I have tried so many diffrent ways of figuring this out and none of them are right. Please help

Suppose a multiprogramming operating syste is alloting time slices of 50 seconds. If it normally takes 8 milliseconds to position a sisk read/write head over the desired track and another 17 milliseconds for the desired data to roate around the read/write head, how much of the program''s time slice can be spent waiting for a read operation from a disk to take place. If the machine is capable of executing ten instructions each microsecond, how many instructions can be executed tduring this waiting period.

8+17/500 milliseconds. so 25 seconds is used to do some stuff. so 500-25=475 millseconds to wait?????

second part: 10 instructions each microsecond. so 4750 microseconds, so 4750/10= 475 instructions??????????

推荐答案

这是作业,我们不做在这边为什么不告诉我们您当前的解决方案,然后有人可以帮助您解决它.

并且,请编辑您的问题,而不是将其发布为答案.

-Saurabh
This is homework assignment and we don''t do them over here. Why don''t you tell us your current solution and then someone can help you fix it.

And please edit your question instead of posting it as an answer.

-Saurabh


这篇关于数学要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆