問題詳情
45. 以下的數字表示法中,何者數值0只有一種表示法?
(A) Sign-and-magnitude representation
(B) One’s complement representation
(C) Two’s complement representation
(D) IEEE-754 floating-point representation
參考答案
答案:C
難度:適中0.41573
統計:A(17),B(16),C(37),D(1),E(0)
用户評論
【Elizabeth】評論
二補數系統的0就只有一個表示方式,這點和一補數系統不同(在一補數系統中,0有二種表示方式),因此在判斷數字是否為0時,只要比較一次即可。