Python L28 Turtle Racing

Python L28 Turtle Racing

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Turtle - Knowledge Check

Python Turtle - Knowledge Check

7th - 8th Grade

10 Qs

Edublocks Turtle intro

Edublocks Turtle intro

6th - 8th Grade

13 Qs

Turtle

Turtle

7th - 8th Grade

12 Qs

Self Paced Intro to Turtle Programming

Self Paced Intro to Turtle Programming

1st - 6th Grade

10 Qs

Multiple Choice Questions on Terrapin Logo in Computer

Multiple Choice Questions on Terrapin Logo in Computer

1st - 6th Grade

10 Qs

Small Basic (Turtle)

Small Basic (Turtle)

KG - University

10 Qs

Turtle Academy (Lessons 1 & 2)

Turtle Academy (Lessons 1 & 2)

6th - 8th Grade

10 Qs

Python with Turtle

Python with Turtle

4th Grade - Professional Development

7 Qs

Python L28 Turtle Racing

Python L28 Turtle Racing

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Future Teacher

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following line of code do?

Moves the turtle 1 to 10 pixels

Picks a random number between 1 and 10 (inclusive)

Sets the turtle’s speed

Changes the turtle’s color

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the textinput() function?

To move turtles based on user input

To get text from the user

To display text on the screen

To color the turtles

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of value does textinput() return?

Integer

Boolean

String

Float

4.

MATCH QUESTION

1 min • 5 pts

Match the Code with the Description

Returns a random number between 1–10

xcor()

Creates a new turtle object

turtle.Turtle()

Points the turtle straight down

setheading(270)

Prevents drawing when the turtle moves

random.randint(1, 10)

Gets turtle’s x-coordinate

penup()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the turtle race game, how does the program know which turtle won?

The turtle that moves the most times

The turtle with the highest speed

The first turtle whose x-position is greater than 350

The turtle that matches the user’s color

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use a list to store turtles (e.g., all_turtles)?

To sort them by color

To control and move them together in a loop

To store their names

To count how many races they’ve won

7.

DRAG AND DROP QUESTION

1 min • 1 pt

The ​ (a)   module is used to generate random values in the game.

random
math
turtle
art

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?