Free-Response Scoring Guidelines

5 Steps to a 5: AP Computer Science A 2024 - Klipp D.B., Johnson D.R., Paymer C.A. 2023

Free-Response Scoring Guidelines
STEP 5 Building Your Test-Taking Confidence

When grading your exam, the AP Computer Science A reader will compare your code for each question to the rubric for each question. After this process is complete, penalty points may be deducted from your score based on the list below. A penalty point can only be deducted once per question (even if you make the same mistake multiple times in the same question). You can’t get a negative total. These are the guidelines as of the 2019 exam. Be aware that they are sometimes modified from year to year.

General Penalties (assessed only once per problem)

Image

No Penalty (These may change from year to year!)

• Extra code that doesn’t cause any side effects

• Minor spelling mistakes such as “wile” for “while”

• Code that includes private or public on a local variable

• Using local variables but forgetting to declare at least one of them

• Forgetting to put public when writing a class or constructor header

• Accidentally using the mathematical symbols for operators (×, •, +, ≤, ≥, <>, ≠)

• Confusing the use of [ ] and < > and ( )

• Accidentally using "=" rather than "==" and vice versa

• Confusing length with size for either String, ArrayList, or array

• Accidentally putting the size in array declaration such as int[25] myArray = new int[25];

• Missing a semicolon if you write the majority of them and you provide proper spacing

• Missing curly braces when your indenting is proper and you used them elsewhere

• Accidentally forgetting to put parentheses on no-argument method or constructor calls

• Forgetting to put parentheses on if statements or while loops provided indenting is proper

Note: Suppose your code declares "Bunny bunny = new Bunny()" and then uses "Bunny.hop()" instead of "bunny.hop()". The mistake is not treated as a grammatical error. Instead, you will not earn points, because the grader is not allowed to assume that you know the difference between "Bunny" and "bunny" in the context of this problem.