wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

turtle_race_quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which Python module is used to create graphics in the Turtle Race game?

a)

graphics

b)

turtle

c)

pygame

d)

math

2.

What does screen.bgcolor("lightblue") do?

a)

Sets background color of the window

b)

Changes text color

c)

Changes turtle color

d)

. Sets race track border

3.

What is the purpose of randint(1, 10) in the loop?

a)

choose the turtle number

b)

Move turtle forward randomly

c)

choose a random color for the turtle

d)

choose a random finish line

4.

Which command is used to wait for user input in Turtle screen?

b)

screen.textinput()

c)

screen.text()

d)

input()

5.

What happens when a turtle crosses the finish line?

a)

The program crashes

b)

The loop stops

c)

The turtle changes direction

d)

The race resets

6.

What does turtle.Turtle(shape="turtle") do?

a)

Creates a race track

b)

Creates a turtle-shaped window

c)

Creates a turtle object

d)

Creates a list of turtles

7.

What data structure is used to store all racer turtles?

a)

List

b)

Tuple

c)

Dictionary

d)

loop

8.

The loop controlling the race is a:

a)

for

b)

while

c)

if

d)

nested

9.

What is the role of the colors list?

a)

Assigns different colors to turtles

b)

Stores winner colors

c)

randomly picks colors

d)

give turtle names

10.

What does turtle.goto(-230, y_positions[i]) do?

a)

Places turtle at finish line

b)

Places turtle at starting line

c)

Stops the turtle

d)

gives random movement