AP COMPUTER SCIENCE PRINCIPLES
COLLAGE BOARD EXAM QUESTIONS
AND ANSWERS
Which of the following best describes what occurs when a new device connects
to the Internet? - ANSWER The gadget is allocated an Internet Protocol (IP)
address.
Which of the following describes the fault-tolerant characteristics of Internet
routing? - ANSWER The capacity to transmit data even when some connections
fail.
Which of the following are correct statements about digital certificates in web
browsers?
I. Digital certificates certify the ownership of encrypted keys used in secure
communication.
II. Digital certificates are used to ensure that the connection to a website is fault
resistant. - ANSWER I ONLY
Which of the following situations makes it most useful to utilize a heuristic
approach to issue solving? - ANSWER When the problem cannot be addressed
in a reasonable time, an approximate solution is acceptable.
When a cellular telephone user makes a call, the carrier broadcasts both the
caller's voice and the voice of the person being called. The encoded voices
represent the call's data. In addition to transmitting data, the carrier retains
metadata. The call's metadata includes information such as the time it was
placed and the phone numbers of both participants. Which of the following aims
would benefit more from computational analysis of metadata rather than data?
I. To evaluate whether a caller usually uses a specific word.
II. To estimate the amount of phone calls that will be made next Monday
between 10:30 a.m. It's midday.
III. To generate a list of criminal suspects when given the telephone number of
a known criminal (ANSWER II and III only)
, Which of the following best describes a DDoS attack? - ANSWER An attempt
to deny users access to the resources of a website by flooding it with requests
from many systems.
Which of the following is an accurate statement concerning data compression? -
ANSWER There are trade-offs to consider when deciding on a compression
technology for data storage and transmission.
Consider the following numbers.
Binary 1100
Decimal 11
Hexadecimal D
Which of the following ranks the numbers from lowest to highest? - ANSWER:
Decimal 11, Hexadecimal D, Binary 1100
Digital images are frequently represented by the red, green, and blue values (or
RGB triplets) of each individual pixel. A photographer manipulates a digital
image and overwrites the original. Which of the following describes the lossless
transformation of a digital image? - ANSWER An image's gray scale is created
by averaging the amounts of red, green, and blue in each pixel and assigning the
new value to the corresponding pixel in the new image. Each pixel's new value
corresponds to a shade of gray ranging from white to black.
A program is written in a programming language. Which of the following is true
about the program? - ANSWER The program can also be expressed as binary
code, but people will understand it better when expressed in a higher-level
programming language.
A programmer is creating a program that will be able to process massive
amounts of data. Which of the following factors is least likely to influence the
program's ability to handle greater data sets? - ANSWER How many
programming statements does the program contain?
A certain social networking website allows users to send messages and remark
on other people's posts. When a user sends a message, the message is
considered data. In addition to the data, the site retains the following metadata.
COLLAGE BOARD EXAM QUESTIONS
AND ANSWERS
Which of the following best describes what occurs when a new device connects
to the Internet? - ANSWER The gadget is allocated an Internet Protocol (IP)
address.
Which of the following describes the fault-tolerant characteristics of Internet
routing? - ANSWER The capacity to transmit data even when some connections
fail.
Which of the following are correct statements about digital certificates in web
browsers?
I. Digital certificates certify the ownership of encrypted keys used in secure
communication.
II. Digital certificates are used to ensure that the connection to a website is fault
resistant. - ANSWER I ONLY
Which of the following situations makes it most useful to utilize a heuristic
approach to issue solving? - ANSWER When the problem cannot be addressed
in a reasonable time, an approximate solution is acceptable.
When a cellular telephone user makes a call, the carrier broadcasts both the
caller's voice and the voice of the person being called. The encoded voices
represent the call's data. In addition to transmitting data, the carrier retains
metadata. The call's metadata includes information such as the time it was
placed and the phone numbers of both participants. Which of the following aims
would benefit more from computational analysis of metadata rather than data?
I. To evaluate whether a caller usually uses a specific word.
II. To estimate the amount of phone calls that will be made next Monday
between 10:30 a.m. It's midday.
III. To generate a list of criminal suspects when given the telephone number of
a known criminal (ANSWER II and III only)
, Which of the following best describes a DDoS attack? - ANSWER An attempt
to deny users access to the resources of a website by flooding it with requests
from many systems.
Which of the following is an accurate statement concerning data compression? -
ANSWER There are trade-offs to consider when deciding on a compression
technology for data storage and transmission.
Consider the following numbers.
Binary 1100
Decimal 11
Hexadecimal D
Which of the following ranks the numbers from lowest to highest? - ANSWER:
Decimal 11, Hexadecimal D, Binary 1100
Digital images are frequently represented by the red, green, and blue values (or
RGB triplets) of each individual pixel. A photographer manipulates a digital
image and overwrites the original. Which of the following describes the lossless
transformation of a digital image? - ANSWER An image's gray scale is created
by averaging the amounts of red, green, and blue in each pixel and assigning the
new value to the corresponding pixel in the new image. Each pixel's new value
corresponds to a shade of gray ranging from white to black.
A program is written in a programming language. Which of the following is true
about the program? - ANSWER The program can also be expressed as binary
code, but people will understand it better when expressed in a higher-level
programming language.
A programmer is creating a program that will be able to process massive
amounts of data. Which of the following factors is least likely to influence the
program's ability to handle greater data sets? - ANSWER How many
programming statements does the program contain?
A certain social networking website allows users to send messages and remark
on other people's posts. When a user sends a message, the message is
considered data. In addition to the data, the site retains the following metadata.