Chapter 1
Chapter 2
Chapter 3/4
Chapter 4/5
Chapter 5
100

A sequence of statements only executed under a certain condition

What is a branch?

100

A sequence of steps for accomplishing a task

What is an algorithm?

100

The process of putting a collection of elements into ascending (or descending) order

What is sorting?

100

A sorting algorithm that treats the input as a collection of interleaved arrays, and sorts each array individually with a variant of the insertion sort algorithm

What is a shell sort?

100

Defines a new type that can group data and functions to form an object

What is a class construct?

200

Evaluates to true if the left and right sides are equal

What is the equality operator (==)?

200

A search algorithm that starts from the beginning of an array, and checks each element until the search key is found or the end of the array is reached

What is a linear search?

200

A sorting algorithm that iterates through an array, comparing and swapping adjacent elements if the second element is less than the first element

What is bubble sort?

200

A positive integer representing the distance between elements in an interleaved array

What is a gap value?

200

Indicate all operations a class user can perform on the object

What is a class public member function?

300

Checks how one operand's value relates to another, like being greater than

What is a relational operator?

300

An algorithm for searching a sorted array

What is a binary search?

300

A sorting algorithm that treats the input as two parts, a sorted part and an unsorted part, and repeatedly selects the minimum value to move from the unsorted part to the end of the sorted part

What is selection sort?

300

A grouping of data (variables) and operations that can be performed on that data (functions)

What is an object?

300

Used to invoke a function on an object

What is a member access operator?

400

Treats operands as being true or false and evaluates to true or false

What is a logical operator? (AND, OR, NOT)

400

An operation that, for a given processor, always operates in the same amount of time, regardless of input values

What is a constant time operation?

400

A sorting algorithm that treats the input as two parts, a sorted part and an unsorted part, and repeatedly inserts the next value from the unsorted part into the correct location in the sorted part

What is insertion sort?

400

Means to have a user interact with an item at a high-level, with lower-level internal details hidden from the user

What is abstraction?

400

Variables that member functions can access but class users cannot

What are private data members?

500

Commonly used to make decisions that are based on multiple features

What is a nested if-else statement?

500

A mathematical way of describing how a function (running time of an algorithm) generally behaves in relation to the input size

What is Big O Notation?

500

Only contains a few elements not in sorted order

What is a nearly sorted array?

500

A data type whose creation and update are constrained to specific well-defined operations

What is an abstract data type (ADT)?

500

Provides a class name, return type, parameter names and types, and the function's statements

What is a function definition?

M
e
n
u