※ 引述《larryfeng (ㄚ峰)》之銘言:
: 又要麻煩大家了!
: 先感謝上次為我解題的高手
: 這次還有幾個小題目不知道其詳解
: 上來這裡請教一下大家
: 以下是幾個題目:
: 中山九十一
: 3.
: (a)請問使用2補數表式法(two’s complement)可表示的最大整數和最小整數為多少?(位
: 元長度16 bits)
: (最大整數我知道(2^15)-1,那最小整數為何是(-2^15)?)
最小數為 1000 0000 0000 0000
所以是 (-2^15)
: (b)承(a),使用1補數表示法可表示的最大整數和最小整數為多少? (位元長度16 bits)
: (最大整數我知道(2^15)-1,那最小整數為何是[(-2^15)-1]?)
最小數為 1000 0000 0000 0000
所以是 (-2^15)-1
: 中正九十六
: 1. Given the following three real values, what is the best order in which to
: add these values so that you will get the most accurate answer?
: X=3123*10^4 y=576*10^(-1) z=4421*10^3
: (a) x+z+y
: (b) y+x+z
: (c) z+y+x
: (d) It does not matter in this case
: Ans: (a) (請問一下順序調換會有差異嗎? 不太懂原因)
會有差
要盡量讓兩個差不多相加
不要一個很大的去跟一個很小的去運算
: 中正九十六
: 7. Which of the following statements is true?
: (a) Personal computer (PC) is an embedded system.
: (b) Laptop computer (also known as notebook computer) is an embedded system.
: (c) Printer is an embedded system.
: (d) Automatic teller machine (ATM) is not an embedded system.
: Ans: (D) 但我上去google一下,他說ATM也屬嵌入式系統,該怎麼辦@@?
所以可能是 (C)
: 中山八十三
: 1.
: b) What is the binary representation (by using excess-128) of the decimal
: number 110? Ans: 11101110
: (by using unsigned number 跟by using BCD 我都會,我以為差不多
: 結果用在by using excess-128就不OK了,不知道這之間有何差別,
: 希望高手能指點我一下。)
: (以上這幾題是今天最頭痛的題目,害得我吃不下飯睡不著覺,拜託眾高手們指點我一下
: ,萬分感謝,感謝,再感謝。)
110+128 = 238 => 11101110
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.168.102.37