wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP Test Review 1

Total questions: 116

Worksheet time: 1hrs 1mins

Name
Class
Date
1.
What does HTTP stand for?
a)
Hyper Text Transfer Protocol
b)
Nothing, it's supposed to be HTML
c)
Head To This Page
d)
Hyper Tense Tall Penguins
2.

An Internet attack that causes a server to crash by making repeated requests to the same IP address:

a)

DDoS (Distributed Denial of Service)

b)

Cache Poisoning

c)

DNS (Domain Name System) Hijacking

d)

Phishing

3.

Internet Protocol

a)

Protocol that breaks data down into packets and addresses them with source and destination information

b)

A DNS attack in which numerous pings are made to the same IP, causing it to crash

c)

Protocol used by the World Wide Web. It describes how messages are formatted and interchanged, and how web servers respond to commands.

d)

Protocol that provides reliable, ordered, and error-checked delivery of a stream of packets on the internet

4.
What does HTTP stand for?
a)
Hyper Text Transfer Protocol
b)
Nothing, it's supposed to be HTML
c)
Head To This Page
d)
Hyper Tense Tall Penguins
5.

An Internet attack that causes a server to crash by making repeated requests to the same IP address:

a)

DDoS (Distributed Denial of Service)

b)

Cache Poisoning

c)

DNS (Domain Name System) Hijacking

d)

Phishing

6.

Internet Protocol

a)

Protocol that breaks data down into packets and addresses them with source and destination information

b)

A DNS attack in which numerous pings are made to the same IP, causing it to crash

c)

Protocol used by the World Wide Web. It describes how messages are formatted and interchanged, and how web servers respond to commands.

d)

Protocol that provides reliable, ordered, and error-checked delivery of a stream of packets on the internet

7.
Tranmission Control Protocol:
a)
Breaks messages into packets and addresses them
b)
A DNS attack in which numerous pings are made to the same IP, causing it to crash
c)
Protocol used by the World Wide Web. It describes how messages are formatted and interchanged, and how web servers respond to commands.
d)
Provides reliable, ordered, and error-checked delivery of a stream of packets on the internet
8.
Which bit-sending technology is used for Ethernet cables?
a)
Electric voltage
b)
Alternating frequencies
c)
Beam of light
d)
Magic
9.
Which bit-sending technology is used for fiber optic cables?
a)
Electric voltage
b)
Alternating frequencies
c)
Beam of light
d)
Magic
10.
According to the domain name system (DNS), which of the following is a subdomain of the domain code.org?
a)
educate.code.org
b)
code.com
c)
code.org/apcsp/lesson10
d)
code.co.uk
11.
The world is currently in a transition to using IPv6, a newer version of the IP protocol that uses 128-bit addresses instead of 32-bit addresses used by IPv4. What is the main problem that IPv6 was created to solve?
a)
IPv6 will allow problems with IPv4's address hierarchy to be resolved
b)
32-bit addresses could not ensure that every internet-connected device can receive a unique IP address
c)
32-bit addresses could not accommodate the increased size and amount of data traveling on the Internet as it has grown in popularity
d)
IPv4 proved unreliable in some cases where network redundancy could not be ensured
12.
Given the following network diagram, what is the minimum number of connections that must be broken or removed before computer E can no longer communicate with computer B?
a)
1
b)
2
c)
3
d)
4
13.
Which of the following protocols is primarily used to establish a secure connection between browsers and servers so that no data is lost?
a)
HTTP
b)
SMTP
c)
SSL/TLS
d)
TCP/IP
14.
Which of the following statements about IP addresses is NOT true?
a)
Each IP address has a network previx and may have various subnet and interface IDs
b)
Each of the octets in an address can be any number between 0 and 255
c)
There are no rules or guidelines for creating a new IP address
d)
IP addresses may have prefixes to identify which routers or subnets the address belongs to
15.
Andrew uses an application to track HOW LONG it takes a packet to travel from his computer to a Wikipedia server. Which of the following is he measuring?
a)
Bandwidth
b)
Latency
c)
Number of packets
d)
Router sp
16.
A ____ HTTP request is used when the user requests information, but does not enter anything into the page.
a)
Get
b)
Post
c)
Send
d)
Fetch
17.

