wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSP Final Review #1

Total questions: 58

Worksheet time: 1hrs 15mins

Name
Class
Date
1.
This chart is from Google trends. What does it likely indicate?
a)
"Chicago Cubs" is searched more than "Cleveland Indians"
b)
The Chicago Cubs were destined to win the World Series
c)
The Cleveland Indians are less popular than the Chicago Cubs
d)
Ohio is the only state that supports the Cleveland Indians
2.
Which of the following is NOT an example of metadata for an image file?
a)
Size of the image
b)
Date the image was create
c)
Image resolution
d)
Copy of each image pixel
3.
Which of the following is a likely source of bias in regards to collecting data about a city's governmental policies? 
a)
Surveying a random 10% representation of the population
b)
Surveying different neighborhoods regarding different topics
c)
Having the survey available only on a mobile application
d)
Having the survey available in digital and paper formats
4.
What is crowdsourcing in terms of data collection and analysis? 
a)
Using civilians to help with some tasks, usually recruited online
b)
Removing government funding from research projects
c)
Limiting research to trained professionals
d)
Having users submit research ideas
5.
Which of the following is the best source for finding peer-reviewed data and information? 
a)
Standard Internet search, such as Google or Yahoo
b)
Local library
c)
Online scholarly database
d)
Personal contacts with professionals in the field
6.
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
7.
Which type of attack is this: 
Many requests made to the same IP address to make the site crash? 
a)
DDoS
b)
Cache Poisoning
c)
DNS Hijacking
8.
Which type of attack is this: 
Redirecting a site's IP to a similar, fake site to collect user input information?
a)
DDOS
b)
DNS hijacking/spoofing
c)
Wire tapping
9.
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
10.
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
11.
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
12.
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
13.
What is the number 45 as a binary number?
a)
10011111
b)
00001100
c)
00101101
d)
10101010
14.
What is 01010111 in hexadecimal? 
a)
57
b)
60
c)
5A
d)
55
15.

What does Protocol mean?

a)

Security

b)

Rules

c)

Loops

d)

Services

16.
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 
17.
What decimal value will 10001001 equate to in binary?
a)
267
b)
93
c)
151
d)
137
18.
Definition: Transmission capacity measure by bit rate
a)
Latency
b)
Transmission Control Protocol
c)
Bandwidth
d)
Internet
19.
What does decreasing by a bit accomplish?
Ex. Changing from a 4 bit ID to a 3 bit ID
a)
Cuts the number of options in half
b)
Doubles the number of options
c)
Does not change the number of options
d)
I have no idea
20.
Which are true regarding high-level and low-level programming languages?
I. High-level can be more abstract
II. Low-level is harder to find errors
III. High-level is more easily understood by humans. 
a)
I and II
b)
I, II, and III
c)
II and III
d)
III only
21.
What is true regarding programming documentation (use of comments, notations, etc.)
a)
It should not be changed after it is first written.
b)
It helps during initial program development and also when modifications are made
c)
It is only needed during program development, not after completion
d)
It is only useful for collaboration, not independent programming.
22.

Which of the following is an example of abstraction?

a)

Writing a procedure/method for code you repeat often

b)

Using logic symbols like < and >

c)

Numbers are converted from one base to another

d)

There is an error in the code

23.
Which of the following would best be executed by a loop?
a)
Drawing 500 squares in a line
b)
Calculating the sum of two numbers
c)
Determining which set of steps to execute next
d)
Drawing the letters in your name
24.
A bakery collects data on sales. Each sales record includes the date of the sale and some metadata about the items that were part of the sale. The data includes: the names of the items sold, the types of items sold, the number of each item sold, and the price of each item sold. Which of the following CANNOT be determined from the bakery's data set?
a)
The total income from sales the bakery received in the past month. 
b)
Which customer most frequently purchases bread. 
c)
The item bought in the highest quantity in the past week. 
d)
Days when certain items sell the most. 
25.
A single value of either TRUE or FALSE
a)
Boolean
b)
Julian
c)
Null
d)
Conditional
26.
What step is missing?
a)
Multiply the number by 2.
b)
Divide the number by 2.
c)
Multiply the number by 3.
d)
Divide the number by 3.
27.
What kind of data would we store in a "String" parameter?
a)
objects
b)
dates
c)
whole numbers
d)
text 
28.
The number 15 in binary is:
a)
10001
b)
11001
c)
01111
d)
10000
29.

What is a list of steps that you can follow to finish a task?

a)

redundancy

b)

wires

c)

algorithm

d)

software bugs

30.
Which of the following is an example of a binary question?
a)
Do you like the color red or purple?
b)
Why do you want to go to the football game tomorrow night?
c)
How do you cook a turkey?
d)
What are the steps involved in building an app?
31.
If the post office delivered mail exactly like routers deliver messages on the Internet, which of the following statements would be true?
a)
One mailman would be responsible for delivering a letter from sender to receiver.
b)
Your email could not be delivered if a road your mailman was planning to take was under construction.
c)
The mailman would sometimes take a different path to deliver each letter to your home.
32.
What is the service that translates URLs to IP addresses?
a)
TCP
b)
ISP
c)
DNS 
d)
IETF
33.
Having multiple backups to ensure reliability during cases of high usage or failure is called ________________.
a)
Network redundancy
b)
Network repetition
c)
Net Neutrality
d)
Network routing
34.
Bytes, which are represented by 8 bits, are the units used by computers to represent a character such as a letter or number.  The following characters are shown with their decimal representations.
C      67
K      75
.        96
p       112
Which of the above, represented in binary as a byte, contains the most zeros?
a)
C
b)
K
c)
.
d)
p
35.

PROCEDURE mystery (num, list)

{

FOR EACH value IN list

{

if (list[value] MOD num == 0)

}

DISPLAY list[value] + " "

REMOVE list[value]

}

}

}

If list myList contains the following data: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0], what will be displayed by mystery (3, myList)?

a)

10 8 7 5 4 2 1

b)

10 8 7 5 4 2 1 0

c)

9 6 3

d)

9 6 3 0

36.

Consider the following procedure, cube (n), which is meant to multiply a number by itself three times.

PROCEDURE cube (n)

{

cubeValue ← n * n * n

RETURN (cubeValue)

}

What is returned by cube (cube(2))?

a)

8

b)

64

c)

128

d)

512

37.
Under which of the following conditions is it most beneficial to use a heuristic approach to solve a problem?
a)
When the problem can be solved in a reasonable time and an approximate solution is acceptable 
b)
When the problem can be solved in a reasonable time and an exact solution is needed
c)
When the problem cannot be solved in a reasonable time and an approximate solution is acceptable 
d)
When the problem cannot be solved in a reasonable time and an exact solution is needed
38.
Which of the following is a true statement about data compression?
a)
Data compression is only useful for files being transmitted over the Internet.
b)
Regardless of the compression technique used, once a data file is compressed, it cannot be restored to its original state. 
c)
Sending a compressed version of a file ensures that the contents of the file cannot be intercepted by an unauthorized user. 
d)
There are trade-offs involved in choosing a compression technique for storing and transmitting data. 
39.
Which of the following is true about routing on the Internet? 
a)
information travelling between 2 computers over the Internet will always take the same path
b)
a packet travelling between 2 computers on the Internet may be rerouted many times along the way
40.
How does info travel across the Internet?
a)
Packets
b)
Bundles
c)
Bubbles
d)
Minions
41.
This number is an example of 
a)
a web address
b)
a mailing address
c)
a DNS
d)
an IP address
42.
One time through a series of steps that get repeated is called _________.
a)
iteration
b)
sequencing
c)
processing
d)
execution
43.
Which is a subdomain of example.com?
a)
example.com
b)
example.co.uk
c)
example.com.org
d)
about.example.com
44.
An app is made to calculate total miles traveled. The developers adjusted the algorithm so that the app is accurate to the nearest 10th of a mile. Which word best defines this action?
a)
iteration
b)
heuristic 
c)
selection
d)
abstraction
45.

This is the action of adding an element to the end of a list or array.

a)

append

b)

addendum

c)

sum

d)

product

46.

This search algorithm finds a target in an ordered set by halving the set being searched at each stage until the target is found or a set of one element is all that remains.

a)

linear search

b)

binary search

c)

algorithm

d)

heuristic

47.

Which malware type is capable of performing Distributed Denial of Service (DDos) attacks?

a)

worm

b)

botnet

c)

backdoor

d)

trojan horse

e)

logic bomb

48.

Which malware type is capable of spread to other software in the system?

a)

worm

b)

botnet

c)

virus

d)

trojan horse

e)

logic bomb

49.

A fraudulent website requires you to input your username, password, or credit card information, with the intent to steal that information. This is known as...

a)

DDoS

b)

phishing

c)

ransomware

d)

trojan horse

e)

worm

50.

technique that reduces the number of bits stored or transmitted; could be lossy or lossless

a)

digital encryption

b)

data compression

c)

digital certificate

d)

binary analysis

51.

problem in which an algorithm can be constructed to answer "yes" or "no" for all inputs

a)

decidable problem

b)

undecidable problem

c)

lossy compression

d)

binary search

52.

expression for the differing access to computing and the internet based on socioeconomic or geographic characteristics of a population

a)

digital divide

b)

digital certificate

c)

data mining

d)

fortunate sons

53.

using mathematical algorithms to decode (decipher) a message; usually this algorithm is used to protect encrypted information from unauthorized viewers

a)

decryption

b)

encryption

c)

digital divide

d)

hacking

54.

legislation passed to protect copyrighted digital data while also making it more widely available (hint: you have a flashcard with this term on it!)

a)

Digital Millennium Copyright Act (DMCA) of 1998

b)

Creative Commons License

c)

Privacy Policy

d)

Cybersecurity Act of 2012

55.

a hierarchical naming system designed to identify individual entities on the Internet or any network; was not designed to be completely secure

a)

domain name system (DNS)

b)

distributed network

c)

distributed denial of service (DDoS)

d)

database

56.

using mathematical algorithms to encode (hide) a message so only those that should read it can read it

a)

encryption

b)

data compression

c)

machine learning

d)

decipher

57.
Which of the following most accurately describes Moore's Law:
a)
Moore's Law describes a relationship of boolean logic statements involving AND and OR 
b)
Moore's Law is the principle that one should assume that any traffic on the Internet is insecure 
c)
Moore's Law is the observation that computing power tends to double every two years 
d)
Moore's Law explains why cracking modern cryptography is a "computationally hard" problem 
58.
Fill in the blank of the following statement: "______ encryption is a method of encryption involving one key for both encryption and decryption."
a)
Symmetric
b)
Asymmetric 
c)
Public key 
d)
SSL