Control Structures & Logic
Data Abstraction
Procedural Abstraction & Modularity
Algorithm Efficiency & Search/Sort
Developing & Debugging Algorithms
100

What's an expression that evaluates to either True or False?

Boolean Expression

100

What's the process of iterating through every item in a list to process or check each element?

Traversing

100

What are the input variables of a procedure? They act as placeholders for the Arguments (actual values) passed in during a call.

Parameters

100

A search that checks every element in order.

Linear search

100

A written description of the function of a code segment, event, or program and how it was developed.

Program Documentation

200

What's a hardware-level representation of Boolean logic called(AND, OR, NOT)?

Logic Gates

200

What's an ordered sequence of elements? 

List

200

What's the subdivision of a computer program into separate sub-programs (procedures) to make it easier to develop and maintain?

Modularity

200

A "divide and conquer" search that requires the list to be sorted. It is significantly faster than linear search for large datasets.

Binary search

200

Determine the type of error:

A mistake where the rules of the programming language are not followed

Syntax error

300

What's the repetitive portion of an algorithm (a loop) that repeats a specified number of times or until a condition is met?

Iteration

300

A programmer is creating a list of the names of all the students in a class. Which of the following is the primary benefit of using a list for this purpose rather than individual variables for each name



It allows the program to be written in a way that can handle a varying number of students without changing the code.

300

What determines how other programs interact with procedures?

API(application programming interface)

300

A solution that is not perfect but finds a "good enough" answer in a reasonable amount of time.

Heuristic
300

Determine the type of error:

A mistake in the algorithm causes it to produce incorrect results even though it runs.

Logic error

400

What is the primary difference between a 'for each' loop and a 'while' loop?

A "for each" loop runs a specific number of times based on a collection, while a "while loop" runs as long as a condition is true. 

400


Which of the following best describes the concept of data abstraction?

Hiding the details of how data is stored and represented to manage complexity.

400

When a procedure is called, the actual values passed into the procedure are known as:

Parameters

400

What must be true for a Binary Search to work correctly on a list of data?

The list must be sorted. 

400

A programmer is developing a complex algorithm. Instead of writing the whole thing at once, they write one small part, test it, fix any errors, and then move to the next part. What is this practice called?

Iterative development

500

Which logical operator is used to evaluate if at least one of two conditions is true?

OR

500

What is the primary purpose of using a variable in a program?

To provide a label for a value so it can be referenced and updated throughout a program.

500

What is a common result of effective procedural abstraction?

The program becomes shorter and easier to read.

500

A Linear Search is being performed on a list of 1,000,000 items. In the worst-case scenario, how many items must be examined?

1,000,000

500

A programmer uses a 'trace table' to follow the values of variables during a loop. What is the primary purpose of this?

To visualize how variable change over time to find logic errors.