← Back to All FRQ Rubric Documents

Before diving into the detailed point‐by‐point criteria, here’s a high‐level summary of the FRQ 1 rubric for the 2024 AP Computer Science A exam:


Overview of Scoring Criteria

The rubric is divided into two parts corresponding to the two methods students implement. For each part:

  1. Point‐by‐point criteria specify exactly what feature or behavior must be in the student’s code to earn the point. (AP Central)
  2. Decision rules clarify allowable variations (e.g., off‐by‐one in comparisons, reversed comparison operators) and disallowed errors. (AP Central)

No part may receive negative credit; penalty points (such as array‐access confusion or extraneous side‐effects) are only deducted in subparts that have already earned credit, with a maximum of 3 penalty points per question. (AP Central)


Part (a): simulateOneDay (4 points)

Point Criterion
1 Random value generation: At least one call to Math.random() to generate a random value.
2 5% probability branch: Use a comparison of the random value against a constant to create a 5% case.
3 Random integer [10, 50]: Cast and scale a random value to produce an integer uniformly in [10, 50].
4 Food‐consumption logic: Multiply by numBirds, compare to currentFood, and subtract correctly in both cases.
  1. Random value generation (1 point):
  1. 5% probability branch (1 point):
  1. Random integer [10, 50] (1 point):
  1. Food‐consumption logic (1 point):

Part (b): simulateManyDays (5 points)

Point Criterion
5 Call simulateOneDay: At least one correct invocation with the numBirds parameter.
6 Loop guard: Loop (e.g., for or while) runs at most numDays times and checks currentFood > 0.
7 Day‐count algorithm: Correctly count the number of days simulated while food remains.
8 Food‐availability check: Compare currentFood to 0 within loop to determine continuation.
9 Return value: Return an int in all cases (either days simulated or numDays).
  1. Call simulateOneDay (1 point):
  1. Loop guard (1 point):
  1. Day‐count algorithm (1 point):
  1. Food‐availability check (1 point):
  1. Return value (1 point):

Penalties and Common Errors

A maximum of 3 penalty points may be assessed per question, only in parts that have earned credit. Common 1-point penalties:

No Penalty for minor issues with no side‐effects, such as:


This rubric aligns precisely with the official 2024 College Board scoring guidelines for AP Computer Science A FRQ 1, ensuring transparent and fair grading.