AP CSP CRAM FLASHCARDS

0.0(0)
studied byStudied by 0 people
0.0(0)
call with kaiCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/138

flashcard set

Earn XP

Description and Tags

I'm jumping fr

Last updated 2:25 PM on 1/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

139 Terms

1
New cards

Iterate

To repeat in order to achieve, or get closer to, a desired goal.

2
New cards

while loop

a programming construct used to repeat a set of commands (loop) as long as (while) a boolean condition is true.

3
New cards

Models and Simulations

a program which replicates or mimics key features of a real world event in order to investigate its behavior without the cost, time, or danger of running an experiment in real life.

4
New cards

Array

A data structure in JavaScript used to represent a list.

5
New cards

List

A generic term for a programming data structure that holds multiple items.

6
New cards

Key Event

in JavaScript an event triggered by pressing or releasing a key on the keyboard. For example: "keyup" and "keydown" are event types you can specify. Use event.key - from the "event" parameter of the onEvent callback function - to figure out which key was pressed.

7
New cards

for loop

A typical looping construct designed to make it easy to repeat a section of code using a counter variable. The for loop combines the creation of a variable, a boolean looping condition, and an update to the variable in one statement.

8
New cards

Return Value

A value sent back by a function to the place in the code where the function was called form - typically asking for value (e.g. getText(id)) or the result of a calculation or computation of some kind. Most programming languages have many built-in functions that return values, but you can also write your own.

9
New cards

Canvas

a user interface element to use in HTML/JavaScript which acts as a digital canvas, allowing the programmatic drawing and manipulation of pixels, basic shapes, figures and images.

10
New cards

Callback function

a function specified as part of an event listener; it is written by the programmer but called by the system as the result of an event trigger

11
New cards

Event

An action that causes something to happen

12
New cards

Event-driven program

a program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)

13
New cards

Event handling

an overarching term for the coding tasks involved in making a program respond to events by triggering functions

14
New cards

Event listener

a command that can be set up to trigger a function when a particular type of event occurs on a particular UI element

15
New cards

UI Elements

on-screen objects, like buttons, images, text boxes, pull down menus, screens and so on

16
New cards

User Interface

The visual elements of an program through which a user controls or communications the application. Often abbreviated UI

17
New cards

Debugging

Finding and fixing problems in your algorithm or program.

18
New cards

Data Type

All values in a programming language have a "type" - such as a Number, Boolean, or String - that dictates how the computer will interpret it. For example 7+5 is interpreted differently from "7"+"5"

19
New cards

Expression

Any valid unit of code that resolves to a value

20
New cards

Variable

A placeholder for a piece of information that can change

21
New cards

==

The equality operator (sometimes read: "equal equal") is used to compare two values, and returns a Boolean (true/false). Avoid confusion with the assignment operator "=",

22
New cards

Global Variable

A variable whose scope is "global" to the program, it can be used and updated by any part of the code. Its global scope is typically derived from the variable being declared (created) outside of any function, object, or method

23
New cards

If-Statement

The common programming structure that implements "conditional statements"

24
New cards

Local Variable

A variable with local scope is one that can only be seen, used and updated by code within the same scope. Typically this means the variable was declared (created) inside a function -- includes function parameter variables

25
New cards

Variable Scope

dictates what portions of the code can "see" or use a variable, typically derived from where the variable was first created. (See Global v. Local)

26
New cards

Concatentate

to link together or join. Typically used when joining together text Strings in programming (e.g. "Hello, "+name)

27
New cards

String

Any sequence of characters between quotation marks (ex: "hello", "42", "this is a string!")

28
New cards

Conditionals

Statements that only run under certain conditions

29
New cards

Selection

