stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
AP CSP U1-5 Review Flashcards | StudBud
Explore
/
AP CSP U1-5 Review
AP CSP U1-5 Review
22 terms
·
StudBud Administration
·
96 plays
data, Internet, variables conditionals functions, lists
Flashcards
22 cards
F
Practice quiz
P
Host live
L
Questions
22
Answers
1
a group of interconnected computing devices on a network capable of sending or receiving data is a...
computing network
computing system
computing device
2
What is the difference between sequential and event-driven programming?
sequential always occurs, event-driven occurs only on holidays
sequential needs input, event-driven needs output
sequential statements run in order, event-driven happens onEvent
sequential happens by itself, event-driven happens after some seconds pass
3
Evaluate the expression for Test 1 (score = 3, lives =3):
I haven't won the game yet.
I won the game!
4
What is the difference between input and output?
Input exists only in code, output happens in real life
Input is data sent TO the computer, output is data sent FROM the computer
Input makes a noise, output is silent
5
What is the difference between lossless and lossy compression?
Lossless doesn't lose information, lossy throws information away
Lossless loses information, lossy doesn't throw it away
6
Evaluate the expression: T && F
False
True
7
What is binary?
A way of representing a computer with pictures
A way of representing the Internet in simple terms
A way of representing information using only two options
A way of representing complex data using four options
8
What is a program?
the physical computer
a collection of comments begging the program to work
a collection of program statements; runs one command at a time
it's the Internet
9
How does a list manage complexity?
It makes data easier to search and sort
It simplifies data organization by allowing sequential access to elements
It provides a structured way to retrieve and sort data
It breaks down complex problems into manageable components
10
What does the command insertItem (list, index, item) do?
assigns a value to the given index
removes an element at the given index
inserts an element into a list at the given index
inserts an element to the end of the list
11
Evaluate the expression: T && T
False
True
12
Evaluate the expression: 5 > 7
True
False
13
Evaluate the expression: T || F
False
True
14
The unique number assigned to each device on the Internet is a...
IP address
Internet Protocol (IP)
router
protocol
15
What is the difference between analog and digital data?
Analog data is continuous; digital data is discrete
Analog is faster; digital is slower
Analog only exists in code; digital is used everywhere
Analog uses binary, digital uses a continuous signal
16
A group of computing devices and programs working together for a common purpose is a....
computing device
computing network
computing system
17
What is the difference between Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)?
TCP is for streaming movies and UDP is for playing video games
TCP is connection-oriented, UDP is connectionless
TCP does error-checking and guarantees delivery, UDP doesn't
18
What is metadata?
data about data
data about the computer
Just Data.
data about the Internet
19
What is the difference between cleaning and filtering data?
cleaning data physically cleans the computer, filtering data is on Insta
cleaning data chooses a subset for analysis, filtering data cleanses it
cleaning data is like poetry (it rhymes), filtering data is like fishing
cleaning data makes it uniform,filtering data chooses a subset for analysis
20
Evaluate the expression: !T
False
True
21
What are the steps of the debugging process?
Describe the problem, hunt for bugs, post on Twitter asking for help
Describe the problem, hunt for bugs, try for solutions, document as you go
Describe problem, charge they phone, eat hot chip and lie
Describe the problem, hunt for bugs, become programming god
22
What is a bit?
a single unit of information, represented as 0 and 1
a single unit of information, represented as 0 or 1