AP CSA Topics | AP Computer Science A Complete Topic List

AP Computer Science A Topics (2026) — Practice by Unit and Skill

Every AP CSA topic organized by the 2025–2026 four-unit curriculum: Using Objects and Methods, Selection and Iteration, Arrays, and Data Collections. Each topic page has code examples, hard practice questions, common mistake callouts, and exam tips. Built by Tanner Crow, AP CS teacher with 11+ years of experience and a 54.5% student rate of scoring 5s on the AP CSA exam.

Quick Navigation

Unit 2 — Selection and Iteration

Exam Weight: ~25–35% | 12 Topic Pages | Focus: Booleans, loops, tracing, runtime errors — highest exam weight unit

Standard Algorithms and Patterns

These patterns appear across multiple units and recur heavily in both MCQ and FRQ. Master the pattern, not just the syntax.

FRQ Skills and Scoring Patterns

AP CSA has 4 FRQs worth 45% of the exam score. Each FRQ tests specific coding skills. Practice the released FRQs below — solutions include scoring rubric breakdowns and common point-loss patterns.

Common Mistakes That Cost Points

Every topic page has a dedicated Common Mistake box. The full aggregated list — 20+ specific errors organized by unit, each with a code example — is on the dedicated mistakes page. Teachers bookmark and share it.

→ See All AP CSA Common Mistakes (2026)

Quick Reference — String and ArrayList Methods

These are the only String and ArrayList methods provided on the AP CSA Java Quick Reference sheet. If a method is NOT in this table, you cannot assume it exists on the exam.

Method Return Type What It Does
int length() int Number of characters in the String
String substring(int from, int to) String Characters from index from up to (NOT including) to
String substring(int from) String Characters from index from to the end
int indexOf(String s) int Index of first occurrence; -1 if not found
boolean equals(String other) boolean True if same character sequence (use instead of ==)
int compareTo(String other) int Negative if before, 0 if equal, positive if after (lexicographic)

ArrayList Method Return Type What It Does
int size() int Number of elements (NOT .length — that is an array field)
boolean add(E obj) boolean Appends obj to end; always returns true
void add(int index, E obj) void Inserts obj at index; shifts elements right
E get(int index) E Returns element at index (does NOT remove it)
E set(int index, E obj) E Replaces element at index with obj; returns old element
E remove(int index) E Removes and returns element at index; shifts elements left

Bonus: Error-Specific Reference Pages

These pages target the exact error messages students search for. Each has 4–6 code examples showing every way to cause and fix the error.

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

tanner@apcsexamprep.com

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at tanner@apcsexamprep.com

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

tanner@apcsexamprep.com

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at tanner@apcsexamprep.com