BITWISE OPERATORS Flashcards
1
Q
Operators that are used to compare binary values or binary numbers.
A
BITWISE OPERATORS
2
Q
Operator copies a bit to the result if it exists in both operands.
A
Bitwise AND
3
Q
It copies a bit if it exists in either operand.
A
Bitwise OR
4
Q
It copies a bit if it is set in one operand but not both.
A
Bitwise XOR
5
Q
It is unary and has the effect of ‘flipping’ bits.
A
Bitwise NOT
6
Q
The left operands value is moved left by the number of bits specified by the right operand.
A
Bitwise Left Shift
7
Q
The left operands value is moved right by the number of its specified by the right operand
A
Bitwise Right Shift