Python Basic Operators Quiz
1. Which operator is used for multiplication?
+
*
/
%
2. What is the result of 10 / 4?
2
2.5
3
2
3. What does // do?
Modulus
Exponent
Floor division
Normal division
4. What is the result of 10 % 3?
3
1
0
10
5. Which operator checks equality?
=
==
!=
>=
6. What is the result of 5 > 10?
True
False
0
Error
7. Which is a logical operator?
&
and
++
//
8. What does not True evaluate to?
True
False
1
0
9. What is the result of "Hi" * 2?
Hi2
HiHi
Error
Hi Hi
10. Which is an assignment operator?
==
+=
!=
>
Submit Quiz
← Back to Lesson