A generic term for a type of programming statement (usually an if-statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements

30
New cards

Boolean

A single value of either TRUE or FALSE

31
New cards

Boolean Expression

in programming, an expression that evaluates to True or False.

32
New cards

Syntax errors

Things you misspelled or wrote in such a way the computer doesn't understand what you're trying to say. The computer will usually give an error message as a clue to what it can't understand.

33
New cards

Logic errors

The program runs but doesn't do what you think it should. These can be tricky to fix because there might not be an error message. You can fix these errors by retracing your steps and trying to understand why the computer is interpreting what you wrote the way it is.

34
New cards

Moore's Law

a predication made by Gordon Moore in 1965 that computing power will double every 1.5-2 years, it has remained more or less true ever since.

35
New cards

One-pager

A business/corporate term for a one-page document that summarizes a large issue, topic or plan.

36
New cards

Caesar Cipher

a technique for encryption that shifts the alphabet by some number of characters

37
New cards

Cipher

the generic term for a technique (or algorithm) that performs encryption

38
New cards

Cracking encryption

When you attempt to decode a secret message without knowing all the specifics of the cipher, you are trying to "crack" the encryption.

39
New cards

Decryption

a process that reverses encryption, taking a secret message and reproducing the original plain text

40
New cards

Encryption

a process of encoding messages to keep them secret, so only "authorized" parties can read it.

41
New cards

Random Substitution Cipher

an encryption technique that maps each letter of the alphabet to a randomly chosen other letters of the alphabet.

42
New cards

Computationally Hard

a "hard' problem for a computer is one in which it cannot arrive at a solution in a reasonable amount of time.

43
New cards

asymmetric encryption

used in public key encryption, it is scheme in which the key to encrypt data is different from the key to decrypt.

44
New cards

MOD

a mathematical operation that returns the remainder after integer division. Example: 7 MOD 4 = 3

45
New cards

Private Key

In an asymmetric encryption scheme the decryption key is kept private and never shared, so only the intended recipient has the ability to decrypt a message that has been encrypted with a public key.

46
New cards

Public Key Encryption

Used prevalently on the web, it allows for secure messages to be sent between parties without having to agree on, or share, a secret key. It uses an asymmetric encryption scheme in which the encryption key is made public, but the decryption key is kept private.

47
New cards

Algorithm

A precise sequence of instructions for processes that can be executed by a computer

48
New cards

Abstraction

Pulling out specific differences to make one solution work for multiple problems.

49
New cards

Function

A piece of code that you can easily call over and over again.

50
New cards

API

a collection of commands made available to a programmer

51
New cards

Documentation

a description of the behavior of a command, function, library, API, etc.

52
New cards

Library

a collection of commands / functions, typically with a shared purpose

53
New cards

Parameter

An extra piece of information that you pass to the function to customize it for a specific need.

54
New cards

For Loop

A particular kind of looping construct provided in many languages. Typically, a for loop defines a counting variable that is checked and incremented on each iteration in order to loop a specific number of times.

55
New cards

Loop

The action of doing something over and over again.

56
New cards

Aggregation

a computation in which rows from a data set are grouped together and used to compute a single value of more significant meaning or measurement. Common aggregations include: Average, Count, Sum, Max, Median, etc.

57
New cards

Pivot Table

in most spreadsheet software it is the name of the tool used to create summary tables.

58
New cards

Summary Table

a table that shows the results of aggregations performed on data from a larger data set, hence a "summary" of larger data. Spreadsheet software typically calls them "pivot tables"

59
New cards

Pie Chart

Best used for making part-to-whole comparisons with discrete or continuous data. They are most impactful with a small data set.

60
New cards

Line Chart

Used to show time-series relationships with continuous data. They help show trend, acceleration, deceleration, and volatility.

61
New cards

Area Chart

Depicts a time-series relationship, but is different than line charts in that they can represent volume.

62
New cards

Scatter Plot

Shows relationships between items based on two sets of variables. They are best used to show correlation in a large amount of data.

63
New cards

README

A document providing background information about a dataset

64
New cards

CSV

Abbreviation of "comma-separated values," this is a widely-used format for storing data

65
New cards

Raw data

The original data as it was collected

66
New cards

Data

The raw, unorganized facts that need to be processed

67
New cards

Information

Data that is processed, organized, structured, or presented in a given context to make it useful.

68
New cards

Hypothesis

A proposed explanation for some phenomenon used as the basis for further investigation

69
New cards

Trending

An online topic that is quickly growing in popularity

70
New cards

Digital Divide

The variation in access or use of technology by various demographic characteristics (e.g., race, income, education, age, disability, and/or geography)

71
New cards

Visualization

Data provided in a graphical format to facilitate understanding or to communicate a message (i.e., translate data into useful information)

72
New cards

Computational tool

A computer-based tool or program used to create a computational artifact (e.g., a visualization, a graphic, a video, a program, or an audio recording)

73
New cards

Cleaning data

Making data ready for computational analysis which can include correcting or deleting invalid values and categorizing free-text data

74
New cards

Metadata

Data that describes other data

75
New cards

Scalability

The capability of a system to expand to handle a growing amount of work.

76
New cards

Heuristic

a problem solving approach (algorithm) to find a satisfactory solution where finding an optimal or exact solution is impractical or impossible

77
New cards

Lossless Compression

a data compression algorithm that allows the original data to be perfectly reconstructed from the compressed data

78
New cards

Image

A type of data used for graphics or pictures

79
New cards

metadata

is data that describes other data. For example, a digital image my include metadata that describe the size of the image, number of colors, or resolution

80
New cards

pixel

short for "picture element" it is the fundamental unit of a digital image, typically a tiny square or dot which contains a single point of color of a larger image

81
New cards

RGB

the RGB color model uses varying intensities of (R)ed, (G)reen, and (B)lue light are added together in to reproduce a broad array of colors

82
New cards

Lossy Compression

(or irreversible compression) a data compression method that uses inexact approximations, discarding some data to represent the content. Most commonly seen in image formats like .jpg

83
New cards

Abstraction

Pulling out specific differences to make one solution work for multiple problems.

84
New cards

kilobyte (KB)

1,000 (one thousand) or 10^3 bytes

85
New cards

Megabyte (MB)

1,000,000 (one million) or 10^6 bytes

86
New cards

gigabyte (BG)

1,000,000,000 (one billion) or 10^9 bytes

87
New cards

terabyte (TB)

1,000,000,000,000 (one trillion) or 10^12 bytes

88
New cards

petabyte (PB)

1,000,000,000,000,000 (one quadrillion) or 10^15 bytes

89
New cards

BMP file

Uncompressed Image

90
New cards

WAV file

Uncompressed Sound

91
New cards

JPEG file

Compressed Image - Lossy

92
New cards

GIF file

Compressed Image - Lossless (256 color limit)

93
New cards

MP3 file

Compressed Sound - Lossy

94
New cards

ZIP file

Compressed Files - Lossless

95
New cards

PNG file

Compressed Image - Lossless

96
New cards

IETF

Internet Engineering Task Force - develops and promotes voluntary Internet standards and protocols, in particular the standards that comprise the Internet protocol suite (TCP/IP).

97
New cards

Internet

A group of computers and servers that are connected to each other.

98
New cards

Net Neutrality

The principle that all Internet traffic should be treated equally by Internet Service Providers.

99
New cards

IP Address

A number assigned to any item that is connected to the Internet.

100
New cards

Packets

Small chunks of information that have been carefully formed from larger chunks of information.