Big Idea 3: Algorithms and Programming

0.0(0)
Studied by 0 people
0%Exam Mastery
Build your Mastery score
multiple choiceAP Practice
Supplemental Materials
call kaiCall Kai
full-widthPodcast
1
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

Vocabulary terms and definitions from the Algorithms and Programming lecture notes based on the AP Computer Science Principles curriculum.

Last updated 11:36 PM on 5/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards

algorithm

A finite set of instructions that accomplishes a specific task. Every algorithm can be constructed using combinations of sequencing, selection, and iteration.

2
New cards

API

A specification that defines how procedures in a library behave and how to use them, without requiring knowledge of how they are implemented.

3
New cards

argument

The value passed to a parameter when a procedure is called.

4
New cards

assignment

The process of storing a value in a variable.

5
New cards

Binary search

A search algorithm that starts at the middle of a sorted data set and eliminates half of the remaining elements with each step. Requires data to be in sorted order.

6
New cards

Boolean value

A value that is either true or false.

7
New cards

Conditional statement

An IF or IF/ELSE statement that affects the sequential flow of control by executing different statements based on the value of a Boolean expression.

8
New cards

Data abstraction

Using a list (or other collection type) to store multiple elements in a single structure, allowing program code to manage complexity by representing multiple related values under one variable.

9
New cards

element

An individual value within a list, accessed by its index position.

10
New cards

heuristic

An approach to a problem that finds a good solution in reasonable time, but does not guarantee the best or correct solution.

11
New cards

index

The position of an element in a list. AP pseudocode uses index values from 11 through the number of elements in the list.

12
New cards

Iteration

A repetitive portion of an algorithm. Iteration repeats until a given condition is met or for a specified number of times. Recursion is also a form of iteration.

13
New cards

library

A set of procedures that have been written and tested and are available for use in building programs.

14
New cards

List traversal

Iterating over all elements of a list, accessing each element one at a time, commonly used to search, modify, or compute with list values.

15
New cards

Relational operators

Operators that combine Boolean values: AND (true if both are true), OR (true if at least one is true), NOT (negates a Boolean value).

16
New cards

moduarity

The subdivision of a computer program into separate subprograms, achieved through procedural abstraction.

17
New cards

Nested conditional

A conditional statement that exists within another conditional statement.

18
New cards

parameter

A variable in the definition of a procedure that allows the procedure to receive input values when it is called.

19
New cards

Procedural extraction

A type of abstraction that provides a name for a process and allows a procedure to be used knowing only what it does, not how it does it.

20
New cards

procedures

A named group of programming instructions that may have parameters and return values. Also called functions, methods, or subroutines depending on the language.

21
New cards

pseudocode

A way of expressing an algorithm using natural language or informal notation, without the syntax of a specific programming language.

22
New cards

Logistical operators

Operators that compare two values and evaluate to a Boolean: equal (==), not equal (\neq), less than (<<), greater than (>>), less than or equal to (\le), greater than or equal to (\ge).

23
New cards

Return value

The value a procedure sends back to the code that called it.

24
New cards

selection

A programming construct that determines which parts of an algorithm are executed based on a condition being true or false.

25
New cards

sequencing

The application of each step of an algorithm in the order in which the code statements are given.

26
New cards

Sequential search

A search algorithm that checks each element of a list one by one until the target value is found or all elements have been checked.

27
New cards

Simulation

An abstraction of a more complex object or phenomenon for a specific purpose. Simulations mimic real-world events to allow investigation without real-world constraints.

28
New cards

string

An ordered sequence of characters used to represent text.

29
New cards

Undecidable problem

A problem for which no algorithm can be constructed that always produces a correct yes or no answer for every possible input.

30
New cards

variable

An abstraction inside a program that can hold a value. Each variable has associated data storage that represents one value at a time, but that value can be a list or other collection containing multiple values.