
Python Quiz
Authored by Ridhaan Mishra
Computers
6th - 8th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many spaces is an indentation?
2 spaces
3 spaces
4 spaces
5 spaces
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will it print?
num 8
num8
8
nothing
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many errors are there in this code?
1
2
3
4
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Where can a global var be used? Select all that apply.
They can be used inside a loop
They can be used in a function
They can be used in a conditional
They can be used only in a function.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is an indentation used in functions?
to make it look cool
to indicate the name of the function
to indicate the block of code in a function
to make it indented
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result?
3
256
512
256
1
512
1
512
256
512
256
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the answer?
23 89
112
xy
x + y
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?