AP CSP FRQ PRACTICE 2 Name: _______________________________
Directions: Read each question carefully and completely. Write your response in the space
provided for each question.
1. Identify the expected group of users of your program. Explain how your program addresses
at least one concern or interest of the users you identified.
The expected group of users of my program are JuiceWRLD fans. Some interests are that
the fans can show off their knowledge of JuiceWRLD. The program directly caters to this by
providing a quiz format where users can answer questions about his albums, songs, and
personal details. The quiz element provides a fun and engaging way for users to interact
with their interest in the artist.
2. Refer to your Personalized Project Reference when answering this question.
(a) Consider the first conditional statement included in the Procedure section of your
Personalized Project Reference. Describe your conditional statement, including its Boolean
expression. Describe what the procedure does in general when the Boolean expression of
this conditional statement is evaluated as false.
The first conditional statement is an if statement, it checks if the user’s answer is right or
wrong. Its boolean statement is “answer.lower() in [a.lower() for a in answers]”. What the
boolean expression does when the statement is evaluated as false is that it subtract 1 value
from the “juicebox’ variable and it prints out “WRONG YOU SUCK” and tells how many juice
boxes you have left.
(b) Consider the procedure and procedure call identified in parts (i) and (ii) of the
Procedure section of your Personalized Project Reference. Describe the outcome that your
procedure call is intended to produce. Write a new procedure call with at least one
different argument value that will produce the same outcome, if possible, and explain why
this procedure call produces the same outcome. If it is not possible to write a new
procedure call that produces the same outcome, explain why this is not possible.
The procedure identified is juice_wrld_quiz(), and a procedure call is juice_wrld_quiz(). he
intended outcome of calling juice_wrld_quiz() is to execute the quiz game. The procedure
asks a series of questions about JuiceWRLD and it keeps track of the user’s score. It’s not
possible to write a new procedure call with different argument values because
juice_wrld_quiz() doesn’t take any arguments.
(c) Consider the procedure identified in part (i) of the Procedure section of your
Personalized Project Reference. Identify the parameter(s) used in this procedure. Explain
how your identified parameter(s) uses abstraction to manage complexity in your program.
The procedure identified in part (i) does not have any parameters.