runestone academy ap csp unit 3

studied byStudied by 26 people
5.0(2)
get a hint
hint

code statement

1 / 62

Studying Progress

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

code statement

program code that expresses an action to be carried out

New cards
2
New cards

variable

-names a memory location to hold many values in a program -data abstraction (has associated data storage) -stores data in the computer's main memory (RAM) -data is volatile

New cards
3
New cards

get block

gets the variable's current value whenever needed in the program

New cards
4
New cards

set block

assigns or changes the value of the variable

New cards
5
New cards

assignment

sets a variable to a value or mathematical expression

New cards
6
New cards

display

displays variable values or values resulting from mathematical operators

New cards
7
New cards

expression

values, variables, math operators, and mathematical procedures that returns (evaluates) a single value

New cards
8
New cards

evaluation

set order of operations for expression defined by the programming language

New cards
9
New cards

operator

-a symbol or function representing a math operation

New cards
10
New cards

assignment operator

allows a program to change the value of a variable

New cards
11
New cards

relational operators

-used inside "if" statements to compare variables with values or math operators -evaluates to a Boolean value

New cards
12
New cards

bitmap (raster)

memory organization or image file format used to store digital images

New cards
13
New cards

bit

-binary digit -smallest unit of data -fewer bits does not mean less information

New cards
14
New cards

run-length encoding (RLE)

-compression algorithm that represents an image by the length of runs of identical pixels -lossless compression technique -used in bitmap (BMP) images

New cards
15
New cards

image compression

-Data compression that reduces the number of bits of transmitted or stored data -Size reduction depends on the number of bits/pixels, number of diff. colors in the image, amount of redundancy in the original data representation, and the application of the compression algorithm

New cards
16
New cards

American Standard Code for Information Interchange (ASCII)

-code for representing English characters as numbers -each letter assigned a number from 0 to 127.

New cards
17
New cards

lossless compression

-Data compression technique in which no data is lost i.e. RLE -Used in BMP images -Used when the quality/ability to reconstruct the image is important

New cards
18
New cards

lossy compression

-Data compression technique in which some data is lost i.e. JPEG -Greater size reduction than lossless compression -Used when minimization of data size/transmission time is important

New cards
19
New cards

pixel (picture element)

single point in a graphic image

New cards
20
New cards

data type

The type of data stored in a variable i.e. string, boolean, or list.

New cards
21
New cards

analog data

values that change smoothly, rather than in discrete intervals, over time (i.e. pitch and volume of music, colors of a painting, position of a runner)

New cards
22
New cards

samples

-values of the analog signal at regular intervals -measured to determine the number of bits required to store each sample

New cards
23
New cards

refactoring

-process of restructuring program code without changing its behavior -simplifies design, making it easier to read & maintain

New cards
24
New cards

procedural abstraction

-Organizing and encapsulating algorithms in named procedures that can be called by name -Makes program smaller, easier to read, and allows for code reuse -Form of refactoring -Allows programmers to change the internals of the procedure without needing to notify users of the change

New cards
25
New cards

program documentation

-Written description of the function of a code segment, event, procedure, or program and how it was developed -Helps in developing and maintaining correct programs

New cards
26
New cards

comment

-Non-executable block of text added to a program to provide clarification and documentation of the code -Can acknowledge code segments created collaboratively, by someone else, or by another source

New cards
27
New cards

bug

-error in computer hardware or software -coined by Grace Hopper.

New cards
28
New cards

debugging

process of removing errors from computer software/hardware

New cards
29
New cards

tracing

stepping through the program line by line and carefully recording what happens to spot the error

New cards
30
New cards

modularity

separation of a program into independent modules that are each responsible for one aspect of the program's functionality.

New cards
31
New cards

flipped bit

bit that switches from 1 to 0 or vice versa

New cards
32
New cards

parity

evenness or oddness of a number

New cards
33
New cards

parity bit (redundant bit)

-bit that acts on a set of binary values -added to the leftmost bit of a string of bits to ensure the number of bits are even or odd

New cards
34
New cards

even parity

number of 1s in the sequence add up to an even number

New cards
35
New cards

odd parity

number of 1s in the sequence add up to an odd number

New cards
36
New cards

list (array)

-stores multiple terms (elements) under one variable name and uses an index to number and access them in memory -data abstraction (abstract data type)

New cards
37
New cards

element

individual value in a list that is assigned a unique index

New cards
38
New cards

index

number or position of an element in a list from 1 to the length of the list (natural numbers)

New cards
39
New cards

string

Sequence of characters that can stored in variable or text

New cards
40
New cards

substring

a string that is part of a longer string

New cards
41
New cards

concatenation

putting 2 strings together to make a new string

New cards
42
New cards

abstract data type (ADT)

defines a general data type that describes a collection of data without worrying about the specific implementation (i.e. list)

New cards
43
New cards

Application Programming Interface (API)

-Defines how other programs/web services can use it and communicate with it -Specifies how procedures in a library behave and can be used

New cards
44
New cards

Global Positioning System (GPS)

allows people to pinpoint their geolocation (geographic location) on Earth using satellites.

New cards
45
New cards

database

-stores persistent data in the computer's long-term storage (i.e. TinyDB, Firebase)

New cards
46
New cards

volatile storage

stored data that is destroyed when exited

New cards
47
New cards

tag/value pairs

-stores data -tag has to be a string -value can be a number, string, or list that is stored & retrieved by their tag

New cards
48
New cards

data abstraction

-Separates the abstract properties of a data type and the concrete details of its representation -Manages complexity by giving a collection of data a name without referencing its specific details

New cards
49
New cards

algorithm

a step-by-step procedure for solving a particular problem.

New cards
50
New cards

cloud computing

shares resources online on the Internet rather than having data be located on a personal computer

New cards
51
New cards

digital

-system based on discontinuous data or events -computers are digital machines because they can distinguish between only 0's and 1's at the basic level

New cards
52
New cards

digital signal processing

manipulation of analog info

New cards
53
New cards

download

process of copying data (entire file) from an online source to a personal computer

New cards
54
New cards

megabyte

-unit of data characterization -roughly 1 million bytes (2<sup)

New cards
55
New cards

megapixel

-one million pixels -used in reference to the resolution of a graphics device

New cards
56
New cards

model

representation of a photograph in bits

New cards
57
New cards

modeling

-process of representing a real-world object of phenomenon as a set of mathematical equations -process of capturing the representation of a photograph in bits -always omits information

New cards
58
New cards

optical character recognition (OCR)

process of reading text from paper & translating the images into a form that the computer can manipulate

New cards
59
New cards

rendering

-transferring of bits representing a digital photograph to a computer screen or printer -process of adding realism to computer graphics by adding 3D qualities i.e. shadows, variations in color & shade

New cards
60
New cards

spam

electronic junk mail/junk newsgroup postings

New cards
61
New cards

steganography

the art and science of hiding information by embedding messages within other, seemingly harmless messages.

New cards
62
New cards

cryptography

-"secret writing" -protects information by transforming it into an unreadable format.

New cards
63
New cards

metadata

-Data about data -Used for finding, organizing, and managing information -Increases the effective use of data or data sets by providing additional information -Allows data to be structured and organized

New cards

Explore top notes

note Note
studied byStudied by 17 people
Updated ... ago
5.0 Stars(84)
note Note
studied byStudied by 19 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 15 people
Updated ... ago
4.5 Stars(2)
note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 108 people
Updated ... ago
4.4 Stars(7)
note Note
studied byStudied by 27 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 20 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 2782 people
Updated ... ago
4.6 Stars(16)

Explore top flashcards

flashcards Flashcard37 terms
studied byStudied by 61 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard30 terms
studied byStudied by 112 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard69 terms
studied byStudied by 231 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard43 terms
studied byStudied by 12 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard40 terms
studied byStudied by 99 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard76 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard68 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard110 terms
studied byStudied by 4010 people
Updated ... ago
4.4 Stars(89)