作者bochengchen (LFII)
看板Grad-ProbAsk
标题[理工] 99交大OS 10、18、23、25
时间Thu Dec 5 13:34:28 2019
各位大大好,有几题99交大OS 的题目想要请教!
1.
https://imgur.com/cYm7YtR.jpg
这题的答案是B 两次,我猜是因为一次read index node,一次read data block。
我的问题是该怎麽确定index node在不在memory里面呢? 毕竟他前面已经有read 其他dataxk7
!
2.
https://imgur.com/acT5aMB.jpg
这题答案是ABC,想请问为什麽B可以选呢?
3.
https://imgur.com/AU7FOJm.jpg
这题的答案是ABD,不知道C选项错在哪里呢?
是因为将user process move to ready quene这件事情不是由interrupt handler执行吗?
4.
https://imgur.com/onJT4e0.jpg
答案是C,想请问D选项为甚麽不能选??
感谢各位大大
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 124.199.106.66 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Grad-ProbAsk/M.1575524070.A.A16.html
1F:→ DLHZ: 4.可以在不登入的情况下把帐户密码移掉 12/05 13:47
2F:→ DLHZ: 2.真的要说B对也好像不是不行 但我觉得有点牵强 12/05 14:02
3F:→ DLHZ: 1.提到no block data is cached 2.後来想想好像满有道理的 12/05 14:50
4F:→ DLHZ: 把会造成死结(高风险)的程式都删掉就没问题了? 12/05 14:51
7F:→ mistel: 请问上面这张图这样写不是指waiting->>running 是给inter 12/05 18:15
8F:→ mistel: rupt handler做吗?有点看不懂为什麽 12/05 18:15
9F:→ mistel: 3的C是错的? 12/05 18:16
10F:→ mistel: 哦哦我懂了,是signal? 12/05 18:18
11F:→ DLHZ: 没讲清楚 网站里有一块特别说是由interrupt handler移的 12/05 19:01
12F:→ DLHZ: 但我找到相关讲明的不多 几乎都只提到scheduler会移的部分 12/05 19:02
13F:→ DLHZ: 所以我也不是非常确定 但我觉得应该不限单一种做法 12/05 19:03
14F:→ bochengchen: 感谢两位大大~~ 12/06 11:02