看板 TransCSI 關於我們 聯絡資訊
※ 引述《erichugh (轉阿轉~~)》之銘言: : : ( ) 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.. 我認為答案是(5), 因為64-bit只代表定址能力, 而機器會有多少registers要看實作需求. : : ( ) 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也蠻有可能的... 答案應該是(5), logic是像Prolog這樣的語言, functional則是像ML語言, imperative是命令式, 像SQL語言. : : ( ) 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)則完全沒看過... (b)不就照字面翻嗎? 一種單位而已. (c)Benchmark是一種用來測量系統效能的軟體. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.160.109.106