Python L28 Turtle Racing

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Future Teacher
FREE Resource
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
Returns a random number between 1–10
setheading(270)
Creates a new turtle object
random.randint(1, 10)
Points the turtle straight down
turtle.Turtle()
Gets turtle’s x-coordinate
xcor()
Prevents drawing when the turtle moves
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.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Year 7 - HF1: 3 - Computer Systems and Devices

Quiz
•
7th Grade
14 questions
Exploring Turtle Graphics in Python

Quiz
•
6th Grade
10 questions
Python 4

Quiz
•
6th - 10th Grade
10 questions
Posture and Technique Review

Quiz
•
3rd - 8th Grade
12 questions
NCCE Year 4 Repetition in Shapes

Quiz
•
3rd Grade - University
13 questions
Being Aware of What You Share

Quiz
•
8th Grade
10 questions
App Programming Project Quiz

Quiz
•
8th Grade
10 questions
Small Basic (Turtle)

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade