AP CSP Semester 1 Vocab

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

1/51

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

52 Terms

1
New cards

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

2
New cards

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

3
New cards

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

4
New cards

event driven programming

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

5
New cards

program

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

6
New cards

program statement

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

7
New cards

sequential programming

Program statements run in order, from top to bottom

8
New cards

comment

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

9
New cards

debugging

Finding and fixing problems in an algorithm or program

10
New cards

documentation

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

11
New cards

development process

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

12
New cards

pair programming

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

13
New cards

binary

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

14
New cards

bit

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

15
New cards

byte

8 bits

16
New cards

decimal

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

17
New cards

overflow error

Error from attempting to represent a number that is too large

18
New cards

round-off error

Error from attempting to represent a number that is too precise

19
New cards

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

20
New cards

digital data

Data that changes discreetly through a finite set of possible values

21
New cards

sampling

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

22
New cards

losless compression

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

23
New cards

lossy compression

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

24
New cards

information

The collection of facts and patterns extracted from data

25
New cards

metadata

Data about data

26
New cards

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)

27
New cards

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

28
New cards

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

29
New cards

assignment operator

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

—> in psuedocode

30
New cards

expression

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

31
New cards

string

An ordered sequence of characters

32
New cards

variable

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

33
New cards

boolean value

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

34
New cards

comparison operator

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

35
New cards

logical operator

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

36
New cards

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

37
New cards

data abstraction

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

38
New cards

element

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

39
New cards

index

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

40
New cards

list

An ordered collection of elements

41
New cards

infinite loop

Occurs when the ending condition will never evaluate to true

42
New cards

iteration

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

43
New cards

traversal

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

44
New cards

function

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

45
New cards

function call

A command that executes the code within a function

46
New cards

argument

The value passed to the parameter

47
New cards

parameter

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

48
New cards

return

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

49
New cards

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

50
New cards

API (Application Program Interface)

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

51
New cards

library

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

52
New cards

modularity

The subdivision of a computer program into separate subprograms