AP CSP College Board Exam with all Correct & 100%
Verified Answers |Actual Complete Exam |Already
Graded A+
A programmer is writing a program that is intended to be able to process large amounts of data.
Which of the following considerations is LEAST likely to affect the ability of the program to
process larger data sets? ✔Correct Answer-How many programming statements the program
contains
An Internet service provider (ISP) is considering an update to its servers that would save copies
of the Web pages most frequently visited by each user.
Which of the following is LEAST likely to occur as a result of the update? ✔Correct Answer-
Web sites that are not visited frequently might no longer be accessible to users.
Historically, it has been observed that computer processing speeds tend to double every two
years. Which of the following best describes how technology companies can use this
observation for planning purposes? ✔Correct Answer-This option is correct. If it is assumed
that computer processing speeds will double every two years, then companies can design new
products with this assumption.
Which of the following programs is most likely to benefit from the use of a heuristic?
✔Correct Answer-A program that finds the shortest driving route between two locations on a
map
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
A programmer wrote the code segment below to display the average of all the elements in a list
called numbers. There is always at least one number in the list. ✔Correct Answer-
Interchanging line 7 and line 8
A cable television company stores information about movie purchases made by subscribers.
Each day, the following information is summarized and stored in a publicly available database.
The day and date each movie was purchased
The title of each movie purchased
The cities where subscribers purchased each movie
The number of times each movie was purchased by subscribers in a given city
A sample portion of the database is shown below. The database is sorted by date and movie
title. ✔Correct Answer-The number of movies purchased by an individual subscriber for a
particular month
, A city government is attempting to reduce the digital divide between groups with differing
access to computing and the Internet. Which of the following activities is LEAST likely to be
effective in this purpose? ✔Correct Answer-Putting all government forms on the city Web site
Consider the following code segment, which uses the variables r, s, and t.
r←1
s←2
t←3
r←s
s←t
DISPLAY (r)
DISPLAY (s)
What is displayed as a result of running the code segment? ✔Correct Answer-2 3
Which of the following is LEAST likely to indicate a phishing attack? ✔Correct Answer-An e-
mail from your bank asks you to call the number on your card to verify a transaction
In the program below, y is a positive integer (e.g., 1, 2, 3, ...)
What is the value of result after running the program? ✔Correct Answer-3y
Many Web browsers allow users to open anonymous windows. During a browsing session in an
anonymous window, the browser does not record a browsing history or a list of downloaded
files. When the anonymous window is exited, cookies created during the session are deleted.
Which of the following statements about browsing sessions in an anonymous window is true?
✔Correct Answer-Items placed in a Web store's shopping cart for future purchase during the
anonymous browsing session will not be saved on the user's computer.
In the program below, the initial value of x is 5 and the initial value of y is 10.
What is displayed as a result of running the program? ✔Correct Answer-November
A computer program uses 3 bits to represent integers. When the program adds the decimal
(base 10) numbers 5 and 3, the result is 0. Which of the following is the best explanation for the
result? ✔Correct Answer-An overflow error occurred.
A large data set contains information about all students majoring in computer science in
colleges across the United States. The data set contains the following information about each
student.
The student's gender
The state in which the student attends college
The student's grade point average on a 4.0 scale
Verified Answers |Actual Complete Exam |Already
Graded A+
A programmer is writing a program that is intended to be able to process large amounts of data.
Which of the following considerations is LEAST likely to affect the ability of the program to
process larger data sets? ✔Correct Answer-How many programming statements the program
contains
An Internet service provider (ISP) is considering an update to its servers that would save copies
of the Web pages most frequently visited by each user.
Which of the following is LEAST likely to occur as a result of the update? ✔Correct Answer-
Web sites that are not visited frequently might no longer be accessible to users.
Historically, it has been observed that computer processing speeds tend to double every two
years. Which of the following best describes how technology companies can use this
observation for planning purposes? ✔Correct Answer-This option is correct. If it is assumed
that computer processing speeds will double every two years, then companies can design new
products with this assumption.
Which of the following programs is most likely to benefit from the use of a heuristic?
✔Correct Answer-A program that finds the shortest driving route between two locations on a
map
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
A programmer wrote the code segment below to display the average of all the elements in a list
called numbers. There is always at least one number in the list. ✔Correct Answer-
Interchanging line 7 and line 8
A cable television company stores information about movie purchases made by subscribers.
Each day, the following information is summarized and stored in a publicly available database.
The day and date each movie was purchased
The title of each movie purchased
The cities where subscribers purchased each movie
The number of times each movie was purchased by subscribers in a given city
A sample portion of the database is shown below. The database is sorted by date and movie
title. ✔Correct Answer-The number of movies purchased by an individual subscriber for a
particular month
, A city government is attempting to reduce the digital divide between groups with differing
access to computing and the Internet. Which of the following activities is LEAST likely to be
effective in this purpose? ✔Correct Answer-Putting all government forms on the city Web site
Consider the following code segment, which uses the variables r, s, and t.
r←1
s←2
t←3
r←s
s←t
DISPLAY (r)
DISPLAY (s)
What is displayed as a result of running the code segment? ✔Correct Answer-2 3
Which of the following is LEAST likely to indicate a phishing attack? ✔Correct Answer-An e-
mail from your bank asks you to call the number on your card to verify a transaction
In the program below, y is a positive integer (e.g., 1, 2, 3, ...)
What is the value of result after running the program? ✔Correct Answer-3y
Many Web browsers allow users to open anonymous windows. During a browsing session in an
anonymous window, the browser does not record a browsing history or a list of downloaded
files. When the anonymous window is exited, cookies created during the session are deleted.
Which of the following statements about browsing sessions in an anonymous window is true?
✔Correct Answer-Items placed in a Web store's shopping cart for future purchase during the
anonymous browsing session will not be saved on the user's computer.
In the program below, the initial value of x is 5 and the initial value of y is 10.
What is displayed as a result of running the program? ✔Correct Answer-November
A computer program uses 3 bits to represent integers. When the program adds the decimal
(base 10) numbers 5 and 3, the result is 0. Which of the following is the best explanation for the
result? ✔Correct Answer-An overflow error occurred.
A large data set contains information about all students majoring in computer science in
colleges across the United States. The data set contains the following information about each
student.
The student's gender
The state in which the student attends college
The student's grade point average on a 4.0 scale