The ( )method of integer representation is the most common method to store integers in computer memory.
A. sign-and-magnitude
B. one’s complement
C. two’s complement
D. unsigned integers
查看答案
In two’s complement addition, if there is a final carry after the leftmost column addition,( ).
A. add it to the rightmost column
B. add it to the leftmost column
C. discard it
D. increase the bit length
For an 8-bit allocation, the smallest decimal number that can be represented in two’s complement form is ( ).
A. –8
B. –127
C. –128
D. –256
For an 8-bit allocation, the largest decimal number that can be represented in two’s complement form is ( ).
A. 8
B. 127
C. 128
D. 256
In two’s complement representation with a 4-bit allocation, you get ( )when you add 1 to 7.
A. 8
B. 1
C. –7
D. –8