The three building blocks of all algorithms are sequence, selection, and this.
What is Iteration (or Loops)?
What is a List?
This search algorithm checks every element in a list in order until the match is found.
What is a Linear Search (or Sequential Search)?
A named gorup of programming instructions that may have parameters and return values.
What is a Procedure (or Function/Method)?
This type of error occurs when the code doesn't follow the rules of the programming language (like a missing bracket).
What is a Syntax Error?
This type of statement uses a Boolean condition to determine which of two paths a program will take.
What is a Selection statement (or If-Statement)?
This term refers to the number or position of an item within a list.
What is an Index?
This much faster search algorithm repeatedly divides a sorted list in half.
What is a Binary Search?
These are the input variables listed in the procedure header that act as placeholders for data.
What are Parameters?
This error occurs when a program runs but produces the wrong or unexpected output.
What is a Logic Error?
A loop that continues to run until a specific condition is met is often called this type of loop.
What is a Condition-controlled loop (or While loop)?
In most programming languages, indices start at 0, but on the AP CSP exam, they start at this number.
What is 1?
A binary search can only be performed if the data is in this state.
What is Sorted?
This is the specific value passed into a procedure when it is actually called.
What is an Argument?
An error that causes a program to stop working while it is running.
What is a Runtime Error?
This term describes the step by step order in which instructions are executed in a program.
What is Sequence?
This process involves going through every item in a list one by one.
What is Traversing?
This "informal" way of writing program code doesn't follow strict syntax but helps humans plan logic.
What is Pseudocode?
This concept involves reducing complexity by hiding the "how" and focusing on the "what".
What is Procedural Abstraction?
This is the process of finding and fixing errors in a program.
What is Debugging?
When a selection statement is placed inside another selecction statement, it is known as being...
What is Nested?
To add an item to the very end of an existing list, you would use this specific command/method.
What is Append?
This term describes an algorithm's ability to be solved in a "reasonable" amount of time as the input size grows.
What is Efficiency?
A collection of procedures and code that can be imported and reused in different programs.
What is a Library?
These are used to provide information about what the code does for other programmers; they are ignored by the computer.
What are Comments?