SAT / PSAT
SAT / PSAT Prep
History & Social Science
AP World History AP US History AP European History AP Human Geography AP US Government & Politics AP Psychology AP Macroeconomics AP Microeconomics
English
AP English Language & Composition AP English Literature & Composition
Math & Computer Science
AP Calculus AB/BC AP Precalculus AP Statistics AP Computer Science A AP Computer Science Principles
Sciences
AP Biology AP Chemistry AP Environmental Science AP Physics 1 AP Physics 2
World Languages & Arts
AP Spanish Language AP Art History AP Music Theory Start studying →
Free AP Computer Science A Study Guide

AP Computer Science A · All Units

Learn Java programming for the AP CSA exam, from using objects and methods, through selection and iteration, class creation, and data collections. Flashcards, cheat sheets, essential terms, practice questions, and visual reviews for every unit, all completely free.

4 units
40 MCQ + 4 FRQ exam
College Board aligned (Fall 2025)
100% free

Choose your unit

Each unit has 6 study resources: flashcards, cheat sheet, essential terms, practice questions, visual review, and FRQ practice.

Unit 1
Using Objects & Methods
Using Objects and Methods
Java basics: variables and data types, expressions and output, casting, the API and libraries, method signatures, objects, the Math and String classes.
15–25% · ~32–34 periods
Start Unit 1 →
Unit 2
Selection & Iteration
Selection and Iteration
Boolean expressions, if/else selection, while and for loops, nested control structures, and algorithms with strings and numbers.
25–35% · ~29–31 periods
Start Unit 2 →
Unit 3
Class Creation
Class Creation
Designing and writing your own classes: constructors, instance variables, accessor and mutator methods, encapsulation, scope, the this keyword, and static class variables and methods.
10–18% · ~20–22 periods
Start Unit 3 →
Unit 4
Data Collections
Data Collections
Storing and processing groups of data with arrays, 2D arrays, ArrayList, traversals, standard algorithms, and text processing.
30–40% · ~50–52 periods
Start Unit 4 →

About AP Computer Science A

AP Computer Science A is a college-level introductory programming course taught in Java. It focuses on object-oriented programming — writing, analyzing, testing, and documenting code — and on the algorithms and data structures used to solve problems.

The course is organized into four units: Using Objects and Methods (Java fundamentals and built-in classes), Selection and Iteration (Boolean logic and loops), Class Creation (designing your own classes), and Data Collections (arrays, 2D arrays, and ArrayList). Five computational thinking practices — designing, developing, and analyzing code, documenting it, and using computers responsibly — run through every unit.

The exam has 40 multiple-choice questions (50%) and 4 free-response questions (50%): Methods and Control Structures, Class Design, Data Analysis, and a program-analysis question. Every page here is aligned to the College Board's Fall 2025 AP Computer Science A Course and Exam Description and completely free.

What's included in each unit

Every unit has the same 6 study resources, designed for different learning styles.

Flashcards
Interactive cards per unit
Cheat Sheet
One-page visual summary
Essentials
Key terms and core concepts
Visual Review
Slide-by-slide walkthrough
Practice MCQ
Exam-style questions
FRQ Practice
Free-response practice

Other AP subjects