题目内容

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

查看答案
更多问题

In two’s complement representation with a 4-bit allocation, you get ( )when you add 5 to 5.

A. -5
B. -6
C. –7
D. 10

For the binary AND operator, only an input of ( )gives an output of 1.

A. two 0s
B. two 1s
C. one 0 and one 1
D. any of the above

For the binary OR operator, only an input of ( )gives an output of 0.

A. two 0s
B. two 1s
C. one 0 and one 1
D. any of the above

The binary ____operator takes two inputs to produce one output.

AND
B. OR
C. XOR
D. all of the above

答案查题题库