A _____ HTTP request is used when the user enters information (ex. user name/password) into the webpage.

a)

Get

b)

Post

c)

Login

d)

Send

18.
Which of the following best describes the basic idea of fault tolerance?
a)
A system that never fails
b)
If part of the system fails, the operation continues without interruption
c)
A program that does not allow inputs out of a range given by a programmer
d)
A program that does not allow loss of precision
19.
Which of these is NOT part of the TCP header?
a)
Packet Number
b)
Sender IP Address
c)
Size of Packet
d)
Name of File
20.
This is used to resolve host names to IP addresses
a)
IP address
b)
subnet mask
c)
default gateway
d)
DNS server
21.
How many bits are in an IPV6 address?
a)
32
b)
64
c)
128
d)
256
22.

HTTP

a)

Protocol used to check if all packets of data have been received

b)

Protocol for relaying packets across an interconnected network (Internet)

c)

Protocol used by web browsers to communicate with the web server and fetch the webpages that you see

d)

A cryptographic protocol used to securely transmit data over an unsecured network

23.

How many bits are in an IPV4 address?

a)

32

b)

64

c)

128

d)

256

24.
Which unit is the smallest?
a)
Megabyte
b)
Kilobyte
c)
Gigabyte
d)
Terabyte
25.

Which unit is the largest?

a)

Megabyte

b)

Terabyte

c)

Gigabyte

d)

Kilobyte

26.

An artist makes an RGB raster image in which each pixel color is encoded with 12-bits --- 4 bits each for red, green and blue.Which of the following correctly shows the hexadecimal value for Red as a 12-bit representation.

a)

F00

b)

00F

c)

FF00

d)

FF0000

27.

Approximately how much bigger (how many more bytes) is a megabyte than a kilobyte?

a)

1,000 times bigger

b)

100,000 times bigger

c)

1,000,000 times bigger

d)

1,000,000,000 times bigger

28.

Approximately 1,000 ________ are equal to 1 terabyte (1 TB).

a)

jengabytes

b)

gigglebytes

c)

gigabytes

d)

megabytes

29.

Which of the following is a reason to use lossy compression?

a)

You want the compressed file to be larger than the original.

b)

You want the highest quality audio file possible, with no modifications.

c)

You want the highest quality image file possible, with no modifications.

d)

You want to save space and are not concerned if the file is the highest quality possible.

30.

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

a)

Lossless Compression

b)

Heuristic

c)

Lossy Compression

d)

encryption

31.

Which of the following is irreversible?

a)

lossy compression

b)

lossless compression

c)

abstraction

d)

RLI

32.

Which of the file types is an audiofile type?

a)

jpg

b)

mp3

c)

png

d)

csv

33.

An original file is 100 MB, it is compressed to 80 MB (including dictionary). What is its compression rate?

a)

90%

b)

80%

c)

20%

d)

100%

34.

Which of the following hexadecimal representations would represent dark green?

a)

#191399

b)

#00FF10

c)

#001313

d)

#001300

35.

How would you lighten the color #bcc8e1?

a)

+50 to each color component

b)

+50 to the red component

c)

-50 to each color component

d)

-50 to the red component

36.

How many bits are needed to represent 8 colors?

a)

8 bits

b)

24 bits

c)

1 hex digit

d)

3 bits

37.

How many bits are needed to represent a 3 x 3 black and white image (exclude metadata)

a)

3 bits

b)

6 bits

c)

9 bits

d)

9 x 24 bits

38.

The color widget uses 3 bytes of metadata. The first two bytes indicate the width and height of the image. The next byte indicates the number of bits that will be used to represent color. How many bits is used to represent color given the metadata (in binary) 00001000 00001000 0001001

a)

3 bits

b)

6 bits

c)

9 bits

d)

12 bits

39.

Which of the following statements is FALSE?

a)

The computer stores colors in hexadecimal

b)

Every color has 3 components. A red, green and a blue component.

c)

A bright color would be represented by a large number.

d)

A computer uses 3 bytes to store a single colored pixel.

40.

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?

a)

512 MB

b)

1.0 GB

c)

4 KB

d)

