作者flashstar (闪亮的星)
看板TransCSI
标题Re: [考古] 中正-93 我不太清楚的
时间Mon Jun 13 18:24:48 2005
※ 引述《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