Pgm Models, OOP
OOP Vocabulary
OOP Methods
Search
Sort
Sort
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

When can a linear search be used?

Anytime

100

After 1 Bubble iteration of the outer loop of 5 4 3 2 1

4 3 2 1 5

100

4 2 1 5 3

1 2 4 5 3

Selection Sort

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

When can a binary search be used?

When the list is sorted

200

After 1 Selection iteration of the outer loop of 5 4 3 2 1

1 4 3 2 5

200

4 2 1 5 3

2 4 1 5 3

Insertion Sort

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

2nd number examined in a linear search of 5 6 7 8 9 10

6

300

After 1 Insertion iteration of the outer loop of 5 4 3 2 1

4 5 3 2 1

300

4 2 1 5 3

2 1 4 3 5

Bubble Sort

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

First 2 nbrs examined in a binary search of   3 4 5 6 7 8 9

6, 4 or 6, 8

400

After 2 Bubble iterations of outer loop of 5 4 3 2 1

3 2 1 4 5

400

After 2 Selection iterations of the outer loop of 5 4 3 2 1

1 2 3 4 5

500

The implicitly-passed object pointer when a member function is called on an object

What is 'this'?

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

After 2 Insertion iterations of the outer loop of 5 4 3 2 1

3 4 5 2 1