Section II practice: Quiz score tracker
Answer the four prompts about the program below, as you would about your own Create task on exam day. 60 minutes. Short, specific answers that point to the code score best.
Identify the expected users of this program. Describe one way the program's design meets a need of these users.
The users are not specific, and the answer retells how the whole program works instead of explaining how one design choice meets a user need.
Consider the selection statement in the procedure countPassing. Identify the Boolean expression it uses, and describe what the procedure does when the expression evaluates to true and when it evaluates to false.
It copies the whole selection statement instead of identifying the Boolean expression, and it does not say what happens in the true and false cases.
Suppose a programmer accidentally replaced ≥ with > in the procedure. Describe a call to countPassing, with specific argument values, that would show the error. Give the result the call should return and the result it would return with the error.
There are no specific argument values and no expected results, and nothing targets the boundary value where the error appears.
Suppose the class grows from 30 students to 300. Explain whether the code segment that uses classScores to compute the average would need to change, and why.
The answer is correct but gives no reason. The College Board scoring reports point out answers like this, which say no change is needed without explaining why.
Your Section II estimate
Frequently asked questions
How should I use this page?
Read the program and its PPR, press Start for a 60-minute timer like the exam, and answer the four prompts. Then press Finish to check your answers against the checklists and the sample answers.
Can I use my own Create task code?
The prompts are written for the sample PPR on this page, but you can practice the same questions on your own program: answer them about your procedure and your list, then check your answers with the same checklists.
Written by CodeUtility in the style of the exam; not College Board questions. AP is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this site.