1/47
Definitions from Big Ideas 1-3
Program Statement
A single command or instruction executed by a computer program.
EX: x = x + 1 or calling print('Hello World').
Program Execution / Flow
The order in which individual statements, instructions, or function calls are executed or evaluated.
EX: Top-to-bottom sequential flow interrupted by loops or conditional jumps.
Collaboration
Working jointly with others to produce or create software, incorporating diverse perspectives.
EX: Pair programming where one programmer writes code (driver) while another reviews it (navigator).
Incremental Development
A design strategy that breaks a software project into small, manageable, self-contained pieces added one by one.
EX: Building a checkout system by implementing item selection first, then cart totals, then payment logic.
Iterative Development
A continuous development cycle involving planning, testing, and refining a program through multiple versions.
EX: Releasing a mobile app beta, collecting user feedback, and rolling out version updates based on bugs found.
Event-Driven Programming
Programming where the execution flow is determined by events such as user actions or sensor triggers.
EX: Code executing a specific function only when a user clicks an 'Upload Image' button.
Program Input & Output
Input is data sent to a program; Output is data generated and sent out by the program.
EX: Input: A keystroke or temperature reading. Output: Text rendered on a screen or a printed receipt.
Program Documentation
Written descriptions of code function, structure, algorithms, and development process.
EX: Inline comments (// or #), README files, or API manuals explaining function expectations.
Syntax Error
An error resulting from code that violates the grammar/rules of the programming language.
EX: Forgetting a closing parenthesis ) or typing prnt instead of print.
Logic Error
An error that causes a program to operate incorrectly and produce unexpected outputs, without crashing.
EX: Writing if (age > 18) instead of if (age >= 18) when checking voter eligibility.
Run-Time Error
An error that occurs while the program is executing, causing it to crash unexpectedly.
EX: Attempting to divide a number by zero or accessing an out-of-bounds array index.
Overflow Error
An error that occurs when a calculation produces a value larger than the memory allocated can store.
EX: Adding 1 to an 8-bit integer holding 255, causing it to roll over or error out.
Test Case
A set of conditions or variables under which a tester determines whether a system operates correctly.
EX: Testing a login feature with valid credentials, incorrect passwords, and blank fields.
Bit & Byte
A Bit is a single binary digit (0 or 1). A Byte is a sequence of 8 bits.
EX: Storage sizes: 1 Byte can store a single ASCII character like 'A'.
Binary (Base-2)
A positional numeral system using only two symbols: 0 and 1.
EX: How all computer hardware fundamentally stores memory as voltage states (high/low).
Decimal (Base-10)
Standard human numbering system using digits 0 through 9.
EX: Representing monetary amounts or counting physical objects.
Hexadecimal (Base-16)
A number system using 16 symbols (0–9 and A–F), often used to shorten binary strings.
EX: Color codes in web design, such as #FFFFFF representing RGB white.
Analog Data
Data represented by continuous, real-world physical values rather than discrete numbers.
EX: Sound waves traveling through the air or voltage on a landline telephone cable.
Digital Data
Data represented by discrete, discontinuous numerical values (0s and 1s).
EX: An MP3 audio file converted from a live studio microphone recording.
Sampling
The process of measuring an analog signal at equal periodic intervals to convert it to digital.
EX: Sampling sound waves 44,100 times per second (44.1 kHz) to create CD-quality digital audio.
Abstraction (Data)
Filtering out specific, low-level details to focus on high-level organizational concepts.
EX: Grouping raw bits representing student records into a single Student object.
Lossless Compression
A data compression class that reduces file size without any loss of original data or quality.
EX: Compressing executable program files into .zip archives or saving images as .PNG.
Lossy Compression
A compression class that significantly reduces file size by permanently discarding less noticeable data.
EX: Saving digital photos as .JPEG or streaming music via .MP3.
Metadata
Data that provides information about other data, such as creation date, file size, or location.
EX: EXIF data attached to a smartphone photo displaying GPS coordinates and camera aperture settings.
Clean Data
The process of removing invalid, duplicate, corrupted, or incomplete entries from a dataset.
EX: Removing empty rows or stripping extra spaces from survey entries before running analytics.
Big Data
Datasets so large or complex that traditional data processing application software is inadequate.
EX: Analyzing petabytes of credit card transaction logs globally to detect real-time fraud.
Algorithm
A finite, well-defined sequence of step-by-step instructions for solving a problem.
EX: GPS navigation calculating the optimal driving route between two addresses.
Sequencing
Executing a series of steps in the exact order they are written, top-to-bottom.
EX: Following the steps of a recipe sequentially to ensure a cake rises properly.
Selection
Determining which block of code to execute based on a Boolean conditional test (IF/ELSE).
EX: Redirecting a user to an admin dashboard if user.isAdmin == True.
Iteration
Repeating a process or statement a specified number of times or until a condition is met (FOR/WHILE)
EX: Checking every item in a shopping cart array to sum the total price.
Boolean Logic
Expressions evaluating to strictly TRUE or FALSE using operators like AND, OR, and NOT EX: (age >= 16) AND (hasLicense == TRUE) to determine driving eligibility.
Modulus Operator (MOD)
An arithmetic operation that returns the remainder of integer division. EX: 17 MOD 5 yields 2. Used frequently to determine if a number is even (x MOD 2 == 0).
Variable
An abstraction holding a memory location that stores a value which can change over time. EX: A game variable playerScore updated whenever an enemy is defeated.
Assignment Operator (<-)
Sets or updates the value stored inside a variable. EX: x <- 10 stores the integer 10 inside variable x.
List / Array
An ordered collection of elements stored under a single variable name. EX: students <- ['Alice', 'Bob', 'Charlie']. Note: AP CSP lists use 1-based indexing!
Traversal
Iterating through a collection, accessing or processing each element in sequence. EX: Looping over an employee salary array to apply a 5% inflation raise to everyone.
Procedure / Function
A named, reusable block of code that performs a specific task when called. EX: A procedure calculate Tax(subtotal) used throughout a retail POS system.
Parameter
A variable listed in a procedure's header definition that accepts input values. EX: radius in the procedure definition PROCEDURE calcCircleArea(radius).
Argument
The concrete value passed into a procedure when it is called during program execution. EX: Passing the value 5 into calcCircleArea(5).
Return Statement
Instruction within a procedure that exits the function and sends a result back to the caller. EX: Returning TRUE or FALSE from a checkPasswordMatch() function.
Linear Search
A search algorithm that checks every item in a list sequentially until the target is found. EX: Finding a target contact by scanning an unsorted address book line-by-line.
Binary Search
An efficient search algorithm that repeatedly cuts a sorted list in half. EX: Looking up a word in an alphabetical dictionary by opening to the middle and choosing a side.
Simulation
A simplified, computer-based representation of a complex real-world process or phenomenon. EX: Simulating weather movement or viral transmission across populations without real risk.
Heuristic
A problem-solving technique designed to produce a 'good enough' solution when an exact solution is computationally impractical. EX: The Traveling Salesperson Problem using proximity rules to quickly plot delivery routes.
Undecidable Problem
A computational problem for which no algorithm can ever be created that produces a correct yes/no answer for all inputs. EX: The Halting Problem: determining if an arbitrary program will finish running or loop forever.
Unreasonable Time
Algorithms whose execution time grows exponentially or factorially, rendering them unfeasible for large inputs. EX: Cracking a 256-bit encryption key by attempting every possible combination one by one.
Mutation
Changing the internal state of an object or modifying the contents of an array. EX: Initial State: The student record is created with the name "Alex" and a grade level of 11.
The Mutation: At the end of the school year, a method called promoteGrade() is run on Alex's record. This method changes the grade level from 11 to 12.
Exception
A run-time error that happens while a program is running, breaking its normal flow and usually causing it to crash. EX:Dividing an internet by zero