For the binary ()operator, if the input is two 0s, the output is 0.
AND
B. OR
C. XOR
D. all of the above
查看答案
For the binary( )operator, if the input is two 1s, the output is 0.A.B.C.D.
AND
B. OR
C. XOR
D. all of the above
To flip all the bits of a bit pattern, make a mask of all 1s and then ( )the bit pattern and the mask.
AND
B. OR
C. XOR
D. NOT
To unset (force to 0) all the bits of a bit pattern, make a mask of all 0s and then ( )the bit pattern and the mask.
AND
B. OR
C. XOR
D. NOT
To set (force to 1) all the bits of a bit pattern, make a mask of all 1s and then ____the bit pattern and the mask.
AND
B. OR
C. XOR
D. NOT