AP · Java
Limited-Time Sale

AP Computer Science A

Comprehensive AP Computer Science A guide covering all four units of the 2025 redesigned CED: Using Objects and Methods (primitives, casting, Strings, Math), Selection and Iteration (control flow, methods, scope, tracing), Class Creation (encapsulation, constructors, inheritance, polymorphism), and Data Collections (arrays, ArrayList, 2D arrays). Includes the five computational thinking practices and a dedicated exam-strategy capstone with FRQ rubric guidance for all four question types (Methods and Control Structures; Class Design; ArrayList; 2D Array).

Topics Covered

Using Objects & Methods
Selection & Iteration
Class Creation
Data Collections (Arrays, ArrayList, 2D)

What you get

Full topic-by-topic curriculum coverage
Spaced-repetition flashcards for every topic
Multiple-choice quizzes with explanations
Term-matching vocabulary games
Aligned with the College Board CED
Exam technique tips throughout
Key terms & definitions bank
12 months of access from purchase
Free Sample

Unit 1: Using Objects and Methods

THE BIG PICTURE. Unit 1 (15–25%) is the foundation of the AP Computer Science A course: primitive data types, variables, expressions, arithmetic, casting, the String class, output, and how to USE classes and methods that someone else has written. You learn Java's vocabulary and grammar; later units add control flow (Unit 2), class design (Unit 3), and collections (Unit 4).

Sample Flashcards

What is the result of \'int x = 7 / 2;\'?

3. Integer division: when both operands are int, the result is int and the fractional part is discarded.

To get 3.5, you need at least one double operand: 7.0 / 2 or 7 / 2.0 is 3.5.

What does \'17 % 5\' evaluate to?

2. Modulus (remainder): 17 = 3 × 5 + 2. So 17 / 5 = 3 (integer division) and 17 % 5 = 2.

Useful for divisibility: n % 2 == 0 tests if n is even.

Sample Key Terms

Primitive Type

Built-in Java type stored directly in memory. AP tests: int (32-bit integer), double (64-bit floating-point), boolean (true/false). Also char and long.

Reference Type

Type that stores a reference to an object (not the object itself). Strings, arrays, ArrayLists, user-defined classes. \'null\' is the absence of a reference.

int

32-bit signed integer. Range to (~). Default integer type.

What's Covered

  • Unit 1: Using Objects and Methods
  • Unit 2: Selection and Iteration
  • Unit 3: Class Creation
  • Unit 4: Data Collections
  • Exam Skills: FRQ Strategy & Java Quick Reference

5 topics · 60+ flashcards · quizzes & matching games included

50% off
$9.99$19.99

12 months of full access

Already have an account? Sign in

✓ Instant access after purchase

✓ Works on any device

✓ 12 months from purchase date

✓ Secure Stripe checkout

AP Computer Science A Study Guide | Prep Den