AP Computer Science Principles College
Board Exam Questions With Correct
Answers
Which of the following best explains what happens when a new device
| | | | | | | | | | | |
is connected to the Internet? - CORRECT ANSWER✔✔-An Internet
| | | | | | | | |
Protocol (IP) address is assigned to the device.
| | | | | | |
Which of the following is a characteristic of the fault-tolerant nature of
| | | | | | | | | | | |
routing on the Internet? - CORRECT ANSWER✔✔-The ability to provide
| | | | | | | | | |
data transmission even when some connections have failed
| | | | | | |
Which of the following are true statements about digital certificates in
| | | | | | | | | | |
Web browsers?
|
I. Digital certificates are used to verify the ownership of encrypted keys
| | | | | | | | | | | |
used in secured communication.
| | |
II. Digital certificates are used to verify that the connection to a Web site
| | | | | | | | | | | | |
|is fault tolerant. - CORRECT ANSWER✔✔-I only
| | | | | |
Under which of the following conditions is it most beneficial to use a
| | | | | | | | | | | | |
heuristic approach to solve a problem? - CORRECT ANSWER✔✔-When
| | | | | | | | |
,the problem cannot be solved in a reasonable time and an approximate
| | | | | | | | | | | |
solution is acceptable | |
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 A.M. and noon. | | | | |
III. To generate a list of criminal suspects when given the telephone
| | | | | | | | | | | |
number of a known criminal - CORRECT ANSWER✔✔-II and III only
| | | | | | | | | |
Which of the following best describes a Distributed Denial of Service
| | | | | | | | | | |
(DDoS) attack? - CORRECT ANSWER✔✔-An attempt to deny users
| | | | | | | | |
access to a Web site's resources by flooding the Web site with requests
| | | | | | | | | | | | |
from multiple systems| |
Which of the following is a true statement about data compression? -
| | | | | | | | | | | |
CORRECT ANSWER✔✔-There are trade-offs involved in choosing a
| | | | | | | |
compression technique for storing and transmitting data. | | | | | |
, Consider the following numbers. | | |
Binary 1100 |
Decimal 11 |
Hexadecimal D |
Which of the following lists the numbers in order from least to greatest?
| | | | | | | | | | | |
- CORRECT ANSWER✔✔-Decimal 11, Hexadecimal D, Binary 1100
| | | | | | | |
Digital images are often represented by the red, green, and blue values
| | | | | | | | | | | |
(an RGB triplet) of each individual pixel in the image. A photographer is
| | | | | | | | | | | | |
manipulating a digital image and overwriting the original image. Which
| | | | | | | | | |
of the following describes a lossless transformation of the digital image?
| | | | | | | | | |
- CORRECT ANSWER✔✔-Creating the gray scale of an image by
| | | | | | | | | | |
averaging the amounts of red, green, and blue in each pixel and
| | | | | | | | | | | |
assigning this new value to the corresponding pixel in the new image.
| | | | | | | | | | | |
The new value of each pixel represents a shade of gray, ranging from
| | | | | | | | | | | | |
white to black. | |
A program is expressed in a programming language. Which of the
| | | | | | | | | | |
following is true of the program? - CORRECT ANSWER✔✔-The program
| | | | | | | | | |
can also be expressed as binary code, but will be more easily
| | | | | | | | | | | |
understood by humans when expressed in a higher-level programming
| | | | | | | | |
language.
A programmer is writing a program that is intended to be able to
| | | | | | | | | | | | |
process large amounts of data. Which of the following considerations is
| | | | | | | | | | |
Board Exam Questions With Correct
Answers
Which of the following best explains what happens when a new device
| | | | | | | | | | | |
is connected to the Internet? - CORRECT ANSWER✔✔-An Internet
| | | | | | | | |
Protocol (IP) address is assigned to the device.
| | | | | | |
Which of the following is a characteristic of the fault-tolerant nature of
| | | | | | | | | | | |
routing on the Internet? - CORRECT ANSWER✔✔-The ability to provide
| | | | | | | | | |
data transmission even when some connections have failed
| | | | | | |
Which of the following are true statements about digital certificates in
| | | | | | | | | | |
Web browsers?
|
I. Digital certificates are used to verify the ownership of encrypted keys
| | | | | | | | | | | |
used in secured communication.
| | |
II. Digital certificates are used to verify that the connection to a Web site
| | | | | | | | | | | | |
|is fault tolerant. - CORRECT ANSWER✔✔-I only
| | | | | |
Under which of the following conditions is it most beneficial to use a
| | | | | | | | | | | | |
heuristic approach to solve a problem? - CORRECT ANSWER✔✔-When
| | | | | | | | |
,the problem cannot be solved in a reasonable time and an approximate
| | | | | | | | | | | |
solution is acceptable | |
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 A.M. and noon. | | | | |
III. To generate a list of criminal suspects when given the telephone
| | | | | | | | | | | |
number of a known criminal - CORRECT ANSWER✔✔-II and III only
| | | | | | | | | |
Which of the following best describes a Distributed Denial of Service
| | | | | | | | | | |
(DDoS) attack? - CORRECT ANSWER✔✔-An attempt to deny users
| | | | | | | | |
access to a Web site's resources by flooding the Web site with requests
| | | | | | | | | | | | |
from multiple systems| |
Which of the following is a true statement about data compression? -
| | | | | | | | | | | |
CORRECT ANSWER✔✔-There are trade-offs involved in choosing a
| | | | | | | |
compression technique for storing and transmitting data. | | | | | |
, Consider the following numbers. | | |
Binary 1100 |
Decimal 11 |
Hexadecimal D |
Which of the following lists the numbers in order from least to greatest?
| | | | | | | | | | | |
- CORRECT ANSWER✔✔-Decimal 11, Hexadecimal D, Binary 1100
| | | | | | | |
Digital images are often represented by the red, green, and blue values
| | | | | | | | | | | |
(an RGB triplet) of each individual pixel in the image. A photographer is
| | | | | | | | | | | | |
manipulating a digital image and overwriting the original image. Which
| | | | | | | | | |
of the following describes a lossless transformation of the digital image?
| | | | | | | | | |
- CORRECT ANSWER✔✔-Creating the gray scale of an image by
| | | | | | | | | | |
averaging the amounts of red, green, and blue in each pixel and
| | | | | | | | | | | |
assigning this new value to the corresponding pixel in the new image.
| | | | | | | | | | | |
The new value of each pixel represents a shade of gray, ranging from
| | | | | | | | | | | | |
white to black. | |
A program is expressed in a programming language. Which of the
| | | | | | | | | | |
following is true of the program? - CORRECT ANSWER✔✔-The program
| | | | | | | | | |
can also be expressed as binary code, but will be more easily
| | | | | | | | | | | |
understood by humans when expressed in a higher-level programming
| | | | | | | | |
language.
A programmer is writing a program that is intended to be able to
| | | | | | | | | | | | |
process large amounts of data. Which of the following considerations is
| | | | | | | | | | |