AP Computer Science Principles vocabulary

150 terms in 5 units, each with a plain meaning and a sentence that uses it.

Read the list here, or learn the words as cards: a word you miss comes back until it sticks.

Learn these words

Unit 1 Creative Development

Learn the words you'll see when a team plans, builds, and checks a program.

WordMeaningIn a sentence
collaboration noun working with others toward a shared result Our collaboration helped us catch a design flaw early.
pair programming noun two people developing code together at one workstation In pair programming, partners can switch who types and who reviews.
driver noun the partner who types code during shared programming The driver entered the code while her partner checked the design.
navigator noun the partner who reviews code and guides decisions while another types The navigator noticed that the code missed an empty input.
program noun instructions a computer can execute to perform a task The program asks for a name before displaying a greeting.
purpose noun the reason a tool or product was created The purpose of the app is to help students track assignments.
functionality noun what a piece of software actually does when it runs We demonstrated the app's functionality using a sample account.
input noun information given to a system to process The quiz accepts a number as input.
output noun information a system produces or displays The output should show the total at the end.
user interface noun the screens and controls people use to interact with software The user interface includes a menu and a search box.
event noun an occurrence that software can detect and respond to Clicking the button triggers an event.
event handler noun code that runs in response to a specific user or system action An event handler updates the screen whenever the user taps Save.
requirement noun a feature or condition that a project must satisfy Saving work offline is a requirement for this app.
constraint noun a limit on how a solution can be built Limited screen space was an important constraint.
prototype noun an early model used to try out a design The team showed a paper prototype to three students.
feedback noun comments or observations that can guide improvements User feedback helped us simplify the menu.
iterative development noun building in cycles of planning, making, evaluating, and improving Through iterative development, the team improved one feature at a time.
incremental development noun building a larger product by adding working pieces gradually We used incremental development to add the quiz after the account page.
documentation noun written information explaining how software works or how to use it The documentation explains which values the app accepts.
comment noun a note in source code that does not run A short comment explained why the check was needed.
test case noun a specific input and intended result used to check behavior One test case checks what happens when the list has no items.
expected result noun the outcome a correctly working system should produce The expected result is a blank list when there are no matches.
actual result noun the outcome observed when software is run The actual result differed from what the tester predicted.
debugging noun finding, understanding, and fixing faults in code Careful debugging showed that the wrong input was saved.
syntax error noun a mistake that breaks the rules for writing valid code The missing bracket caused a syntax error.
runtime error noun a failure that happens while software is executing Opening a missing file caused a runtime error.
logic error noun a flaw that produces incorrect behavior even though code can run The total was wrong because of a logic error.
edge case noun an unusual input or situation at the limit of normal operation An empty list is an edge case that we should check.
trace verb follow code step by step to see how values change We can trace the steps by writing down each new value.
code review noun an examination of software changes by another developer The team found a missing test during code review.

Practise these words

Unit 2 Data

These words help you work with binary representations, file sizes, and patterns in data.

WordMeaningIn a sentence
binary adjective using two possible digits, zero and one Computers store values in binary form.
decimal adjective using a number system with ten possible digits We converted the result to decimal form.
bit noun one digit that can hold a zero or a one Changing one bit changes the stored value.
byte noun a group of eight bits One byte can represent 256 different patterns.
bit pattern noun a particular ordered arrangement of ones and zeros Two different meanings can share the same bit pattern.
place value noun the weight given to a digit by its position The leftmost column has a greater place value.
overflow noun a condition where a value is too large for the available representation Adding one to the largest stored integer can cause overflow.
round-off error noun a difference caused by storing or calculating with limited precision A small round-off error can build up after repeated calculations.
precision noun the degree of detail with which a number is represented Storing more bits can improve numerical precision.
digitize verb convert information into a form a computer can store and process The library plans to digitize old photographs.
metadata noun information that describes another set of data The photo's metadata includes its creation date.
pixel noun the smallest individual picture element in a digital image Each pixel in this picture is assigned a color.
resolution noun the amount of visible detail represented in an image The second scan has a higher resolution.
sampling rate noun the number of measurements taken per unit of time A higher sampling rate records more audio measurements each second.
compression noun a method for representing the same or similar information using fewer bits The camera uses compression to save storage space.
lossless adjective allowing an exact copy of the original to be recovered A lossless format works well for important text files.
lossy adjective discarding some information so the file takes less space A lossy format may blur fine details.
file size noun the amount of storage a digital document uses The editor shows the file size before export.
redundancy noun repeated information that can often be represented more efficiently Repeated colors create redundancy in the image file.
encoding noun representing information using a set of agreed symbols or values The text became unreadable when the encoding was interpreted incorrectly.
data set noun a collection of related recorded values The data set includes daily temperatures from five cities.
data cleaning noun fixing inconsistent, incomplete, or duplicate records before analysis We found entries with impossible dates during data cleaning.
filter verb keep only records that meet a specified condition You can filter the rows to show only recent sales.
aggregate verb combine separate records into summaries for groups We aggregate the bookings by month to compare seasons.
outlier noun an observation far from most others in a collection A typo created an outlier in the survey results.
correlation noun a tendency for two measurements to change together The graph shows a strong correlation between height and reach.
causation noun a relationship in which one change produces another A pattern alone does not prove causation.
visualization noun a graphic used to communicate patterns or comparisons in data The visualization makes the seasonal peak easier to see.
trend noun a general direction in which values change over time The chart shows an upward trend in attendance.
spreadsheet noun a grid of cells used to organize and calculate information We store the survey responses in a spreadsheet.

