NEW
Font size
WorksheetsPython Operators
Total questions: 19
Worksheet time: 10mins
What is the result of 5 + 3 * 8 -2?
25
20
22
None of the options
Which operator is used for greater than comparison?
>
<==
=
<=
!=
What is the result of True and False?
True
None
Invalid
False
What is the assignment operator for adding and assigning in Python?
+=
-=
*=
++
Which operator is used to compare if two variables are pointing to the same object?
same
equals
===
is
What is the result of 10 | 4?
6
16
12
14
What is the result of print (8 / 2) in python?
None of the goven options
4
3
2
Which operator is used for less than or equal to comparison?
<
=>
<>
<=
What is the result of True or False?
Banana
True
Purple
Maybe
What is the assignment operator for dividing and assigning in Python?
/=
div=
/
//
Which operator is used to check if two variables are not pointing to the same object?
>
==
<
!=
What is the result of 5 & 3?
4
6
2
1
What is the result of 7 * 2?
5
14
21
10
Which operator is used for equal to comparison?
==
><
<>
!=
What is the result of not True?
False
Maybe
True
Unknown
What is the assignment operator for subtracting and assigning in Python?
-/
-*
-=
-+
Which operator is used to check if a value exists in a sequence?
at
to
on
in
What is the result of 12 ^ 5?
248822
248822
248832
248822
What is the result of 9 % 4?
3
2
5
1
