AP Computer Science A

Java programming, data structures, and algorithms

Exam Format

Know the structure before you walk in.

Multiple Choice

Section I

40 questions, 90 minutes, 50% of score.
Tests Java programming, data structures, and algorithms.

Free Response

Section II

4 questions, 90 minutes, 50% of score.
Requires writing Java methods and classes.

Key Policies

Calculator & Materials

No calculator allowed.
Java Quick Reference provided. Total time: 3 hours.

Scoring

Scale 1–5

Approximately 24% of students score a 5.
Scores of 3+ typically earn college credit.

Units

Click any unit to access study guides, practice tests, flashcards, videos, and more.

Unit 1

Primitive Types

Variables, data types, operators, casting, and arithmetic expressions

Unit 2

Using Objects

String methods, Math class, wrapper classes, and object instantiation

Unit 3

Boolean Expressions and if Statements

Conditionals, logical operators, comparison operators, and switch statements

Unit 4

Iteration

While loops, for loops, nested loops, String traversal, and loop analysis

Unit 5

Writing Classes

Class design, constructors, methods, encapsulation, and documentation

Unit 6

Array

Creating, accessing, traversing, and manipulating one-dimensional arrays

Unit 7

ArrayList

ArrayList methods, searching, sorting, and ethical issues around data collection

Unit 8

2D Array

Traversing, accessing, and manipulating two-dimensional arrays

Unit 9

Inheritance

Superclasses, subclasses, method overriding, polymorphism, and Object class

Unit 10

Recursion

Recursive methods, base cases, tracing recursion, and recursive sorting

Course Resources

Everything you need to master AP Computer Science A.

📚

Study Guide

Complete unit-by-unit breakdown with key concepts and formulas.

Open Guide

Practice Test

Full-length timed exam with AP-style questions and scoring.

Start Test
🃏

Flashcards

Key terms and concepts in an easy-to-review format.

Study Cards
🎥

Video Lessons

Step-by-step walkthroughs of the hardest topics.

Watch Now
📄

Cheat Sheet

One-page printable with all essential formulas and facts.

Download
💬

AI Tutor

Ask questions and get instant explanations 24/7.

Chat Now

Also studying IB? Check out IB Computer Science