Pgm Models, OOP
OOP Vocabulary
OOP Methods
Structures
Structures
100

A programming model based on a series of computational steps

What is Procedural Programming?

100

Describes a thing

What is a Class?

100

Allows retrieval of an attribute

What is an Accessor/Getter method?

100

Its size can change and may be moved in memory.

What is a vector?

100

Pancake

What is a stack?

200

A programming model based on things

What is Object-oriented programming?

200

An instantiation of a class

What is an Object?

200

Allows the assignment of an attribute

What is a Mutator/Setter method?

200

Can add elements without moving the entire structure

What is a Linked List?

200

null

What does the pointer in the last node of a Linked List contain?

300

A function that calls itself

What is recursion?
300

Some internal details are hidden from main().

What is Encapsulation?

300

Runs automatically when an object is instantiated

What is the Default Constructor?

300

Data and a Pointer

What is in a Linked List node?

300

Push, Pop, Top, Size, Empty

What are the functions for a Stack?

400
The three kinds of constructors

What are default, parameterized, and copy?

400

A class derives attributes and methods from another class

What is Inheritance?

400

Automatically runs to initialize private data

What is a Parameterized Constructor?

400

A Last In, First Out Structure

What is a Stack?

400

Push, Pop, Front, Back, Size, Empty

What are the functions for a Queue?

500

When an instance method is called on an object in Python, which parameter implicitly receives the reference to the object itself

What is 'self'?

500

Determine which method of the same name to execute

What is Polymorphism?

500

Runs automatically when an object is destroyed

What is a Destructor?

500

A First In, First Out Structure

What is a Queue?

500

_init_(self)

What is a constructor?