Python L31

Python L31

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Turtle

Python Turtle

KG - Professional Development

11 Qs

Python Turtle Quiz

Python Turtle Quiz

7th Grade

15 Qs

Modules, Packages, and Libraries

Modules, Packages, and Libraries

8th Grade

10 Qs

MS Logo

MS Logo

4th - 9th Grade

10 Qs

Python Turtle

Python Turtle

7th - 8th Grade

6 Qs

Python Turtle - MCA Year 7

Python Turtle - MCA Year 7

7th Grade

14 Qs

Small Basic-Turtle Graphics

Small Basic-Turtle Graphics

6th - 9th Grade

10 Qs

Google Drive @ ITC

Google Drive @ ITC

2nd - 6th Grade

12 Qs

Python L31

Python L31

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 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.

parent
object

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

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?