Python L28 Turtle Racing
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Future Teacher
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Creates a new turtle object
xcor()
Points the turtle straight down
setheading(270)
Gets turtle’s x-coordinate
penup()
Returns a random number between 1–10
turtle.Turtle()
Prevents drawing when the turtle moves
random.randint(1, 10)
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.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Word 2016 Basics - Saving Document, Page Layout, Header & Foot
Quiz
•
7th Grade
10 questions
HT3.2- Validation and Reliability
Quiz
•
8th Grade - University
10 questions
HWK 10- Fake News and Images
Quiz
•
8th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
15 questions
HTML
Quiz
•
8th - 12th Grade
10 questions
Revision Quiz 2 - Information Technology
Quiz
•
7th - 8th Grade
15 questions
Computer Parts Q1 Lesson 1-2
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