2.0 GB

41.

Consider the following three binary numbers:

01010

010000

1110

Which of the following lists the numbers in order from least to greatest?

a)

010000

1110

01010


b)

01010

1110

010000


c)

01010

010000

1110


d)

1110

01010

010000


42.

A new or improved idea, device, product, etc, or the development thereof.

a)

Innovation

b)

Technology

c)

Improvement

d)

Protocol

43.

A way of representing information using only two options.

a)

BInary

b)

Doubled

c)

Algorithm

d)

Hexadecimal

44.

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

a)

Bit

b)

Character

c)

BInar

d)

BiDig

45.

Transmission capacity measure by bit rate

a)

Brandwidth

b)

Latency

c)

Bit Length

d)

Transmission Rate

46.

The number of bits that are conveyed or processed per unit of time. e.g. 8 bits/sec.

a)

Bit Rate

b)

Bit Speed

c)

Latency

d)

BPS

47.

Time it takes for a bit to travel from its sender to its receiver.

a)

Latency

b)

Bit Rate

c)

Bit Speed

d)

BPS

48.

A set of rules governing the exchange or transmission of data between devices.

a)

Protocol

b)

Guideline

c)

Packet

d)

Command

49.

American Standard Code for Information Interchange; the universally recognized raw text

a)

ASCII

b)

USACII

c)

QWERTY

d)

IETF

50.

Instructions for a computer.

a)

Code

b)

Comand

c)

Protocol

d)

Direction

51.

Internet Engineering Task Force - develops and promotes voluntary Internet standards

a)

IETF

b)

IT

c)

MIT

d)

Net Neutrality

52.

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

a)

Internet

b)

Google

c)

Packets

d)

Online Network

53.

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

a)

Net Neutrality

b)

Network Redundancy

c)

Internet Equality

d)

Online Protocol

54.

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

a)

IP Adress

b)

Network Coefficient

c)

Online Password

d)

Router Code

55.

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

a)

Packets

b)

Clusters

c)

Superunits

d)

Subunits

56.

Having multiple backups to ensure reliability during cases of high usage

a)

Network Redundancy

b)

Net Neutrality

c)

Internet Support

d)

Online Backup

57.

A type of computer that forwards data across a network

a)

Router

b)

WiFi Station

c)

Interlocutor

d)

Reciever

58.

Provides reliable, ordered, and error-checked delivery of a stream of packets on the internet.

a)

TCP

b)

DNS

c)

IP

d)

URL

59.

The service that translates URLs to IP addresses.

a)

DNS

b)

TCP

c)

HTTP

d)

TCP/IP

60.

The protocol used for transmitting web pages over the Internet

a)

HTTP

b)

DNS

c)

URL

d)

IP Adress

61.

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

a)

IP Adress

b)

URL

c)

Link

d)

HTTP