Practise these words

Unit 3 Algorithms and Programming

Learn these terms before tracing pseudocode or choosing a way to solve a programming problem.

WordMeaningIn a sentence
variable noun a name that holds a value which may change The variable stores the current score.
assignment noun an instruction that stores a value under a name The assignment changes the score to zero.
integer noun a whole number that may be negative, positive, or zero The count must be an integer.
data abstraction noun organizing values while hiding details irrelevant to their use A list provides data abstraction for a collection of scores.
expression noun a combination of values and operations that produces a result The expression adds two numbers and returns their sum.
modulo noun an operation used to find the remainder after division Using modulo can tell us whether a number is even.
string noun an ordered sequence of text characters The app stores the title as a string.
concatenation noun joining pieces of text end to end The greeting uses concatenation to add the user's name.
Boolean adjective having either a true value or a false value A Boolean value records whether the door is open.
comparison operator noun a symbol that checks how two values relate The comparison operator tests whether the score is greater than the limit.
conditional noun a statement that chooses what to do based on a test The conditional displays an alert only when the total is low.
nested conditional noun a decision placed inside one branch of another decision The nested conditional checks the user's age after verifying their account.
selection noun choosing which instructions to run based on a condition An if statement provides selection in the algorithm.
iteration noun repeating a set of instructions The program uses iteration to check each score.
loop noun a block of instructions designed to execute repeatedly The loop ends when no entries remain.
algorithm noun a finite sequence of steps for completing a task Our algorithm finds the largest value in the collection.
pseudocode noun an informal notation for expressing the steps of a program We wrote pseudocode before choosing a programming language.
list noun an ordered collection of items The list keeps all the participants' names.
index noun a number that marks an item's position in a sequence The index identifies which item to retrieve.
binary search noun looking through sorted items by repeatedly discarding half the candidates The program used binary search on the sorted scores.
linear search noun checking items one after another until the target is found A linear search works even when the names are unsorted.
procedure noun a named group of instructions that can be reused The procedure updates several screen labels at once.
parameter noun a named placeholder that receives a value when reusable code is called The parameter is named score to show what it receives.
argument noun a value supplied when a reusable block of code is called The call passes the final score as an argument.
return value noun the result sent back by a called block of code We save the return value before displaying it.
library noun a collection of reusable code provided for other programs The library provides tools for drawing charts.
random number noun a numerical result selected according to chance or a simulation of chance The game picks a random number to decide who goes first.
simulation noun a model run to study how a real or imagined process behaves A simulation estimated how often the traffic light would cause a delay.
efficiency noun how much time or memory a method needs for its inputs We compared the efficiency of two search methods.
undecidable adjective having no algorithm that always gives the correct yes-or-no answer The halting problem is undecidable.

Practise these words

Unit 4 Computer Systems and Networks

Use these terms to follow how devices exchange data, recover from failures, and share computation.

