Font size
WorksheetsAP CSP Semester 1 Midterm
Total questions: 62
Worksheet time: 47mins
This term is a contraction for "Binary Digit." It's a single unit of information in a computer typically represented by 0 or 1.
Binary
Bit
Digit
Widget
The term for a set of 8 bits, usually written for ease of reading as 4 bits space 4 bits.
Bit
Byte
Kilobyte
Binary Digit
A set of rules governing the exchange or transmission of data between devices
Injunction
Protocol
Bandwidth
Conduit
This is the maximum rate of data transfer measured in bit rate.
TCP
Bandwidth
Bit Rate
Ping
The time it takes for a bit to travel from its sender to the receiver.
Bandwidth
Ping
Latency
Broadband
A number assigned to any item that is connected to the internet
DNS
MAC Address
IP Address
TCP Address
A computer that receives messages travelling across a network and redirects them towards their intended destinations based on the addressing information included with the message
Metadata
Switch
Router
Mapper
Small chunks of information that have been carefully formed from larger chunks of information. Typically broken up into parts to be sent over the internet.
Bits
Bytes
Packets
Routers
Provides reliable, ordered, and error checked deliver of a stream of packets on the Internet. TCP is tightly linked with IP and is usually seen as TCP/IP in writing
Internet Protocol
Transmission Control Protocol
User Datagram Protocol
Hyper Text Transfer Protocol
This internet system converts the alphabetic names of websites into their Internet Protocol addresses
Internet Protocol
Transmission Control Protocol
Domain Name System
Hypertext Transfer Protocol
The protocol used by the World Wide Web. It describes how the messages are formatted and interchanged, and how web servers respond to commands.
Hyper Text Transfer Protocol
Internet Protocol
Transmission Control Protocol
Domain Name System
A basic Internet program that allows a user to verify that a particular IP address exists and can accept requests
Ping
Pong
DNS
IP
A protocol for routing packets to the receiver. This protocol ensures all packets are received and that they are in order.
Transmission Control Protocol
User Datagram Protocol
Internet Protocol
Packet Protocol
A company or organization which provides internet to users.
Ethernet
Everyday Internet Users
Internet Service Provider (ISP)
A capability of a computer system, electronic system or network to deliver uninterrupted service, despite one or more of its components failing
Fault Tolerant Networking
Domain Name System
Hyper Text Markup Langauge
HTTP
Which unit is the largest?
Megabyte
Terabyte
Gigabyte
Kilobyte
Approximately how much bigger (how many more bytes) is a megabyte than a kilobyte?
1,000 times bigger
100,000 times bigger
1,000,000 times bigger
1,000,000,000 times bigger
Which of the following is a reason to use lossy compression?
You want the compressed file to be larger than the original.
You want the highest quality audio file possible, with no modifications.
You want the highest quality image file possible, with no modifications.
You want to save space and are not concerned if the file is the highest quality possible.
Which of the following is irreversible?
lossy compression
lossless compression
abstraction
RLI
Which of the file types is an audiofile type?
jpg
mp3
png
csv
How many bits are needed to represent 8 colors?
8 bits
24 bits
1 hex digit
3 bits
Lil’ Nibble, a local Soundcloud rapper, has recorded a new mixtape called “Half-a-byte,” produced by “Mibikibi and the Teraflops.” The mixtape has several audio files that have been compressed into a .ZIP file so they can be transferred easily and a separate .ZIP file containing album artwork and liner notes. If the mixtape .ZIP file takes up 800 MB and the artwork .ZIP file is 300 MB, what size flash drive do you need in order to transfer the files?
512 MB
1.0 GB
4 KB
2.0 GB
Internet Protocol
Protocol that breaks data down into packets and addresses them with source and destination information
A DNS attack in which numerous pings are made to the same IP, causing it to crash
Protocol used by the World Wide Web. It describes how messages are formatted and interchanged, and how web servers respond to commands.
Protocol that provides reliable, ordered, and error-checked delivery of a stream of packets on the internet
An internet dilemma dealing with the amount of and types of content on the internet that some people believe should be blocked
Internet Censorship
The Digital Divide
Net Neutrality
Adding the Internet to the Bill of Rights
An internet dilemma dealing with the division between people who have access to the internet and those who don't.
Internet Censorship
The Digital Divide
Net Neutrality
Adding the Internet to the Bill of Rights
An internet dilemma dealing with the current freedom of bandwidth between sites that require larges amounts of bandwidth and those that do not need as much.
Internet Censorship
The Digital Divide
Net Neutrality
Adding the Internet to the Bill of Rights
Simply this is data about data. Computers use ___________ to understand file types and sizes.
Ping
Latency
Metadata
Datagrams
A communications protocol that is primarily used for establishing low-latency and loss-tolerating connections between applications on the internet. It speeds up transmissions by enabling the transfer of data before an agreement is provided by the receiving party.
Transmission Control Protocol
User Datagram Protocol
Internet Protocol
Hyper Text Transfer Protocol
Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.
Command
Run Program
Algorithm
Block-based programming language
A sequence of steps written in a programming language that can be followed to solve a problem, especially by a computer.
Debug
Event
Algorithm
Computer Program
An error in a program that prevents the program from running as expected
onEvent
Bug
Moth
Fly in the Ointment
Statements that should only run upon a specific user action should be placed
inside an onAction block
below an onEvent command
after the first programming statement
within an onEvent programming statement
Finding and fixing problems in an algorithm or program
Debugging
Event Driven Programming
Run Programs
Algorithms
Cause the computer to execute the commands you've written in your program
console.log
Run Program
Debug
onEvent
A single instruction for the computer. Put many together and you get algorithms and computer programs.
Algorithm
onEvent
console.log
Command
A set of steps you can follow in order to solve a problem or achieve a result often written down in regular spoken language.
Debugging
Event
Algorithm
Computer Program
When the user hovers their mouse over the hawk, the
both birds will appear only in the middle of the screen
The sparrow will be confined to the upper right and the hawk to the upper left
The sparrow will be confined to the lower right and the hawk to the upper left
The sparrow will be confined to the lower left and the hawk to the upper right
Choose all the correct options. When debugging, you should
run the program over and over, staring really hard at it
add some console.log statements to see what is going on
describe your program and the odd behavior to a friend
reduce the amount of code and see if the behavior improves
This type of variable is temporary and can only be used where it was created.
local
global
var
universal
What will output to the console?
25
50
75
100
125
What will output to the console?
"C"
"hug"
"D"
"hawks"
What will output to the console?
"hug"
4
100
112
This type of variable is permanent and can be used anywhere in your code.
local
global
var
universal
What will output to the console log?
"hawks"
19
"hug"
35
A variable is a name reference that can store one value at a time.
true
false
What data type is defined below?
var myFavDay = "Friday"
number
string
character
float
What data type is defined below?
var myFavNumber = "9"
number
string
character
float
What data type is defined below?
var myFavNumber = 9;
number
string
character
float
What will the variable beep hold when the program ends?
5
11
-5
-6
