AP CSP Final

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

1/261

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

262 Terms

1
New cards

sprite

An object in Scratch that performs functions through scripting.

2
New cards

stage

The background of a project in Scratch which can have scripts, backdrops, sound, etc.

3
New cards

costume

The appearance of a sprite.

4
New cards

motion blocks

Medium-blue colored blocks used to control a sprite's movement in Scratch.

5
New cards

reporter blocks

A block in Scratch with round edges that contains a value (numbers, sentences, etc.) and can be used inside other blocks.

6
New cards

looks blocks

Purple-colored blocks of code in Scratch that are used to control a sprite's appearance.

7
New cards

sensing blocks

Light-blue colored Boolean blocks that are used to detect different factors of a project such as touching.

8
New cards

operator blocks

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

9
New cards

hexagon blocks are called....

booleans

10
New cards

circle blocks are called....

operators

11
New cards

event

blocks of code that trigger corresponding behavior

12
New cards

broadcast

When blocks of code are executed at a given time by communicating (or broadcasting) a message.

13
New cards

code statement

A part of a program code that expresses an action to be carried out.

14
New cards

input

User interaction with a program via clicking, mouse movement, or keyboard entry.

15
New cards

storage

what the computer "stores" or needs to remember to execute a program.

16
New cards

state

a description of what the computer is doing or the values of variables at any given moment.

17
New cards

attributes

a description of what the computer is doing or the values of variables at any given moment.

18
New cards

process

The program code and current activity that is being executed in a computer program.

19
New cards

position

the x and y coordinates on the stage in Scratch

20
New cards

Sensing Blocks

Light-blue colored Boolean blocks that are used to detect different factors of a project such as touching.

21
New cards

Placeholder

A variable for a particular value or attribute.

22
New cards

Variable

A variable is an abstraction inside a program that can hold value

23
New cards

Integer

a whole number; a number that is not a fraction. (used in programs)

24
New cards

Character

A single letter, digit, or special symbol that can be a type of variable

25
New cards

String

A series of characters at any length. Can be a type of variable.

26
New cards

Boolean Value

A variable to represent true and false

27
New cards

array

List of other variables.

28
New cards

floating point numbers

A number that may have digits after the decimal place. Can be a type of variable.

29
New cards

Declaring variables

creating variables in a programming language

30
New cards

innovating

The process of imagining something that does not yet exist, but that has potential value, and making it real through the application of design, implementation, and production.

31
New cards

Iteration

repeatedly applying a process with the goal of coming closer and closer to a solution

32
New cards

Iterative Development Process

the process by which computer programs are designed, developed and tested in repeated cycles

33
New cards

Debug

to identify and remove errors from a computer program

34
New cards

Iterative Development Process (life cycle of a program)

Idea > algorithm > write code > execute code > debug > maintain

35
New cards

Algorithm

a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

36
New cards

Sequencing

executes statements one at a time - in order, one after another.

37
New cards

Iteration

repeating actions until a certain condition is met

38
New cards

Selection

uses "if...then" to tell a computer how to select a step or to tell the sequence that it should be executed.

39
New cards

imperative statement

a command statement with a verb phrase that indicates an operation to perform (example: move forward, put in)

40
New cards

descriptive qualifier

A specific adverb or adjective that further qualifies or limits the meaning of a word (example: left shoe)

41
New cards

natural language

a complex, but structured language, both written and spoken, that has evolved naturally in humans through use, repetition, and adaptation.

42
New cards

binary

machine code that is a direct, low-level translation from the high-level source code, and is a pattern of 0s and 1s.

43
New cards

abstraction

the process of removing or suppressing details to create a manageable level of complexity.

44
New cards

artifical language

A limited size language, usually developed by a small group for specific purposes. Usually much simpler and structured.

45
New cards

ambiguity

uncertainty or being open to more than one interpretation.

46
New cards

visual programming language

A programming language that lets users drag and drop icons into organized blocks of code to create programs rather than typing text.

47
New cards

high-level language

a programming language that is easier for humans to read, write, and parse. Guaranteed to be unambiguous.

48
New cards

low-level language

a programming language that has little or no abstraction and communicates closely to the hardware using machine language. Less natural for humans.

49
New cards

compilation

the process of source code being translated into machine code.

50
New cards

source code

A program in a high-level language before being compiled.

51
New cards

machine code

machine-level instructions that are uniquely read by computer processors using patterns of 1s and 0s.

52
New cards

bit

A binary digit, a 0 or a 1.

53
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.

54
New cards

Operator block

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

55
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.

56
New cards

Branching

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

57
New cards

conditionals

only executes if a certain designated condition is true.

58
New cards

boolean values

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

59
New cards

switching

turning on or off (binary)

60
New cards

nesting

where different logic structures sequence

61
New cards

three types of loops

for loop while loop repeat-until loop

62
New cards

Iteration

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

63
New cards

loop

the repetition of some code

64
New cards

infinite 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.."

65
New cards

definite loop

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

66
New cards

procedure

a named conditions of steps in an algorithm or group of programming instructions that can be reused anytime it is needed. A procedure may have parameters and return values.

67
New cards

Parameter

a special type of variable used within a procedure

68
New cards

Modularity

The subdivision of a computer program into separate subprograms

69
New cards

heuristics

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

70
New cards

unsolvable problem

a problem that cannot be solved using any algorithm

71
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)

72
New cards

undecidable problem

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

73
New cards

Scalability

how well do algorithms perform at increasingly larger scales.

74
New cards

Big O Notation

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

75
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.

76
New cards

Binary Search

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

77
New cards

logarithmic behavior

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

78
New cards

brute forcing

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

79
New cards

logic gate

a hardware abstraction that is modeled by a Boolean function

80
New cards

Sequencing

An algorithmic structure where all instructions are performed in order and executed one at a time

81
New cards

Flowchart

A flowchart is a simple diagram with symbols showing the "flow" of a process

82
New cards

Flow pattern

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

83
New cards

sequential execution

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

84
New cards

code segment

refers to a collection of program statements that are part of a program.

85
New cards

program

A collection of program statements that performs a specific task when run by a computer. A program is often referred to as software.

86
New cards

Sequencing

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

87
New cards

Parameter

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

88
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)

89
New cards

Comments

an annotation in the code of a computer program

90
New cards

Remix

to modify and share a version of an uploaded existing project

91
New cards

Psuedocode

an informal method of writing algorithmic instructions that do not necessarily follow grammatical rules and syntax of a particular language. "False" code.

92
New cards

Selection

uses "if...then" to tell a computer how to select a step or to tell the sequence that it should be executed.

93
New cards

if statement

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

94
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.

95
New cards

Operators

symbols that imply a comparison in conditional selection statements.

96
New cards

String

a linear sequence of characters, words, or other data

97
New cards

dichotomous

in which something can only be one thing or another (yes or no)

98
New cards

Binary Code

code represented with the two symbols of 1 and 0

99
New cards

state space

the space of potential possibilities

100
New cards

exponential growth

the rate of growth that rapidly increases in proportion to the growing total number or size.