A programming model based on a series of computational steps
What is Procedural Programming?
Describes a thing
What is a Class?
Allows retrieval of an attribute
What is an Accessor/Getter method?
Its size can change and may be moved in memory.
What is a vector?
Pancake
What is a stack?
A programming model based on things
What is Object-oriented programming?
An instantiation of a class
What is an Object?
Allows the assignment of an attribute
What is a Mutator/Setter method?
Can add elements without moving the entire structure
What is a Linked List?
null
What does the pointer in the last node of a Linked List contain?
A function that calls itself
Some internal details are hidden from main().
What is Encapsulation?
Runs automatically when an object is instantiated
What is the Default Constructor?
Data and a Pointer
What is in a Linked List node?
Push, Pop, Top, Size, Empty
What are the functions for a Stack?
What are default, parameterized, and copy?
A class derives attributes and methods from another class
What is Inheritance?
Automatically runs to initialize private data
What is a Parameterized Constructor?
A Last In, First Out Structure
What is a Stack?
Push, Pop, Front, Back, Size, Empty
What are the functions for a Queue?
When an instance method is called on an object in Python, which parameter implicitly receives the reference to the object itself
What is 'self'?
Determine which method of the same name to execute
What is Polymorphism?
Runs automatically when an object is destroyed
What is a Destructor?
A First In, First Out Structure
What is a Queue?
_init_(self)
What is a constructor?