AP CSP Unit 2 Vocabulary

studied byStudied by 13 people
0.0(0)
get a hint
hint

algorithm

1 / 38

Studying Progress

0%
New cards
39
Still learning
0
Almost done
0
Mastered
0
39 Terms
1
New cards

algorithm

a process or set of rules to be followed in calculations or other problems solving operations

New cards
2
New cards

sequencing

logic structure where instructions are executed in order, one after another, one at a time. Often called linear.

New cards
3
New cards

flowchart

a simple diagram with symbols showing the "flow" of a process

New cards
4
New cards

flow pattern

pattern that can emerge when data is transformed using computational logic structures (sequencing, selection, iteration).

New cards
5
New cards

sequential execution

program instructions that are executed one at a time, in order.

New cards
6
New cards

parameter

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

New cards
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)

New cards
8
New cards

comments

an annotation in the code of a computer program

New cards
9
New cards

remix

to modify and share a version of an uploaded existing project

New cards
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.

New cards
11
New cards

if statement

type of selection statement that only executes when a certain criteria is met.

New cards
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.

New cards
13
New cards

operators

symbols that imply a comparison in conditional selection statements.

New cards
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.

New cards
15
New cards

Operator block

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

New cards
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.

New cards
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.

New cards
18
New cards

branching

instruction in a computer program that can cause a computer to begin executing a different sequence of instructions.

New cards
19
New cards

conditionals

only executes if a certain designated condition is true.

New cards
20
New cards

Boolean values

binary values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra.

New cards
21
New cards

switching

turning on or off (binary)

New cards
22
New cards

nesting

where different logic structures sequence, selection and loops are combined or nested in one another.

New cards
23
New cards

iteration

repetition - one complete step of a loop, repeated until a certain condition is met

New cards
24
New cards

loop

the repetition of some code

New cards
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...."

New cards
26
New cards

definite loop

executes a predetermined set of times for a loop to be repeated

New cards
27
New cards

repetition

one complete step of a loop, repeated until a certain condition is met

New cards
28
New cards

unsolvable problem

a problem that cannot be solved using any algorithm

New cards
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)

New cards
30
New cards

undecidable problem

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

New cards
31
New cards

scalability

how well do algorithms perform at increasingly larger scales.

New cards
32
New cards

Big-O Notation

a mathematical concept used by computer scientists to determine how well algorithms scale - performances classified into different categories.

New cards
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.

New cards
34
New cards

binary search

a method of searching by dividing the search interval in half each time.

New cards
35
New cards

logarithmic behavior

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

New cards
36
New cards

brute forcing

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

New cards
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.

New cards
38
New cards

heuristics

a method for deriving an approximate solution - Rules of Thumb but not guaranteed an accurately correct answer

New cards
39
New cards

logic gate

a hardware abstraction that is modeled by a Boolean function

New cards

Explore top notes

note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 42 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 40 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 14 people
Updated ... ago
4.7 Stars(3)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 43197 people
Updated ... ago
4.9 Stars(514)

Explore top flashcards

flashcards Flashcard105 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard32 terms
studied byStudied by 2 people
Updated ... ago
4.0 Stars(2)
flashcards Flashcard36 terms
studied byStudied by 4 people
Updated ... ago
4.0 Stars(1)
flashcards Flashcard40 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard93 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard81 terms
studied byStudied by 33 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard45 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard118 terms
studied byStudied by 50 people
Updated ... ago
5.0 Stars(3)