62.
Which of the following statements is true:
a)
DNS is at the same level of abstraction as the IP layer
b)
The IP layer is a higher level than the TCP layer. 
c)
The TCP layer is independent of  the IP layer
d)
The TCP layer is below the DNS layer
63.
What is the number 45 as a binary number?
a)
10011111
b)
00001100
c)
00101101
d)
10101010
64.
What is 01010111 in hexadecimal? 
a)
57
b)
60
c)
5A
d)
55
65.
What is Abstraction?
a)
The use of computers to solve problems.
b)
Representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements
c)
Breaking down a large problem into smaller sub-problems.
d)
Identifying the steps involved in solving a problem.
66.
Which protocol is used to transfer files from one computer to another?
a)
FTP
b)
HTML
c)
DNS
d)
HTTP
67.
Which protocol is used to transfer files from one computer to another?
a)
FTP
b)
DNS
c)
HTML
d)
HTTP
68.
What does Protocol mean?
a)
Security
b)
Rules
c)
Orders
d)
Services
69.
Which of these is NOT part of the TCP header?
a)
Packet Number
b)
Sender IP Address
c)
Size of Packet
d)
Name of File
70.
This is used to resolve host names to IP addresses
a)
IP address
b)
subnet mask
c)
default gateway
d)
DNS server
71.
How many bits are in an IPV6 address?
a)
32
b)
64
c)
128
d)
256
72.
Which of the following statements is true:
a)
TCP is a protocol that ensures that internet traffic is routed in the most efficient manner possible.  
b)
TCP ensures that all packets are received in the correct order.  
c)
The TCP protocol takes into consideration that packets can be lost. 
d)
TCP resends packets multiple times to ensure that they are received by the requester.  
73.
The binary number 01000001 represents the letter "A" in ASCII, which of the following represents the letter "B"
a)
01000011 
b)
01000010 
c)
00100001 
d)
01000001 
74.
ASCII stands for 
a)
American Standard Code for Internet Information
b)
American Scan Codes for Internet Information
c)
American Standard Code for Information Interchange
d)
American Standard Code for Internet Interchange 
75.
The HTTP protocol: 
a)
The GET request results in all of the page data being displayed. 
b)
Data sent by the server is sent in one file, broken up into various packets.
c)
Data sent by the server is sent in several files broken up into packets.  
d)
Data sent by the server arrives at the client in the order it is sent. 
76.
According to Vint Cerf the internet: 
a)
Must be affordable
b)
Must be unrestricted and uncensored.
c)
Must be protected by Government legislation to keep connections free. 
d)
Must be complex to ensure it meets all the requirements for growth.
77.
The IETF
a)
Is responsible for regulating the internet.
b)
Develops and promotes mandatory Internet standards
c)
Is a group of volunteers, engineers and network designers who oversee internet standards
d)
I a group of U.S. engineers who developed the internet
78.

gathering and measuring information on targeted variables in order to answer questions and evaluate outcomes

a)

data collection

b)

collaboration

c)

unstructured data

d)

big data

79.

working together to facilitate the application of multiple perspectives and diverse talents and skills

a)

data collection

b)

collaboration

c)

unstructured data

d)

cloud computing

80.

raw data with no connections and/or relationships among data detected - usually requires large amounts of storage

a)

data collection

b)

structured data

c)

unstructured data

d)

cloud computing

81.

data that is organized in some fashion - uses relatively smaller storage

a)

big data

b)

structured data

c)

unstructured data

d)

cloud computing

82.

data are figures and facts while information is data that is processed, interpreted and organized to become meaningful

a)

data vs. information

b)

Moore's law

c)

structured data

d)

relational database

83.

the retention and retrieval of data

a)

data storage

b)

big data

c)

structured data

d)

relational database

84.
Images can contain a geographical location of where the picture was taken. This is stored in a special area of an image file called:
a)
Metadata
b)
File name.
c)
Compression area.
d)
Alpha-channel.
85.
The following is true about metadata:
a)
It is data about data.
b)
It is corrupted data.
c)
It significantly increases file sizes.
86.
If image metadata is corrupted,
a)
The resulting picture is not displayed properly.
b)
It is easily fixed.
c)
Will not affect printing and displaying of the file.
87.
The following is often stored in metadata:
a)
All of these.
b)
Colour depth
c)
Height and Width of an image
d)
Compression algorithm applied.
88.
Metadata is used in the following files:
a)
All of these.
b)
Images
c)
MP3 files
d)
Webpages
89.

The main information stored is referred to:

a)

data

b)

metadata

90.

Extra information about the main information stored is referred to:

a)

data

b)

metadata

91.

DATA or Metadata?

Example: a financial record of donations to a charity.


check all that would be probable metadata in the record.

a)

dollar amount of the contribution

b)

method of contribution (check, cash, credit card)

c)

name of person making donation

d)

date of donation

e)

how many donuts the charity orders each year.

92.

DATA or Metadata?

Example: a list of popular websites


check all that would be probable metadata in the list.

a)

url of the website

b)

when the website first appeared

c)

how many total visitors the website has had

d)

how many visits the website has had in the last week

e)

whether MR. Schlamann likes the website or not

93.

DATA or Metadata?

Example: a log of phone calls on your phone


check all that would be probable metadata in the log.

a)

phone number that was dialed

b)

when the phone call was made

c)

duration of the call

d)

what was said during the call

e)

whether the call was an incoming or outgoing call

94.

DATA or Metadata?

Example: an image file


the geo Tag that stores where the picture was taken

a)

data

b)

metadata

95.

DATA or Metadata?

Example: an image file


the width of the picture in pixels

a)

data

b)

metadata

96.

Metadata can be used to organize and search for images.

a)

True

b)

False

97.
Which unit is the smallest?
a)
Megabyte
b)
Kilobyte
c)
Gigabyte
d)
Terabyte
98.

Which unit is the largest?

a)

Megabyte

b)

Terabyte

c)

Gigabyte

d)

Kilobyte

99.

An artist makes an RGB raster image in which each pixel color is encoded with 12-bits --- 4 bits each for red, green and blue.Which of the following correctly shows the hexadecimal value for Red as a 12-bit representation.

a)

F00

b)

00F

c)

FF00

d)

FF0000

100.

Approximately how much bigger (how many more bytes) is a megabyte than a kilobyte?

a)

1,000 times bigger

b)

100,000 times bigger

c)

1,000,000 times bigger

d)

1,000,000,000 times bigger

101.

Approximately 1,000 ________ are equal to 1 terabyte (1 TB).

a)

jengabytes

b)

gigglebytes

c)

gigabytes

d)

megabytes

102.

Which of the following is a reason to use lossy compression?

a)

You want the compressed file to be larger than the original.

b)

You want the highest quality audio file possible, with no modifications.

c)

You want the highest quality image file possible, with no modifications.

d)

You want to save space and are not concerned if the file is the highest quality possible.

103.

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

a)

Lossless Compression

b)

Heuristic

c)

Lossy Compression

d)

encryption

104.

Which of the following is irreversible?

a)

lossy compression

b)

lossless compression

c)

abstraction

d)

RLI

105.

Which of the file types is an audiofile type?

a)

jpg

b)

mp3

c)

png

d)

csv

106.

An original file is 100 MB, it is compressed to 80 MB (including dictionary). What is its compression rate?

a)

90%

b)

80%

c)

20%

d)

100%

107.

Which of the following hexadecimal representations would represent dark green?

a)

#191399

b)

#00FF10

c)

#001313

d)

#001300

108.

How would you lighten the color #bcc8e1?

a)

+50 to each color component

b)

+50 to the red component

c)

-50 to each color component

d)

-50 to the red component

109.

How many bits are needed to represent 8 colors?

a)

8 bits

b)

24 bits

c)

1 hex digit

d)

3 bits

110.

The color widget uses 3 bytes of metadata. The first two bytes indicate the width and height of the image. The next byte indicates the number of bits that will be used to represent color. How many bits is used to represent color given the metadata (in binary) 00001000 00001000 0001001

a)

3 bits

b)

6 bits

c)

9 bits

d)

12 bits

111.

Which of the following statements is FALSE?

a)

The computer stores colors in hexadecimal

b)

Every color has 3 components. A red, green and a blue component.

c)

A bright color would be represented by a large number.

d)

A computer uses 3 bytes to store a single colored pixel.

112.

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?

a)

512 MB

b)

1.0 GB

c)

4 KB

d)

2.0 GB

113.

Consider the following three binary numbers:

01010

010000

1110

Which of the following lists the numbers in order from least to greatest?

a)

010000

1110

01010


b)

01010

1110

010000


c)

01010

010000

1110


d)

1110

01010

010000


114.

the fundamental unit of a digital image, typically a tiny square or dot that contains a single point of color of a larger image

a)

Image

b)

Pixel

c)

metadata

d)

Pie Chart

115.

A raw digital sound file samples a sound wave at some interval and measures the height of the wave at each point. Thus, raw sound is recorded as a list of numbers.


In very broad terms the MP3 audio compression algorithm identifies frequencies and volume levels - low and high - that are outside the range of human hearing and removes the data representing these frequencies from the original. This technique results in a smaller audio file that sounds exactly the same to the human ear.


This technique is an example of what type of compression?

a)

Lossy compression

b)

Lossless compression

c)

Fast Fourier Transform compression

d)

Tailored compression

116.

Which of the following are equivalent?

I. 11110 (base 2)

II. 1E (base 16)

III. 24 (base 10)

a)

I and II

b)

I and III

c)

II and III

d)

I, II, and III