第二章测试1.
For the binary number 10000, the weight of the column with the 1 is ( )
A:8 B:10 C: 4
D:16
答案:D
2.
The 2’s complement of 1000 is ( )
A:0111 B:1010 C:1000 D:1001 3.
The fractional binary number 0.11 has a decimal value of ( )
A:¾
B:none of the above
C: ¼
D: ½
4.
The number 1100 in BCD is ( )
A: equal to decimal eight
B:equal to decimal twelve
C:invalid
D:equal to decimal ten
5.
An example of an unweighted code is ( )
A:Gray code
B:BCD
C:decimal
D:binary
6.
An example of an alphanumeric code is ( )
A:CRC
B:ASCII
C:hexadecimal
D:BCD
7.
The overflow occurs when adding the following 8-bit two’s complement number:
01011101+00110001
A:对 B:错 8.
The overflow does NOT occur when adding the following 8-bit two’s complement number:
10111111+11011111
A:对 B:错 9.
In general, we need at most bits to express the product when multiplying an n-bit number by an m-bit number.
A:错 B:对 10.
An addition overflows if the addends’ signs are the same but the sum’s sign is different from the addends’.
A:对 B:错