WorksheetsQuiz on Basic Python Operators
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
What is the result of 7+5 in Python?
a)
10
b)
12
c)
13
d)
11
2.
Which operator is used in Python for subtraction?
a)
+
b)
*
c)
/
d)
-
3.
What is the output of 6×4 in Python?
a)
24
b)
10
c)
20
d)
18
4.
Which of the following is the division operator in Python?
a)
%
b)
/
c)
*
d)
**
5.
What is the result of 15%4 in Python?
a)
3
b)
4
c)
2
d)
1
6.
Which operator is used for exponentiation in Python?
a)
^
b)
**
c)
//
d)
%
7.
What is the result of 9−3 in Python?
a)
12
b)
6
c)
3
d)
9
8.
What is the output of 8/2 in Python?
a)
4
b)
6
c)
2
d)
8
9.
What is the result of 2∗∗4 in Python?
a)
6
b)
8
c)
16
d)
12
10.
What is the result of 10%3 in Python?
a)
1
b)
2
c)
3
d)
0
100 %
