AP CSP Semester 1 Exam || Exam| MOST RECENT EXAM
ACTUAL COMPLETE REAL EXAM QUESTIONS AND CORRECT
ANSWERS (VERIFIED ANSWERS) ALREADY GRADED A+ |
GUARANTEED SUCCESS!! NEWEST EXAM | JUST RELEASED!!
Consider the following code segment.
Which of the following best describes the behavior of the code segment?
The code segment displays the value of 2(5^3) by initializing result to 2 and
then multiplying result by 5 a total of three times.
In the following procedure, assume that the parameter x is an
integer. Which of the following best describes the behavior of
the procedure?
It displays true if x is negative and displays nothing otherwise.
A company that develops educational software wants to assemble a
collaborative team of developers from a variety of professional and
cultural backgrounds. Which of the following is NOT considered a
benefit of assembling such a team?
Collaboration that includes diverse backgrounds and perspectives can
eliminate the need for software testing.
/ 1/72
,4/10/26, 10:17 PM AP CSP Semester 1 Exam
Central High School keeps a database of information about each student,
including the numeric variables numberOfAbsences and
gradePointAverage. The expression below is used to determine whether
a student is eligible to receive an academic award.
(numberOfAbsences ≤ 5) AND (gradePointAverage > 3.5)
Which of the following pairs of values indicates that a student is eligible to
receive an academic award?
numberOfAbsences = 5, gradePointAverage = 3.8
A programmer wrote the program below. The program uses a list of
numbers called numList. The program is intended to display the sum of
the numbers in the list.
In order to test the program, the programmer initializes numList to [0,
1, 4, 5]. The program displays 10, and the programmer concludes that
the program works as intended.
Which of the following is true?
The conclusion is incorrect; using the test case [0, 1, 4, 5] is not
sufficient to conclude the program is correct.
D
/ 2/72
,4/10/26, 10:17 PM AP CSP Semester 1 Exam
DineOutHelper is a mobile application that people can use to select a
restaurant for a group meal. Each user creates a profile with a unique
username and a list of food allergies or dietary restrictions. Each user can
then build a contact list of other users of the app.
A user who is organizing a meal with a group selects all the members of
the group from the user's contact list. The application then recommends
one or more nearby restaurants based on whether the restaurant can
accommodate all of the group members' allergies and dietary
restrictions.
Suppose that Alejandra is using DineOutHelper to organize a meal with
Brandon and Cynthia.
Which of the following data are needed for DineOutHelper to
recommend a restaurant for the group?
Each group member's list of food allergies or dietary restrictions
Alejandra's geographic location
The usernames of the people on Brandon and Cynthia's contact lists
I and II only
/ 3/72
, 4/10/26, 10:17 PM AP CSP Semester 1 Exam
DineOutHelper is a mobile application that people can use to select a
restaurant for a group meal. Each user creates a profile with a unique
username and a list of food allergies or dietary restrictions. Each user can
then build a contact list of other users of the app.
A user who is organizing a meal with a group selects all the members of
the group from the user's contact list. The application then recommends
one or more nearby restaurants based on whether the restaurant can
accommodate all of the group members' allergies and dietary
restrictions.
Suppose that Alejandra is using DineOutHelper to organize a meal with
Brandon and Cynthia.
Which of the following data is not provided by Alejandra but is necessary for
DineOutHelper to recommend a restaurant for the group?
Brandon's contact list
Information about which restaurants Brandon and Cynthia have visited in
the past Information about which food allergies and dietary restrictions
can be accommodated at different restaurants near Alejandra
III only
/ 4/72