Font size
WorksheetsAP CSP Exam Review
Total questions: 150
Worksheet time: 1hrs 15mins
something made by a person using a computer
computer artifact
router
computing system
computing network
finding and correcting errors in your program
debugging
getting good
abstraction
iteration
a defined block or section of code that does a specific task
procedure
code segment
pseudocode
protocol
an error caused by the rules of a programming language being broken
syntax error
overflow error
logic error
runtime error
Example: a program in Python that uses a period or parentheses in the wrong spot.
What kind of error is this?
syntax error
overflow error
logic error
runtime error
an error caused by an integer that is larger than what a programing language can handle
syntax error
overflow error
logic error
runtime error
Example: a number is expressed in 9 bits, but the programing language can use up to 8 bits.
What kind of error is this?
syntax error
overflow error
logic error
runtime error
an error where the program runs normally, but does not give you the result you want.
syntax error
overflow error
logic error
runtime error
Example: the output of my program was supposed to be "apple," but the output when I ran the program was "orange."
What kind of error is this?
syntax error
overflow error
logic error
runtime error
errors that occur while a program is being executed
syntax error
overflow error
logic error
runtime error
what the human using the program interacts with
user interface
programing interface
user outerface
programing outerface
section of code
code segment
block
line
code bit
an event triggers the code to run
event-driven programing
code-driven programing
advent-driven programing
programing
what the human does/puts into the program
input
output
how a program runs during execution
program behavior
program success rate
program reliability
program existence
what the program does as a result of the input
input
output
development process that repeats
iterative development process
adderative development process
you suck development process
repetitive development process
messages in the code that do not do anything, but explain how the code works for more readabliity
comments
collaboration
iteration
selection
sequencing
system where numbers, letters, colors, and other data are expressed as a series of ones and zeros using bits
binary number system
decimal number system
bit number system
byte number system
digit in a binary number, where each the whole number is 2^n
bit
byte
bite
byke
eight bits
octobit
byte
bits
bite
making something that is hard to read/understand easier to read
abstraction
iteration
sequencing
selection
numbers with decimal points are stored incorrectly in a computer
syntax error
overflow error
logic error
runtime error
round-off error
Example: 1.0 is stored as 0.9999998
What kind of error is this?
syntax error
overflow error
logic error
runtime error
round-off error
true or false: digital data is analog data
true
false
a continuous stream of data values
discrete data
continuous data
analog data
digital data
picture element
pixel
picture
screenshot
color
file size is shrunk relatively small, sends/downloads slower, but the original file can be restored without any data or quality lost
lossless data compression
lossy data compression
Lossless or lossy: an iPhone sending another iPhone a picture
lossless
lossy
file size is shrunk very small, sends/downloads quicker, but the original file cannot be restored as some data or quality is lost
lossless data compression
lossy data compression
Lossless or lossy: an iPhone sending an Android a picture
lossless data compression
lossy data compression
data made up of discrete (not continuous) values
digital data
analog data
discrete data
continuous data
removing corrupt or incomplete data, repairing incomplete data, verifying ranges or dates in data, making the data more uniform
cleaning data
filtering data
classifying data
data mining
different subsets of data are extracted to help produce meaning in the data
cleaning data
filtering data
classifying data
data mining
grouping data based on criteria
cleaning data
filtering data
classifying data
data mining
computers identifying patterns in data that people could not see otherwise
cleaning data
filtering data
classifying data
data mining
data that does not accurately represent all possibilities
biased data
lies
uncool data
trustworthy data
patterns in two or more unrelated datasets
correlation
causation
a pattern in one dataset as a result of a pattern in another
correlation
causation
true or false: correlation means causation
true
false
Correlation or causation: Nicholas Cage movies and swimming pool drownings
correlation
causation
data that describes/is about data
metadata
data2
sequel data
subsequent data
Correlation or causation
correlation
causation
being able to increase the capacity of a resource without having to redo it
scalabitily
getting good
bandwidth
abstraction
data can be visualized in a chart
useful
usable
conclusions can be drawn from data/chart
useful
usable
Usable or useful
useful
usable
Usable or useful
useful
usable
a set of instructions to solve a problem or complete a task
algorithm
natural language
pseudocode
programming language
spoken and written language, which can be ambiguous
algorithm
natural language
pseudocode
programing language
a plan for what you want the code to do. mix of natural and programming language.
algorithm
natural language
pseudocode
programming language
how easily you and other programers can understand a program
clarity
readability
how easily you and other programers can read the code in a program
clarity
readability
placeholders for values in a program
variables
strings
concatenating a string
substrings
index
a series of characters that make a text field. Surrounded by quotation marks.
Example: "why" "can't" "we" "go" "home?"
variable
string
concatenating a string
substring
index
adding strings together.
Example: the strings "why" "can't" "we" "go" "home?" become "why can't we go home?"
variable
string
concatenating a string
substring
index
sections of strings
variable
string
concatenating a string
substring
index
position in a string or list
variable
string
concatenating a string
substring
index
whole numbers
Example: 3, 4, 5, etc.
integers
fractional numbers
number with a decimal point
Example: 52.0, 1.5, 6.999, 12.8, 101.2, etc.
integer
fractional number
returns remainder after dividing
modulus (mod)
addition
subtraction
multiplication
gives a variable a value
assignment operator
boolean operator/values
AND logical operator
OR logical operator
NOT logical operator
operator/values only return as true or false
assignment operator
boolean operator/values
AND logical operator
OR logical operator
NOT logical operator
a boolean operator where both conditions must be true for the operator to be true
assignment operator
boolean operator
AND logical operator
OR logical operator
NOT logical operator
boolean operator where either or both of the conditions can be true for the operator to be true
assignment operator
boolean operator
AND logical operator
OR logical operator
NOT logical operator
a boolean operator where if the condition is true, the operator is false. If the condition is false, the operator is true.
assignment operator
boolean operator
AND logical operator
OR logical operator
NOT logical operator
statements executed in the order the program was written
sequential statements
selection statements
iterative statements
uses boolean operators to make a choice, which changes what happens in the program
sequential statements
selection statements
iterative statements
code in the statement repeats as many times as the programer specified before moving on
sequential statements
selection statements
iterative statements
generalizing or making it easier to read the code
abstraction
element
arithmetic operators
code statement
list
individual item in a list
abstraction
list
element
arithmetic operators
code statement
a collection or items or data stored in a variable
abstraction
list
element
arithmetic operators
code statement
operators that test conditions with math to get a result
list
abstraction
element
arithmetic operators
code statement
True or false: = and ← are assignment operators
true
false
a section of a program with an action to be executed
list
abstraction
element
arithmetic operators
code statement
area ← Pi* radius2
Is this the correct way to assign a value to a variable?
yes
no
=,=,<,>,≤,≥ are...
boolean operators
arithmetic operators
relational operators
conditions
starts at the beginning of a list and searches in the order the list what put in. Data does not need to be sorted for this to work.
linear search
binary search
divides data set and asks questions to search. More efficient than linear searches, but data needs to be sorted chronologically for it to work
linear search
binary search
a custom section of code that will be executed only when it is called in the main program or in another custom section
procedure
parameter
argument
return statement
used to accept values into a procedure and are sent through arguments
procedure
parameter
argument
return statement
holds a value that is passed onto a procedure when called
procedure
parameter
argument
return statement
procedure, parameter, or argument? (asking about the code in the blue box)
procedure
parameter
argument
procedure, parameter, or argument? (in the blue box only)
procedure
parameter
argument
procedure, parameter, or argument? (in the blue box only)
procedure
parameter
argument
a statement used to end a procedure/go back to the main program/send values back to the main program
procedure
parameter
argument
return statement
where prewritten procedures specific to a programing language are stored
library
box
packet
your mom's house
defines how other programs can interact with their programing module/application
Application Programing Interface (API)
HyperText Transfer Protocol (HTTP)
Domain Name System (DNS)
Internet Protocol (IP)
highly abstracted programs that mirror the real world. Used for creating/testing experiments and hypotheses when it would otherwise be too dangerous/expensive/time-consuming to do in the real world.
simulation
efficiency
problem
optimization
how many resources it takes to run a program, how much storage it takes up, and how long it takes to run
simulation
efficiency
problem
optimization
task that can or cannot be solved with an algorithm
problem
decision problem
optimization problem
heuristic
problem with a yes or no answer
problem
decision problem
optimization problem
heuristic
looking for the best solution to a problem
problem
decidable problem
optimization problem
heuristic
a not-great-but-close-enough solution to a problem when the optimal solution is unreasonable
problem
decision problem
optimization problem
heuristic
an algorithm can be written that results in correct yes/no answers for all inputs
decidable problem
undecidable problem
an algorithm cannot be written that results in correct yes/no answers for all inputs
decidable problem
undecidable problem
combination of variables/values and operations to be performed on them that determines a single value
expression
modularity
procedural abstraction
traverse
a style of programing that breaks down the requirements into smaller pieces until each module performs a certain task
expression
modularity
procedural abstraction
traverse
how a procedure works is simplified or abstracted away. Users of the procedure only need to know the input to give and the output to get from the procedure
expression
modularity
procedural abstraction
traverse
process all of a lists' elements
expression
modularity
procedural abstraction
traverse
connection between devices
path
router
data stream
packet
computing device along a path that sends information to the next stop along said path. Determined the moment it is needed, not in advance.
path
router
data stream
packet
information transmitted via the Internet
path
router
data stream
packet
breaking down information to be sent from one computer to another. They arrive at different times and out of order.
expression
router
data stream
packet
agreed-upon set of rules
protocol
internet protocol (IP)
transmission control protocol (TCP)
user datagram protocol (UDP)
a set of numbers assigned to a computer once it connects to the internet so the computer and send and receive information
protocol
internet protocol (IP) address
transmission control protocol (TCP)
user datagram protocol (UDP)
creates packets at the sending location and reassembles them at the receiving location. Also sends and resends a confirmation message to its destination if not all the packets are received.
protocol
internet protocol (IP) address
transmission control protocol (TCP)
user datagram protocol (UDP)
same as TCP but it's faster because it does not use a confirmation message, but some packets can be lost because of it. Used when speed is the priority over accuracy.
protocol
internet protocol (IP) address
transmission control protocol (TCP)
user datagram protocol (UDP)
a collection of web pages, documents, and files written in hypertext markup language (HTML)
world wide web (WWW)
redundancy
fault tolerance
hypertext transfer protocol (HTTP)
hypertext transfer protocol secure (HTTPS)
having multiple paths between routers and devices in order to create fault tolerance
world wide web (WWW)
redundancy
fault tolerance
hypertext transfer protocol (HTTP)
hypertext transfer protocol secure (HTTPS)
one point on the internet not working will not incapacitate the whole thing
world wide web (WWW)
redundancy
fault tolerance
hypertext transfer protocol (HTTP)
hypertext transfer protocol secure (HTTPS)
allows computers to request and share webpages, audio, images, videos, and other file types on the internet via GET requests
world wide web (WWW)
redundancy
fault tolerance
hypertext transer protocol (HTTP)
hypertext transfer protocol secure (HTTPS)
the exact same thing as HTTP but for secure data, like financial and medical data that require a password
world wide web (WWW)
redundancy
fault tolerance
hypertext transfer protocol (HTTP)
hypertext transfer protocol secure (HTTPS)
operations in a program are executed one after another on one computer in a specified order. cannot scale
sequential computing system
scalability
parallel computing system
distributed computing system
devices can be added and removed easily without disrupting or interrupting the service
sequential computing system
scalability
parallel computing system
distributed computing system
multiple computers execute parts of a program at the same time and a sequential computing system puts the parts back together. Faster than a sequential computing system to a point.
sequential computing system
scalability
parallel computing system
distributed computing system
multiple computers process and execute a program or application
sequential computing system
scalability
parallel computing system
distributed computing system
the amount of data that can be sent over a network in a fixed amount of time
bandwidth
computing device
computing network
computing system
piece of equipment that can run a computer program
bandwidth
computing device
computing network
computing system
connection of computing devices that send and receive data
bandwidth
computing device
computing network
computing system
multiple computing devices/networks/programs work together for a specific purpose
bandwidth
computing device
computing network
computing system
intentional or unintentional prejudice for or against certain groups of people
bias
crowdsourcing
creative commons licensing
open source
asking a large group of people for data for a project
bias
crowdsourcing
creative commons licensing
open source
allows creators to assign different levels of access to their intellectual property and others to use certain aspects of said property
bias
crowdsourcing
creative commons licensing
open source
software that is freely shared, updated, and supported by anyone who wants to do so and is open to modification without restrictions.
bias
crowdsourcing
creative commons licensing
open source
volunteers on a scientific team help collect and review data from their homes
citizen science
digital divide
intellectual property
open access
those who lack access to the internet based on location, economic, or accessibility factors
citizen science
digital divide
intellectual property
open access
anything a person creates
citizen science
digital divide
intellectual property
open access
data is freely available with limited, if any, copyright restrictions
citizen science
digital divide
intellectual property
open access
information that identifies you, such as your name, address, age, or social security number.
personally identifiable information (PII)
cybersecurity
malware
phishing
protects computing devices/networks/systems from attacks and unauthorized access
personally identifiable information (PII
cybersecurity
malware
phishing
malicious software
personally identifiable information (PII
cybersecurity
malware
phishing
creating a fake email/website/link that looks real to get people to click it and prompt them for personal information
personally identifiable information (PII
cybersecurity
malware
phishing
programs that can infect files and damage, delete, or steal files and spread to other devices
computer virus
keylogging
access point
rogue access point
malware that keeps track of keystrokes in a file that is sent to whoever planted the malware
computer virus
keyloging
access point
rogue access point
used to create wireless networks
computer virus
keyloging
access point
rogue access point
an access point that is not managed by an organization's secure network. Risks signal getting intercepted and data being captured/modified.
computer virus
keyloging
access point
rogue access point
writing secret codes
cryptography
targeted marketing
public key encryption
certificate authority
ads sent to specific groups of people based on prior searches/pages viewed.
cryptography
targeted marketing
public key encryption
certificate authority
uses one key to encrypt data and another to decrypt it. The encryption key is public while the decryption key is private.
cryptography
targeted marketing
public key encryption
certificate authority
organizations that give digital certificates to websites, which makes them trusted websites
cryptography
targeted marketing
public key encryption
certificate authority
converting data into a coded format
encryption
decryption
crowdfunding
authentication
deciphering encrypted data so it is readable
encryption
decryption
crowdfunding
authentication
asking large amounts of people for money for a project
encryption
decryption
crowdfunding
authentication
verifying users requesting access before addmitance
encryption
decryption
crowdfunding
authentication
encryption and decryption cipher are the same
symmetric cipher
asymmetric cipher
multifactor authentication
plagairism
encryption and decryption cipher are not the same
symmetric cipher
asymmetric cipher
multifactor authentication
plagairsm
uses more than one method to determine if the person requesting access to something should be given admitance
symmetric cipher
asymmetric cipher
multifactor authentication
plagairism
copying information/artifacts without direct permission from the owner or creator via creative commons licensing
symmetric cipher
asymmetric cipher
multifactor authentication
plagairsm
Potentially useless information: the AP CSP list index on the exam starts at...
1
2
3
4
5
