AP Computer Science A

Is AP Computer Science A hard?

In May 2025, 67.2% scored 3 or higher and 22.0% scored 1. The hard part is tracing code exactly and writing it without a compiler.

Students in May 202593,217
Scored 3 or higher67.2%
Scored 525.6%
Mean score3.18

What makes it hard

  • Many questions turn on one detail: integer division, an index bound, a short-circuit.
  • You write four methods or classes with no compiler to catch mistakes.
  • Arrays, ArrayLists and 2D arrays are 30–40% of Section I.

Try 2 questions

Question 1
Consider the following method.public static boolean check(int n) { System.out.print(n + " "); return n > 2; }What is printed as a result of executing the following code segment?if (check(1) && check(3) || check(5)) { System.out.print("yes"); }
Question 2
Consider the following code segment.int[] data = {30, 12, 15, 40, 9}; ArrayList<Integer> temps = new ArrayList<Integer>(); for (int d : data) { temps.add(d); } for (int i = 0; i < temps.size(); i++) { if (temps.get(i) < 20) { temps.remove(i); } } System.out.println(temps);What is printed as a result of executing the code segment?

FAQ

What percentage of students pass AP Computer Science A?

67.2% of 93,217 students scored 3 or higher in May 2025.