AP CSP Unit 2 Vocabulary Terms

0.0(0)
studied byStudied by 6 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/36

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

37 Terms

1
New cards

Flow Pattern

A pattern that comes when data is converted by computational logic structures.

2
New cards

Sequential Execution

Instructions for a program that are executed one step at a time in its assigned order.

3
New cards

Parameter

a variable that defines a procedure or sets the conditions of an operation

4
New cards

Arguments

An actual value passed down to a function/procedure when called.

5
New cards

Procedure

A group of reusable and abstracted step-by-step instructions.

6
New cards

Comments

Annotations of a code during a program that usually indicate the purpose of source code.

7
New cards

Remix

The process of modifying and sharing a pre-existing programming project.

8
New cards

Selection

A type of algorithm where multiple courses of action can be taken based on conditions (such as if/then statements).

9
New cards

If-statements

A selection statement that is executed when a certain criteria of a conditional is met.

10
New cards

If-else statement

A more detailed version of an if-statement that lists the instructions for if the criteria of a conditional is not met.

11
New cards

Nested Conditional

A conditional that includes multiple conditionals within it.

12
New cards

Operators

Characters or symbols that represent mathematical or logical processes.

13
New cards

Control Flow

The path that a computer takes to execute a procedure in a program.

14
New cards

Branching

An instruction in a program that can cause a computer to start a different set of instructions.

15
New cards

Conditionals

A statement that executes (or returns a value) when a certain criteria or condition is met.

16
New cards

Boolean Value

0s and 1s that return to indicate whether a statement is true (1) or false (0).

17
New cards

Switching

Returning different 0 or 1 values based on if a statement is true or false.

18
New cards

Nesting

Adding if statements within another if-statement.

19
New cards

Iteration

A type of algorithm which uses repetition of a number of actions until a condition is met.

20
New cards

Loop

A line of code that repeats other lines of code, which is used for iteration algorithms.

21
New cards

Indefinite Loop

A loop that will run an infinite number of times until another event in the code occurs (ex

22
New cards

Definite Loop

A loop that will iterate based on how many times the programmer tells it to iterate.

23
New cards

Repetition

A written step of a loop repeated until a condition is met.

24
New cards

Unsolvable Problem

A problem that cannot be solved by any algorithm

25
New cards

Halting Problem

A problem that determines whether a program will terminate or run indefinitely.

26
New cards

Scalability

How well programs execute on a progressively larger scale.

27
New cards

Big-O Notation

A mathematical notation that determines how much time and space a program needs as the input increases.

28
New cards

Sequential Search

A search that checks every value of a list until the result is found.

29
New cards

Binary Search

A search that divides a portion of a list by half until the result is identified.

30
New cards

Logarithmic Behavior

doubling the size of a problem only requires one extra unit of work.

31
New cards

Moore’s Law

States that the number of transistors in a chip will double every 1-2 years. This law helps to predict computer efficiency and developments.

32
New cards

Heuristics

Techniques designed for faster problem-solving for a complex issue.

33
New cards

operator block

light-green colored blocks of code used to handle strings and math equations in Scratch.

34
New cards

undecidable problem

where no algorithm can be made that always leads to a correct yes or no answer.

35
New cards

if-block

a set of instructions within an if block that is executed only if the condition in the if statement is met.

36
New cards

logic gate

a hardware abstraction that is modeled by a Boolean function

37
New cards

brute forcing

trial and error method used to decode encrypted data such as passwords.