AP Computer Science Principles (AP CSP) FRQ Practice
Practice AP CSP Written Response questions.
Practice Set 1 AP CSP Written Response 1
StudySessionTimer — Program Purpose
Sample program: StudySessionTimer helps a student decide how long their next study session should be, based on a stored list of their past session lengths (in minutes). Read the program description, then write Written Response 1.
Recommended time
15 minutes
Difficulty
Medium
Self-check coverage
0 / 5
What to write
- Name the program and state what it does in one or two sentences.
- Explain the program's purpose — what need or interest it addresses.
- Describe a specific input and the resulting output, and explain how that input/output pair demonstrates the program working correctly.
Starter shape
PROGRAM: StudySessionTimer
Purpose: The program helps a student build a sustainable study habit by
recommending how long their next study session should be, based on the
lengths of their past sessions.
Input: sessionLengths, a list of numbers representing the length (in
minutes) of each past study session the student has logged.
Output: a single recommended number of minutes for the next session,
displayed to the student.
Key procedure: getRecommendedLength(sessionList) — takes a list of past
session lengths and returns a recommended length, capped between 15 and
90 minutes.
======================================================================
Write Response 1 below.
Prompt: Describe the overall purpose of the program you are submitting
for the Create performance task. In your response you must:
- Name the program and describe what it does.
- Explain the program's purpose, including the need it addresses or
the interest it explores.
- Describe what the input(s) and output(s) shown in a run of the
program demonstrate about its function.
Common traps
- Describing what the program does technically (loops, lists) instead of its purpose for a real user.
- Giving a vague input/output example ("the user enters numbers and gets a result") instead of concrete values.
- Never connecting the example back to why it proves the program works.
- Restating the prompt instead of answering it in the student's own words.
Your response
Cleared when this page reloads. 156 words.
Rule-based feedback
This checks for common structural signals. It is not official scoring.
Looking for something else?
