Font size
Worksheets2025 python class first quiz
Total questions: 10
Worksheet time: 9mins
What is the output of the code above?
3
<class 'str'>
<class 'int'>
<class 'float'>
What is the output of the code above?
a
<class 'str'>
<class 'int'>
<class 'float'>
What is the output of the code above?
78
90
168
7890
What is the value of variable a?
What is the value of variable b?
21
312
2
1312
213
12
21
12
What is the output of the code above?
13
127
255
63
Which of the following statements is not the three basic control structures in programming languages?
iteration
execution
selection
sequence
What is the output of the code above?
Buy A
Buy B
Do not Buy
Buy A
Buy B
What is the output of the code above?
Buy A
70
Buy B
50
100
Buy A
Buy B
20
What is the output of the code above if the input is 10?
1
3
5
1
3
5
7
9
1
2
3
4
5
0
2
4
Which of the following statements is not a possible output of the code above?
0 is perfect square.
1 is perfect square.
2 is not perfect square.
4 is perfect square.
