stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Python Programming Review Flashcards | StudBud
Explore
/
Python Programming Review
Python Programming Review
15 terms
·
StudBud Administration
·
26 plays
A #python #programming quiz to review Object-Oriented Programming concepts and terms.
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
Term for statement that creates an object
Definition
Constructor
Comparison
Function
2
Uniquely identifies an instance of an object
the class name
the return value of the __str__ method
value of the self parameter
value of a data field defined in the __init__ method
3
Term that defines the use of a class as the basis of another class
encapsulation
abstraction
instantiation
inheritance
4
The statement
circle1.get_perimeter()
is an example of
a variable assignment statement
a function call
a constructor statement
a call to an instance method
5
Operator used to access an object's members
the concatenation operator
the dot operator
the modulus operator
the index operator
6
Term for __init__ method
Private method
main method
Initializer method
String representation method
7
Special method that is automatically called when an instance of an object is constructed
__repr__
__str__
super
__init__
8
Term for creating an object from class
definition
refactorization
modularization
instantiation
9
The statement
def set_name(self, new_name):
begins
a data field
a class definition
a class method
a function
10
Defines the state of an object
function
data type
data field
method
11
Defines an object like a blueprint
function
variable
class
module
12
Defines the actions an object can do
methods
data fields
modules
functions
13
Term for when a derived class modifies an inherited method
override
refactor
instantiate
immutable
14
The statement
circle1 = Circle(10)
is an example of
an instance method call
a function call
a constructor statement
a class definition
15
Real world entity represented in software
object
value
function
variable