[理工] OS概念题请教

楼主: etesia329 (Etesia)   2017-11-13 16:50:30
(1)
Software may trigger a hardware interrupt by executing a special operation cal
led a system call.
答案:True
问题:想请教 软件产生的中断不是称为software interrupt(trap)吗
——————————
(2)
The Round Robin CPU scheduling algorithm was designed especially for interacti
ve system.
答案:False,应该为Time sharing system
问题:疑问的点在于time sharing system 不就算是一个interactive system了吗
——————————
(3)
Whose ones of the following operations involve at least one system call?
选项:Displaying a window on the screen
问题:想请教为什么此选项至少有一次system call
——————————
以上的问题是有上题库班的朋友跟我讨论时的疑问,来请教大家 谢谢!
作者: shownlin (哈哈阿喔)   2017-11-13 17:14:00
1.英文问题,看成generate就懂了2.不是,这是恐龙的定义,time-sharing 是multiprogramming的一种,支援user-interactive3.有I/O的一定有,可以去看unix的system call
作者: TMDTMD2487 (ㄚ冰)   2017-11-13 17:17:00
除非题目是要你区分h/s的中断,不然我都当她是hardware interrupt
作者: shownlin (哈哈阿喔)   2017-11-13 17:18:00
其实OS的这种问答有时没什么好理由,恐龙翻过就有印象了
作者: TMDTMD2487 (ㄚ冰)   2017-11-13 17:19:00
2我觉得很模糊,但就照恐龙原文,不然其实我觉得2没什么问题耶@@
作者: shownlin (哈哈阿喔)   2017-11-13 17:22:00
https://i.imgur.com/49DyxIE.jpg所以洪逸说恐龙一定要翻...
作者: TMDTMD2487 (ㄚ冰)   2017-11-13 17:25:00
是原文没错可是就题目的语意上其实没什么问题,洪逸也说得过去不过就照原文好了我比较想知道软件中断本质上跟硬件是不是一样都是靠中断讯号发生的
作者: converse0201 (Reitiz)   2017-11-13 23:39:00
http://i.imgur.com/uocxeG6.jpg Google 到的,详细在最下面一段1 的部分
作者: leoone (里欧一代)   2017-11-14 00:05:00
恐龙一定要翻,看到题目觉得语意断句很怪的都是从原文截下来的,就算截下来意思完全偏掉也要当他是真理https://i.imgur.com/OvywQdG.jpg就像这题的D XDDhttps://i.imgur.com/C20hKYt.jpg结果恐龙原文长这样XDDD

Links booklink

Contact Us: admin [ a t ] ucptt.com