Python Programming Quiz

Quiz
•
Others
•
1st - 5th Grade
•
Medium
Google Developer Student Club USTP
Used 1+ times
FREE Resource
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]
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Bài 25

Quiz
•
2nd Grade
10 questions
test grade 5

Quiz
•
5th Grade
10 questions
maths year 6

Quiz
•
1st - 5th Grade
13 questions
quran quiz

Quiz
•
4th Grade
13 questions
STRAND ONE MATHEMATICAL ACTIVITY

Quiz
•
1st - 5th Grade
15 questions
UiTM starter pack

Quiz
•
1st Grade
11 questions
Teacher's day quiz

Quiz
•
1st - 5th Grade
15 questions
python à zéro

Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Others
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
Finding Volume of Rectangular Prisms

Quiz
•
5th Grade
13 questions
Subject Verb Agreement

Quiz
•
3rd Grade
15 questions
Order of Operations

Quiz
•
5th Grade
20 questions
States of Matter

Quiz
•
5th Grade
15 questions
Plural Nouns

Quiz
•
3rd Grade
10 questions
Place Value

Quiz
•
3rd Grade