
Year 7 Python Game Reflection Quiz

Quiz
•
Performing Arts
•
7th - 12th Grade
•
Medium

David Gill
Used 1+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python used for?
Drawing shapes
Storing information
Printing to the screen
Making your game faster
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does this loop do? for i in range(5): print(i)
Loops forever
Prints numbers 1–5
Prints numbers 0–4
Creates a new variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of these is a conditional statement?
while True:
for i in range(10):
if score > 100:
print(score)
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What happens if you forget a colon (:) in a Python if statement?
The code will run
You get a syntax error
It prints nothing
The if statement is skipped
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which function would you use to get a random number?
random()
choice.random()
random.randint()
number.random()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these could cause your game to crash?
Too many spaces
A syntax error
Using variables
Having comments
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What’s the best way to fix an error?
Ignore it
Ask someone else to code it
Read the error message and trace the problem
Restart your computer
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Review for the Mid - Term Spring 2023

Quiz
•
9th - 12th Grade
27 questions
french vocabularies du film

Quiz
•
9th - 12th Grade
30 questions
Year 7 Drama

Quiz
•
7th Grade
21 questions
Percussion instruments of the orchestra

Quiz
•
6th - 8th Grade
21 questions
GCSE Drama - Writing about performing a script

Quiz
•
8th - 12th Grade
21 questions
Music Symbols and Meanings Quiz - Beginner

Quiz
•
9th - 12th Grade
30 questions
Movies

Quiz
•
10th Grade - Professi...
21 questions
Music in Film - Composition, colour & types of music

Quiz
•
5th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade