※ 引述《Elfiend (小孩)》之銘言:
: ( ) 3.Which of the following is not the way that CPU communicates with I/O?
2
: (1) Direct memory access (2) Pipelining (3) Interrupt (4) Programmed I/O
: 答:(1)直接記憶體存取,是I/O跟記憶體溝通的方法。跟CPU有關?
有關 CPU送出設定給DMA contooller 由DMA controller 管理
: (2)管線,是機器提高工作量的方法。允許機器各步驟在管線重疊。這跟I/O有關?
無關
: (3)中斷,是分時系統工作單元停止的訊號。這跟I/O有關?
有關
: (4)我只知道mapped I/O 。programmed I/O就不曉得了。不過看起來是。
詢問式 有關
: 所以,以上只有一個是? 可是題目是問 not 耶...
詳情請洽OS恐龍本
: ( ) 6.If an system architecture has 64-bit addresses, how many registers
3
: it will have?
: (1) 64 (2) 6 (3) 2^64 (4) 32 (5) unknow
64條定址線 就會指向 2^64 個位址
: 完全不會...沒學過的感覺,an overview裡有這觀念嗎?
我沒念過an overview..
: ( ) 7.Which programming language paradigm do FORTRAN,C,Pascal,Ada,and C++
2
: belong to ?
: (1) object-oriented (2)logic (3)functional (4)imperative (5) none of above
: 答:C++是物件,其他都是命令式。 所以?該選5嗎?
其實C++不算純OO..所以我覺得應該是2
但是不確定 不知道3是什麼意思 不然3也蠻有可能的...
: ( ) 9.add the following nodes to a binary search tree in the order they appear
: 6 34 17 19 16 10 23 3 What is the output of a postorder traversal of
: this tree?
: (1) 3 10 16 23 19 17 34 6 (2) 3 6 17 16 10 19 23
: (3) 6 3 34 17 16 10 19 23 (4) 10 16 23 19 17 34 3 6
: 答:我的字典查不到這個字,只有看到post是後的字根~
postorder 後序式 但是重點在前面的建二元搜尋樹
6
/ \
3 34
/
17
/ \
16 19
/ \
10 23
trace完結果是 1
: 簡答題:
: 13.Explain the following terms;
: (a) Multiprocessor
: (b) MIPS (Million Instructions Per Second)
X MIPS = 一秒可執行 X百萬條指令
: (c) Benchmark...不知道
: (a)知道是多處理器有多個CPU,然後還要解釋什麼嗎?
: (b)跟(c)則完全沒看過...
--
大師!請問您一生
◢██◣ 吃過最好吃的東西是什麼? ◢██◣
█ ◥▌╯ █J0██
◤□︵□▌ ╭ @.@ )
◥ o◤ 施主!這個問題的答案 ◥- ◤
在您的嘴裡..........
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.216.182
※ 編輯: erichugh 來自: 140.115.216.182 (06/12 23:22)