Worksheetsturtle_race_quiz
Total questions: 10
Worksheet time: 5mins
Which Python module is used to create graphics in the Turtle Race game?
graphics
turtle
pygame
math
What does screen.bgcolor("lightblue") do?
Sets background color of the window
Changes text color
Changes turtle color
. Sets race track border
What is the purpose of randint(1, 10) in the loop?
choose the turtle number
Move turtle forward randomly
choose a random color for the turtle
choose a random finish line
Which command is used to wait for user input in Turtle screen?
What happens when a turtle crosses the finish line?
The program crashes
The loop stops
The turtle changes direction
The race resets
What does turtle.Turtle(shape="turtle") do?
Creates a race track
Creates a turtle-shaped window
Creates a turtle object
Creates a list of turtles
What data structure is used to store all racer turtles?
List
Tuple
Dictionary
loop
The loop controlling the race is a:
for
while
if
nested
What is the role of the colors list?
Assigns different colors to turtles
Stores winner colors
randomly picks colors
give turtle names
What does turtle.goto(-230, y_positions[i]) do?
Places turtle at finish line
Places turtle at starting line
Stops the turtle
gives random movement
