[作業系統]基本概念

看板Grad-ProbAsk作者 (東京熱死胖子)時間13年前 (2012/11/23 19:31), 編輯推噓6(6014)
留言20則, 7人參與, 最新討論串1/1
1. Which of the following statement is correct? (A)For the interrupt which is masked, the interrupt still notifies the CPU but the CPU does not process the request. (B)Software interrupt also goes through the interrupt controller tonotify the CPU. (C)Events are almost always signaled by the occurrence of an interrupt or a trap. 2. Which events are not occurred when an application makes a system call? (A)the CPU mode is changed from user mode to system mode (B)this application is temporary suspened (C)the service routine in OS is invoked (D)the parameters may be passed by registers or a memory block with the start address in a register 3. 是非題 (1).After a user program starts an I/O operation, it has to wait for the completion of the I/O operation to resume its program execution. (2).Interrupt vector tells us the port addresses of the I/O controllers. (3).page tables can be used to protect system resources. 作業系統好難> < 拜託各位了... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.123.237.64 ※ 編輯: TokiyoHot 來自: 140.123.237.64 (11/23 19:41) ※ 編輯: TokiyoHot 來自: 140.123.237.64 (11/23 21:56) ※ 編輯: TokiyoHot 來自: 140.123.237.64 (11/23 22:01)

11/23 22:37, , 1F
我選C.D.X.X.O 不過第一二題沒把握
11/23 22:37, 1F

11/23 23:25, , 2F
第二題應該是D沒錯 想問一下是非第一題為什麼是X
11/23 23:25, 2F

11/23 23:29, , 3F
因為若是No-wait I/O 則無需等待,另外請問2.D錯在哪
11/23 23:29, 3F

11/23 23:38, , 4F
單純只是覺得ABC是對的...
11/23 23:38, 4F

11/23 23:44, , 5F
他第二題答案給的是B,所以我想問suspend跟wait有差嗎?
11/23 23:44, 5F

11/23 23:46, , 6F
因為恐龍版的process的STD好像沒有suspend,
11/23 23:46, 6F

11/23 23:47, , 7F
可是有些版本的STD好像有把suspend跟wait分開0.0
11/23 23:47, 7F

11/23 23:49, , 8F
以我的理解從suspend是已經被swap out,而wait是因為
11/23 23:49, 8F

11/23 23:51, , 9F
process要等待I/O完成或一些event的發生才會從Running
11/23 23:51, 9F

11/23 23:51, , 10F
變wait(Block),可是我不知道這樣對不對
11/23 23:51, 10F

11/23 23:53, , 11F
請問一下為什麼page table可以用來保護系統資源@@?
11/23 23:53, 11F

11/24 00:03, , 12F
add a protection bit
11/24 00:03, 12F

11/24 00:03, , 13F
不同行程有各自P.T,避免互相干擾,存取別的行程的資訊
11/24 00:03, 13F

11/24 00:12, , 14F
感謝,原來如此!!
11/24 00:12, 14F

11/24 11:48, , 15F
對喔 應該是B 先進入Wait suspend是等待狀況下如果系統
11/24 11:48, 15F

11/24 11:48, , 16F
下才進入
11/24 11:48, 16F

11/24 11:49, , 17F
空間不足
11/24 11:49, 17F

11/24 14:29, , 18F
11/24 14:29, 18F

11/24 14:31, , 19F
有人知道是非題1,2為什麼是錯的嗎@@?
11/24 14:31, 19F

11/26 01:27, , 20F
是非2錯在應該是ISR位址才對?是非1我也想知道錯在那..
11/26 01:27, 20F
文章代碼(AID): #1Ghrw1v9 (Grad-ProbAsk)