
Python Programming Quiz
Authored by Google Developer Student Club USTP
Others
1st - 5th Grade
Used 1+ 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
What is the output of the following code?
Hello World
HelloWorld
Hello+World
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
12
13
14
15
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
[1, 2, 3]
[1, 2, 3, 4]
[4]
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
[2, 4, 6]
[1, 2, 3, 1, 2, 3]
[1, 1, 2, 2, 3, 3]
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a list in Python?
list = (1, 2, 3)
list = [1, 2, 3]
list = {1, 2, 3}
list = <1, 2, 3>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable x with the value 10 in Python?
int x = 10
x := 10
x = 10
declare x = 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
[0, 1, 2, 3, 4]
[1, 2, 3, 4, 5]
[0, 1, 2, 3, 4, 5]
[5, 4, 3, 2, 1]
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?