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
Gets turtle’s x-coordinate
random.randint(1, 10)
Points the turtle straight down
penup()
Creates a new turtle object
turtle.Turtle()
Prevents drawing when the turtle moves
setheading(270)
Returns a random number between 1–10
xcor()
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
15 questions
Python Turtle Quiz

Quiz
•
7th Grade
10 questions
Python eduBlocks Quiz

Quiz
•
8th Grade
13 questions
Health and Safety in ICT

Quiz
•
8th - 9th Grade
15 questions
App Lab

Quiz
•
6th - 9th Grade
14 questions
Python Turtle - MCA Year 7

Quiz
•
7th Grade
11 questions
Typing Technique

Quiz
•
6th - 8th Grade
10 questions
Flash Concepts

Quiz
•
7th Grade
15 questions
Computer DESKTOP - CESA

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade