AP CSP Semester 1 Vocab

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

input

1 / 51

flashcard set

Earn XP

52 Terms

1

input

Data that is sent to a computer for processing by a program. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

New cards
2

output

Any data that is sent from a program to a device. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

New cards
3

user interface

The inputs and outputs that allow a user to interact with a piece of software. Can include a variety of forms such as buttons, menus, images, text, and graphics

New cards
4

event driven programming

Some program statements run when triggered by an event, like a mouse click or a key press

New cards
5

program

A collection of statements which run (or “execute”) one command at a time

New cards
6

program statement

A command or instruction, sometimes also referred to as a code statement

New cards
7

sequential programming

Program statements run in order, from top to bottom

New cards
8

comment

Form of program documentation written into the program to be read by people and which do not affect how a program runs

New cards
9

debugging

Finding and fixing problems in an algorithm or program

New cards
10

documentation

A written description of how a command or piece of code works or was developed, NOT the same as a comment!

New cards
11

development process

The steps or phases used to create a piece of software. Typical phases include investigating, designing, prototyping, and testing

New cards
12

pair programming

A collaborative programming style in which two programmers switch between the roles of writing code and tracking or planning high level progress

New cards
13

binary

A way of representing information using only 0s and 1s

New cards
14

bit

A contraction of "Binary Digit," the single unit of information in a computer, typically represented as a 0 or 1

New cards
15

byte

8 bits

New cards
16

decimal

Represents values using place value, with each digit having a specific position

New cards
17

overflow error

Error from attempting to represent a number that is too large

New cards
18

round-off error

Error from attempting to represent a number that is too precise

New cards
19

analog data

Data with values that change continuously, or smoothly, over time. Some examples include music, colors of a painting, or position of a sprinter during a race

New cards
20

digital data

Data that changes discreetly through a finite set of possible values

New cards
21

sampling

A process for creating a digital representation of analog data by measuring the analog data at regular intervals called samples

New cards
22

losless compression

A reversible process for reducing the number of bits needed to represent something without losing any information

New cards
23

lossy compression

An irreversible process for reducing the number of bits needed to represent something in which some information is lost or thrown away

New cards
24

information

The collection of facts and patterns extracted from data

New cards
25

metadata

Data about data

New cards
26

cleaning data

A process that makes the data uniform without changing its meaning (ex: replacing all equivalent abbreviations, spellings, and capitalizations with the same word)

New cards
27

data filtering

Choosing a smaller subset of a data set to use for analysis, for example by eliminating / keeping only certain rows in a table

New cards
28

correlation

A positive, negative, or neutral relationship between two pieces of data, typically referring to the amount that one varies in relation to the other

New cards
29

assignment operator

Assigns a value to a variable, == in javascript and

—> in psuedocode

New cards
30

expression

A combination of operators and values that evaluates to a single value

New cards
31

string

An ordered sequence of characters

New cards
32

variable

A named reference to a value that can be used repeatedly throughout a program

New cards
33

boolean value

A data type that can be evaluated to either true or false

New cards
34

comparison operator

<, >, <=, >=, ==, != indicate a Boolean expression

New cards
35

logical operator

NOT, AND, and OR, which evaluate to a Boolean value

New cards
36

conditional statement

Allows the program to execute different blocks of code depending on whether a condition is true or false. It typically consists of an if statement followed else if or else statements

New cards
37

data abstraction

Manages complexity in programs by giving a collection of data a name without referencing the specific details of the representation

New cards
38

element

An individual value in a list that is assigned a unique index

New cards
39

index

A common method for referencing the elements in a list or string using numbers (starts at 0 in javascript, 1 in psuedocode)

New cards
40

list

An ordered collection of elements

New cards
41

infinite loop

Occurs when the ending condition will never evaluate to true

New cards
42

iteration

A repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met

New cards
43

traversal

The process of accessing each item in a list one at a time

New cards
44

function

A named group of programming instructions, also referred to as a “procedure”

New cards
45

function call

A command that executes the code within a function

New cards
46

argument

The value passed to the parameter

New cards
47

parameter

A variable in a function definition, used as a placeholder for values that will be passed through the function

New cards
48

return

Used to return a result or data from a function to the code that called it

New cards
49

procedural abstraction

Allows a solution to a large problem to be based on the solution of smaller subproblems. This is accomplished by creating procedures to solve each of the subproblems

New cards
50

API (Application Program Interface)

Specifications for how functions in a library behave and can be used

New cards
51

library

A group of functions (aka procedures) that may be used in creating new programs

New cards
52

modularity

The subdivision of a computer program into separate subprograms

New cards

Explore top notes

note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 53 people
... ago
5.0(2)
note Note
studied byStudied by 118 people
... ago
5.0(1)
note Note
studied byStudied by 2 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(2)
note Note
studied byStudied by 24 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (111)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 27 people
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 69 people
... ago
5.0(2)
flashcards Flashcard (71)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (134)
studied byStudied by 50 people
... ago
5.0(1)
flashcards Flashcard (70)
studied byStudied by 5 people
... ago
5.0(1)
robot