Search Header Logo

Python Classes and Objects

Authored by Susan O'Connell

Computers

9th - 12th Grade

Used 463+ times

Python Classes and Objects
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A blueprint created by a programmer for an object.

Class
Attribute
Object
OOP

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

This defines a set of attributes that will characterize any object that is instantiated.

Class
Attribute
Initialization
Method

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An instance of a class.

Object
Attribute
OOP
Method

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

This is the realized version of the class, where the class is manifested in the program.

Object
Blueprint
Attribute
Function

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given this code, what will print?

The shark is being awesome.

The shark is swimming.

The shark is being awesome.

The shark is swimming.

ERROR

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given this class, how would you make jaws swim?

jaws.swim()

jaws.swim

swim.jaws

jaws(swim)

swim(jaws)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given this code, how many attributes are in the class?

1

2

3

4

0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?