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
What you get
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
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