Certified Associate in Python Programming (PCAP) — Question 71

And operator able to perform bitwise shifts is coded as (Choose two.)

Answer options

Correct answer: C, D

Explanation

The correct answers are C (<<) and D (>>), as these operators are used for left and right bitwise shifting, respectively. Options A (--) and B (++) are increment and decrement operators, which do not perform bitwise shifts.