Exercise: Bitwise Operators

Questions for: Bitwise Operators

Bitwise can be used to reverse a sign of a number.
A:
Yes
B:
No
C:
D:
Answer: B
No answer description is available. Let's discuss.
Bitwise & can be used in conjunction with ~ operator to turn off 1 or more bits in a number.
A:
Yes
B:
No
C:
D:
Answer: A
No answer description is available. Let's discuss.
On left shifting, the bits from the left are rotated and brought to the right and accommodated where there is empty space on the right?
A:
True
B:
False
C:
D:
Answer: B
No answer description is available. Let's discuss.
Left shifting an unsigned int or char by 1 is always equivalent to multiplying it by 2.
A:
True
B:
False
C:
D:
Answer: A
No answer description is available. Let's discuss.
Bitwise & can be used to divide a number by powers of 2
A:
True
B:
False
C:
D:
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz