wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

AP CSP Chapter 4

Total questions: 21

Worksheet time: 20mins

Name
Class
Date
1.

Which of the following programs is most likely to benefit from the use of a heuristic?

a)

A program that calculates a student's grade based on the student's quiz and homework scores.

b)

A program that encrypts a folder of digital files

c)

A program that finds the shortest driving route between two locations on a map.

d)

A program that sorts a list of numbers in order from least to greatest.

2.

Which of the following has the greatest potential for compromising a user's personal privacy?

a)

A group of cookies stored by the user's Web Browser

b)

The IP address of the user's computer

c)

The user's email address

d)

The user's public key used for encryption

3.

when a cellular telephone user places a call. The carrier transmits the caller's voice as well as the voice of the person who is called. The encoded voices are the data of the call. In addition to transmitting the data, the carrier also stores metadata. The metadata of the call include information such as the time the call is placed and the phone numbers of both participants. For which of the following goals would it be more useful to computationally analyze the metadata instead of the data?


I. To determine if a caller frequently uses a specific word

II. To estimate the number of phone calls that will be placed next Monday between 10:30 AM and noon.

III To generate a list of criminal suspects when given the telephone number of a known criminal.

a)

I only

b)

II only

c)

II and III only

d)

I, II, and III

4.

A certain computer game is played between a human player and a computer-controlled player. Every time the computer-controlled player has a turn, the game runs slowly because the computer evaluates all potential moves and selects the best one. Which of the following best describes the possibility of improving the running speed of the game.

a)

The game's running speed can only be improved if the game is played between two human players instead of with the computer-controlled player.

b)

The game's running speed might be improved by using a process that finds approximate solutions every time the computer-controlled player has a turn.

c)

The game's running speed cannot be improved because computers can only be programmed to find the best possible solution.

d)

The game's running speed cannot be improved because the game is an example of an algorithm that does not run in a reasonable time.

5.

Which of the following best describes a Distributed Denial of Service (DDoS) attack?

a)

An attempt by a country to deny its citizens access to the Internet.

b)

An attempt to deny users access to a Web site's resources by flooding the Web site with requests from multiple systems.

c)

An attempt by one user to deny service to another by posting material on a social network.

d)

An attempt by a user of the Internet to get private information from a secure database.

6.
Quantities, characters, or symbols that are the inputs and outputs of computer programs.
a)
Text
b)
Outputs
c)
Inputs
d)
Data
7.

Which of the following is least likely to indicate a phishing attack?

a)

An email from your bank asks you to call the number on your card to verify a transaction.

b)

An email from a merchant asks that you click on a link to reset your password.

c)

An email from a utility company asks you to enter your date of birth and social security number for verification purposes.

d)

An email that indicates you have won a large sum of money and asks you to enter your bank account number so that money can be transferred to you.

8.

Which of the following activities poses the greatest personal cybersecurity risk?

a)

Making a purchase at an online store that uses public key encryption to transmit credit card information.

b)

Paying a bill using a secure electronic payment system.

c)

Reserving a hotel room by emailing credit card information to the hotel.

d)

Withdrawing money from a bank using an automated teller machine.

9.

______ encryption is a method of encryption involving one key for both encryption and decryption

a)

Symmetric

b)

Asymmetric

c)

Public key

d)

SSL

10.

In public key cryptography, the sender uses the recipient's public key to encrypt a message. Which of the following is needed to decrypt the message?

a)

The sender's public key

b)

The sender's private key

c)

The recipient's public key

d)

The recipient's private key

11.

What are brute-force attacks?

a)

Attacks that use frequency analysis to break passwords

b)

Attacks that check each possible solution to break encrypted data

c)

Attacks against DNS servers to enable DDOS attacks

d)

Attacks on firewalls to gain access to a company's sensitive data

12.

What is a symmetric key used for?

a)

Sending and receiving information from the web

b)

Encrypting data

c)

Decrypting data

d)

Encrypting and decrypting data

13.

What is the most common way computer viruses are spread?

a)

By people clicking on an infected file

b)

From pop up ads

c)

Through network worms

d)

From random botnet attacks

14.

What does the s in https refer to?

a)

It's the plural of http - a more robust version of http that runs on multiple channels.

b)

s is for "secure" - a version of http that is encrypted.

c)

s is for "simple" - a simplified version of http that runs faster on modern computers

d)

s is for "standard" - to distinguish the original http from non-standard versions like httpv and httpx

15.

When someone tries to get you to give up personal information through email or a bogus website it is called a: *

a)

DDoS Attack

b)

Phishing Scam

c)

Virus

d)

SSL/TLS layer

16.

What is 20 MOD 15?

a)

0

b)

5

c)

15

d)

20

17.

What is the "key" to a Caesar Cipher that someone needs to know (or discover) to decrypt the message?

a)

A secret word only know by Caesar.

b)

The number of characters to shift each letter in the alphabet.

c)

The letter that occurs most often in the encrypted message.

d)

The day of the month that the encrypted message was sent

18.

Which of the following statements best describes the properties of public key encryption?

a)

Public key encryption is an encryption method which relies on separate keys for encrypting and decrypting information.

b)

Public key encryption is a highly secure encryption scheme that in which a single shared key is used by both the sender and receiver of the message.

c)

Public key encryption makes use of certain types of problems which are easier for humans to solve than computers.

d)

Public key encryption makes use of mathematical problems which no algorithm can be used to solve.

19.

When a computer scientist uses the term "Big Data" what do they typically mean?

a)

That a dataset is larger than 5TB which is the common "Big Data" threshold.

b)

That there is so much data it's virtually impossible to process.

c)

There is enough data that traditional data processing applications are inadequate.

d)

It implies that the findings from the data are potentially hugely important for society.

20.

How can financial transactions safely occur on the Internet?

a)

Through the use of symmetric keys

b)

Through certificates issued by Certificate Authorities (CAs) that validate the keys used

c)

Through the use of double authentication methods

d)

The the use of frequency analysis

21.

13 MOD 17= ??

a)

13

b)

4

c)

-4

d)

17