To flip all the bits of a bit pattern, make a mask of all 1s and then ( )the bit pattern and the mask.
查看答案
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
To unset (clear) a bit in a target bit pattern, set the corresponding mask bit to ____and use the ____operation.
To flip a bit in a target bit pattern, set the corresponding mask bit to ____and use the____operation.