Python OOP

Python OOP

Assessment

Quiz

Computers

12th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

Piotr B

Used 8+ times

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a class (in python)?

A user-defined prototype for an object that defines a set of attributes that characterize any object of this. The attributes are data members and methods, accessed via dot notation.

A special kind of function that is defined in a class definition.

The assignment of more than one behavior to a particular function. The operation performed varies by the types of objects or arguments involved.

the system of ordering a society in which people are divided into sets based on perceived social or economic status.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does inheritance mean in python?

The transfer of the characteristics of a class to other classes that are derived from it.

A variable that is defined inside a method and belongs only to the current instance of a class

The creation of an instance of a class.

It is what you sometimes get when a relative passes away

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is an instance in python?

A special kind of function that is defined in a class definition.

The creation of an instance of a class.

An individual object of a certain class. An object obj that belongs to a class Circle, for example, is an instance of the class Circle.

A moment in time

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is instantiation in python?

The creation of an instance of a class.

The transfer of the characteristics of a class to other classes that are derived from it.

A variable that is defined inside a method and belongs only to the current instance of a class.

A unique instance of a data structure that's defined by its class. An object comprises both data members (class variables and instance variables) and methods.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a method in python?

a way of doing something

a special kind of function that is defined in a class definition

the creation of an instance of a class

orderliness of thought or behavior; systematic planning or action

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an object in python?

A unique instance of a data structure that's defined by its class. An object comprises both data members (class variables and instance variables) and methods.

A special kind of function that is defined in a class definition.

The assignment of more than one function to a particular operator.

An individual object of a certain class. An object obj that belongs to a class Circle, for example, is an instance of the class Circle.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?
A box(memory location) where you store values
a type of graphics
Data type
a type of memory

Tags

CCSS.6.EE.B.6

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?