Q1
What is the result of 5 & 3 ?
A.
8
B.
1
AnswerC.
7
D.
15
Answer: Option B
Solution
Answer: Option B
Solution:
The & operator performs bitwise AND on the binary representations of the numbers.
Python MCQs: Bitwise and Boolean Operations Chapter
Programming · Python · question 1
Q1
Answer: Option B