Python L31

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Future Teacher
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the parent class of the Food class?
Snake
Screen
Turtle
Shape
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The super().__init__() line allows the Food class to access all methods from the Turtle class.
True
False
3.
DRAG AND DROP QUESTION
1 min • 1 pt
In the code class Food(Turtle):, Turtle is the (a) class and Food is the (b) class.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is inherited from the Turtle class in the Food class?
Only the shape
Methods like .goto(), .color(), .penup()
Only the refresh method
Only the random module
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The refresh() method is inherited from the Turtle class.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is called immediately after setting the shape, color, and size of the food?
self.refresh()
self.speed()
self.color()
self.move()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The super() function is used to call the ________ class’s constructor.
parent
superclass
base
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
BAB 4 Internet Kelas 6

Quiz
•
6th Grade
10 questions
Google Docs Basics

Quiz
•
7th Grade - University
10 questions
Turtle Logo Programming

Quiz
•
1st - 6th Grade
10 questions
Python Turtle - Knowledge Check

Quiz
•
7th - 8th Grade
14 questions
CodeMonkey 0-35 Review

Quiz
•
5th - 8th Grade
6 questions
Python Turtle

Quiz
•
7th - 8th Grade
10 questions
Small Basic Basics

Quiz
•
8th - 9th Grade
10 questions
Year 8 - Progress Check 1 (Python Turtle Shapes)

Quiz
•
8th - 9th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade