Conditionals & Logic
Iteration
Procedures
Algorithms
Data Structures
100

This logical operator returns TRUE only when both operands are true?

What is AND?

100

This type of iteration repeats a block of code a specific number of times.

What is a REPEAT n TIMES loop?

100

This is a named group of programming instructions that may have parameters and return values.

What is a procedure or function?

100

This search algorithm checks every element in a list one by one until the target is found.

What is linear search or sequential search?

100

list indexing starts with this number.

What is 1? 


200

This logical operator returns TRUE as long as at least one operand is true?

What is OR?

200

This type of loop continues to run as long as a specified condition remains true

What is a WHILE loop?

200

These are the input values passed into a procedure to customize its behavior.

What are parameters?

200

This search algorithm is much faster but requires the list to be sorted before it can start.

What is binary search?

200

This command is used to find out how many items are currently in a list.

What is LENGTH()

300

the expression NOT (A AND B) is equivalent to this?

What is (NOT A) OR (NOT B)?

300

This is the term for a loop that never ends because its condition never becomes false.

What is an infinite loop?

300

This term describes the practice of breaking a complex problem into smaller, more manageable parts.

What is modularization or decomposition?

300

For a list of 8 elements, this is the maximum number of comparisons a binary search would take

What is 3

300

This list operation adds a new element to the very end of the list

What is APPEND?

400

This structure allows a program to choose between two different blocks of code based on a condition?

What is an IF-ELSE statement?

400

Tracing this loop: i = 1; REPEAT 3 TIMES { i = i * 2 } This is the final value of i.

What is 8?

400

When a procedure sends a value back to the part of the program that called it, it uses this command

What is RETURN?

400

This sorting algorithm works by repeatedly finding the smallest element and moving it to the front

What is selection sort?

400

If myList = [10, 20, 30], this is the result of myList[2]

What is 20?

500

If x = 10, y = 5, and z = 10, this is the Boolean result of (x == z) AND (y > x)?

What is FALSE?

500

In a REPEAT UNTIL (condition) loop, the loop stops when the condition evaluates to this.

What is TRUE?

500

This is a key benefit of using procedural abstraction; it allows you to do this to code instead of rewriting it

What is reuse?

500

This term describes a "good enough" solution used when an exact algorithm takes too long to run

What is a heuristic?

500

This error occurs if you try to access an index that is larger than the length of the list.

What is an index out of bounds error?

M
e
n
u