AP CSP Unit 2 Vocabulary

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

1/38

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

39 Terms

1
New cards
algorithm
a process or set of rules to be followed in calculations or other problems solving operations
2
New cards
sequencing
logic structure where instructions are executed in order, one after another, one at a time. Often called linear.
3
New cards
flowchart
a simple diagram with symbols showing the "flow" of a process
4
New cards
flow pattern
pattern that can emerge when data is transformed using computational logic structures (sequencing, selection, iteration).
5
New cards
sequential execution
program instructions that are executed one at a time, in order.
6
New cards
parameter
a variable that defines a procedure or sets the conditions of an operation
7
New cards
procedure
a named collection of steps in an algorithm that can be reused anytime it is needed without restating the detailed procedures (abstraction)
8
New cards
comments
an annotation in the code of a computer program
9
New cards
remix
to modify and share a version of an uploaded existing project
10
New cards
selection
algorithmic structure that uses "if...then" to tell computer how to select a step or to tell the sequence that should be executed.
11
New cards
if statement
type of selection statement that only executes when a certain criteria is met.
12
New cards
if else statement
a more thorough version of an if statement that stipulates what is to happen when a certain criteria is not met.
13
New cards
operators
symbols that imply a comparison in conditional selection statements.
14
New cards
control flow
the direction the computer program moves from instruction to instruction over time. Can also be controlled by if statements and other binary conditions.
15
New cards
Operator block
light-green colored blocks of code used to handle strings and math equations in Scratch.
16
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.
17
New cards
If else block
a set of instructions within an if block is executed if a specified condition is true and instructions within the else block are executed if the same condition is false.
18
New cards
branching
instruction in a computer program that can cause a computer to begin executing a different sequence of instructions.
19
New cards
conditionals
only executes if a certain designated condition is true.
20
New cards
Boolean values
binary values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra.
21
New cards
switching
turning on or off (binary)
22
New cards
nesting
where different logic structures sequence, selection and loops are combined or nested in one another.
23
New cards
iteration
repetition - one complete step of a loop, repeated until a certain condition is met
24
New cards
loop
the repetition of some code
25
New cards
indefinite loop
when it is unknown how many times a loop will iterate, usually we are waiting for an event to occur such as "repeat until...."
26
New cards
definite loop
executes a predetermined set of times for a loop to be repeated
27
New cards
repetition
one complete step of a loop, repeated until a certain condition is met
28
New cards
unsolvable problem
a problem that cannot be solved using any algorithm
29
New cards
Halting Problem
there cannot be a program that will determine which computer programs will halt (or exit) and which programs will go on forever (infinite loop)
30
New cards
undecidable problem
where no algorithm can be made that always leads to a correct yes or no answer.
31
New cards
scalability
how well do algorithms perform at increasingly larger scales.
32
New cards
Big-O Notation
a mathematical concept used by computer scientists to determine how well algorithms scale - performances classified into different categories.
33
New cards
sequential search
a linear search method of finding a targeted value within a list, looking one at a time until a match is found.
34
New cards
binary search
a method of searching by dividing the search interval in half each time.
35
New cards
logarithmic behavior
doubling the size of a problem only requires one extra unit of work.
36
New cards
brute forcing
trial and error method used to decode encrypted data such as passwords.
37
New cards
Moore's Law
developed by Gordon Moore, who accurately predicted that the number of transistors that could fit on a chip would roughly double every one to two years. This law has helped innovators predict and develop technology efficiently for the past 50 years.
38
New cards
heuristics
a method for deriving an approximate solution - Rules of Thumb but not guaranteed an accurately correct answer
39
New cards
logic gate
a hardware abstraction that is modeled by a Boolean function