AP Computer Science Principles Vocabulary
Algorithm: a series of instructions on how to accomplish a task
Coding: transforming actions into a symbolic language
Debugging: Finding and fixing errors or issues in code
Function (also called method/procedure): a piece of code that can be called over and over
Parameters: extra bits of information that is needed by a function to customize it. Also known as an input variable of a procedure.
Sequence: The application of each of an algorithm in order in which the code statements are given.
Input: data that is sent TO a computer for processing by a program
Output: data that is sent FROM a program to a device
Variables: named memory locations used to store data values that can be manipulated throughout a program
Purpose: problem being solved or creative interest being pursued through the program
Program Functionality: the behavior of a program during execution, often described by how a user interacts with it
Program Code Segment: a collection of programs statement that are part of a program
Iteration: the repetitive portion of an algorithm and repeats until a given condition is met OR for a specified number of times
Arguments: Values of the parameters (parameters are input variables of a procedure)
Collection type: Aggregates (formed by combining several) elements in a single structure (ex: databases, hashtables, dictionaries, sets, etc)
Data Stored in a List: input into the list through initialization OR through some computation on other variables or list elements
List: is an ordered sequence of elements that allows multiple related items to be represented using a single variable
Dynamic List: a list through some computation on other variables or list elements
Static List: input into the list through initialization
List being Used: using a list means the program is creating new data or accessing multiple elements in the list
Procedure: a named group of programming instructions that may have parameters and return values
Updated 43m ago