WordMeaningIn a sentence
computer system noun connected hardware and software components working together The computer system processes orders from several terminals.
network noun a group of connected computing devices that can share information The school network connects computers in different buildings.
Internet noun the worldwide system of interconnected computer networks The Internet lets the classroom access a remote server.
World Wide Web noun linked pages and resources accessed through the global network A browser displays content from the World Wide Web.
protocol noun shared rules for how devices exchange information Both devices use the same protocol to understand the messages.
IP address noun a number used to identify a device or connection on a network The router forwards packets using the destination IP address.
domain name noun a human-readable name used to locate an Internet resource Typing the domain name is easier than typing the server's numeric address.
DNS abbreviation Domain Name System, which looks up addresses for human-readable web names The browser uses DNS to find the site's address.
router noun a device that forwards data between networks The router sent the packet toward a different network.
routing noun choosing and following paths for data through interconnected devices A link failure changed the routing of traffic.
packet noun a small unit of data sent across a network Each packet carries part of the message.
packet switching noun sending pieces of a message independently across shared links With packet switching, a message can take more than one path across the network.
bandwidth noun the maximum amount of data a link can carry per second More bandwidth lets the class stream several videos at once.
latency noun the time it takes for data to begin arriving after transmission High latency makes the video call feel sluggish.
scalability noun the ability to handle growth in users or workload The design improved scalability by spreading traffic across servers.
fault tolerance noun the ability to continue working when a part fails Extra network links improved fault tolerance.
redundant path noun an alternate connection that can carry data after another route fails The redundant path kept the lab connected after the main cable broke.
single point of failure noun one component whose failure can stop the entire system A lone central router can become a single point of failure.
network topology noun the arrangement of device connections in a communication system A diagram of the network topology shows two ways to reach the server.
server noun a system that provides data or services to requesting devices The server sends the requested file.
client noun software or a device that requests a service from another system The browser is the client that requests the page.
HTTP abbreviation Hypertext Transfer Protocol, a set of rules for exchanging web resources A browser sends requests using HTTP.
TCP abbreviation Transmission Control Protocol, which delivers an ordered and reliable stream of data The sender uses TCP to support reliable delivery.
sequential computing noun executing tasks one after another The prototype used sequential computing to finish one calculation before starting the next.
parallel computing noun executing multiple operations at the same time The team used parallel computing to process several images at once.
distributed computing noun dividing a task among separate machines that communicate The project uses distributed computing to analyze data on several computers.
speedup noun the ratio of original runtime to the new runtime The team measured the speedup after adding processors.
overhead noun extra work needed to coordinate or manage a task Communication overhead can reduce the benefit of adding more machines.
processor noun a hardware component that executes instructions A second processor can handle some tasks simultaneously.
connection noun a link allowing devices to exchange data A backup connection kept the server reachable.

Practise these words

Unit 5 Impact of Computing

These terms help you discuss access, fairness, ownership, and protection when computing tools affect people.

WordMeaningIn a sentence
computing innovation noun a new or improved product or process that depends on computer programs The translation app is a computing innovation that can improve access to services.
intended effect noun an outcome that designers or users planned to achieve The intended effect was shorter wait times at the clinic.
unintended consequence noun an outcome that the people making a decision did not plan More traffic was an unintended consequence of the navigation app.
digital divide noun unequal access to technology, connectivity, or related skills The school loaned laptops to reduce the digital divide.
accessibility noun how easily people with different abilities can use a tool Captions improve accessibility for users who cannot hear the audio.
digital literacy noun the skills needed to use and evaluate technology effectively The workshop teaches digital literacy through common online tasks.
computing bias noun systematic unfairness introduced or amplified by a computerized process Uneven training examples can contribute to computing bias.
training data noun examples a computer model uses to learn patterns The team checked whether its training data represented all users.
representative sample noun a subset that reflects important features of the larger group We need a representative sample of users to evaluate the tool fairly.
crowdsourcing noun gathering work, ideas, or information from many members of the public The map project uses crowdsourcing to update trail conditions.
citizen science noun research in which members of the public help collect or analyze evidence The bird count is an example of citizen science.
copyright noun legal control over certain uses of original creative work The photographer retains copyright in the image.
license noun permission laying out how others may use or share a work The license allows redistribution with credit.
attribution noun credit given to the creator or source of a work The project includes attribution beneath each reused photograph.
Creative Commons noun a set of standard licenses for sharing creative works under specified conditions A Creative Commons license allowed us to reuse the photo with credit.
open source adjective allowing people to inspect, change, and share code under its license We chose an open source library for the class project.
public domain noun the status of a work without copyright restrictions The image is in the public domain.
privacy noun control over how personal details are collected, used, or shared The survey protects privacy by collecting no names.
personally identifiable information noun data that can reveal who a particular person is A student ID can count as personally identifiable information.
informed consent noun voluntary agreement after learning what will happen and what risks are involved The study obtains informed consent before collecting location data.
data minimization noun collecting only information needed for a stated task Asking for an age range supports data minimization.
anonymization noun altering records so individuals cannot reasonably be identified The researchers used anonymization before sharing the data.
encryption noun transforming data so it can be read only with the proper key The app uses encryption to protect messages in transit.
authentication noun checking that someone or something is who they claim to be The system requires authentication before showing account details.
multifactor authentication noun identity verification that combines different kinds of proof The school enabled multifactor authentication for staff accounts.
phishing noun deceptive messages that trick people into exposing information or taking unsafe actions The security lesson teaches students how to recognize phishing.
malware noun software designed to damage, spy on, or gain unauthorized access Installing updates can reduce exposure to malware.
backup noun a separate copy kept in case original data is lost The crew restored the file from a backup.
data breach noun an incident in which protected information is accessed or exposed without permission The school notified families after a data breach.
strong password noun a login secret designed to be difficult to guess Use a unique strong password for the school account.

Practise these words