题目内容

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

The unary ____operator inverts its single input.

AND
B. OR
C. NOT
D. XOR

答案查题题库