Vidyalelo
Python · Q1

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 1

Q1

What is the result of 5 & 3 ?

A.
8
B.
1
Answer
C.
7
D.
15

Answer: Option B

Solution

Answer: Option B
Solution:
The & operator performs bitwise AND on the binary representations of the numbers.