看板 Grad-ProbAsk 關於我們 聯絡資訊
(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 —————————— 以上的問題是有上題庫班的朋友跟我討論時的疑問,來請教大家 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.77.172.192 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1510563032.A.322.html
shownlin: 1.英文問題,看成generate就懂了11/13 17:14
shownlin: 2.不是,這是恐龍的定義,time-sharing 是multiprogramm11/13 17:16
shownlin: ing的一種,支援user-interactive11/13 17:16
shownlin: 3.有I/O的一定有,可以去看unix的system call 11/13 17:17
TMDTMD2487: 除非題目是要你區分h/s的中斷,不然我都當她是hardwar11/13 17:17
TMDTMD2487: e interrupt11/13 17:17
shownlin: 其實OS的這種問答有時沒什麼好理由,恐龍翻過就有印象了11/13 17:18
TMDTMD2487: 2我覺得很模糊,但就照恐龍原文,不然其實我覺得2沒11/13 17:19
TMDTMD2487: 什麼問題耶@@11/13 17:19
shownlin: https://i.imgur.com/49DyxIE.jpg11/13 17:22
shownlin: 所以洪逸說恐龍一定要翻...11/13 17:22
TMDTMD2487: 是原文沒錯可是就題目的語意上其實沒什麼問題,洪逸也11/13 17:25
TMDTMD2487: 說得過去不過就照原文好了11/13 17:25
TMDTMD2487: 我比較想知道軟體中斷本質上跟硬體是不是一樣都是靠11/13 17:28
TMDTMD2487: 中斷訊號發生的11/13 17:28
是因為區分中斷的方式不同,所以若題目沒特別要求分清楚,hardware interrupt 就歸 類在interrupt裡面的意思嗎? 感謝兩位的不吝解惑! ※ 編輯: etesia329 (42.77.172.192), 11/13/2017 17:48:34
converse0201: http://i.imgur.com/uocxeG6.jpg Google 到的,詳細11/13 23:39
converse0201: 在最下面一段 11/13 23:39
converse0201: 1 的部分 11/13 23:40
很受用的資訊,謝謝c大!!! ※ 編輯: etesia329 (118.171.103.52), 11/13/2017 23:56:12
leoone: 恐龍一定要翻,看到題目覺得語意斷句很怪的都是從原文截下 11/14 00:05
leoone: 來的,就算截下來意思完全偏掉也要當他是真理 11/14 00:05
leoone: https://i.imgur.com/OvywQdG.jpg 11/14 00:09
leoone: 就像這題的D XDD 11/14 00:09
leoone: https://i.imgur.com/C20hKYt.jpg 11/14 00:11
leoone: 結果恐龍原文長這樣XDDD 11/14 00:11
這種選項 若沒有上下文的前因後果,真的會不好理解...謝謝l大的補充! 很受用XD ※ 編輯: etesia329 (118.171.103.52), 11/14/2017 00:27:30