AP® Computer Science A
Every topic in the course and exam description (CED), in order: Java explained with real program output, exam traps and practice questions with every answer explained.
Not sure where to start?
- Start with Unit 1 Algorithms, variables, expressions, methods, objects and String, in 15 topics. New to Java
- Read a whole unit Every topic of a unit on one page, like printed study notes. Revising
- Look up a term The Java glossary: every key term with a short example. Quick check
The exam
- Section I
- 42 multiple-choice questions
- 90 minutes · 55%
- Section II
- 4 free-response questions: you type Java code
- 90 minutes · 45%
- Total
- 3 hours
- Fully digital, with the Java Quick Reference on every question
Units
- Unit 1 Using Objects and Methods How a Java program is built and run, primitive types and expressions, calling methods, and working with objects and String. 15 topics · 231 min
- 1.1Introduction to Algorithms, Programming, and Compilers
- 1.2Variables and Data Types
- 1.3Expressions and Output
- 1.4Assignment Statements and Input
- 1.5Casting and Range of Variables
- 1.6Compound Assignment Operators
- 1.7Application Program Interface (API) and Libraries
- 1.8Documentation with Comments
- 1.9Method Signatures
- 1.10Calling Class Methods
- 1.11Math Class
- 1.12Objects: Instances of Classes
- 1.13Object Creation and Storage (Instantiation)
- 1.14Calling Instance Methods
- 1.15String Manipulation
- Unit 2 Selection and Iteration Boolean expressions, if statements and loops: making decisions, repeating steps, and the classic algorithms built from them. 12 topics · 216 min
- 2.1Algorithms with Selection and Repetition
- 2.2Boolean Expressions
- 2.3if Statements
- 2.4Nested if Statements
- 2.5Compound Boolean Expressions
- 2.6Comparing Boolean Expressions
- 2.7while Loops
- 2.8for Loops
- 2.9Implementing Selection and Iteration Algorithms
- 2.10Implementing String Algorithms
- 2.11Nested Iteration
- 2.12Informal Run-Time Analysis
- Unit 3 Class Creation Designing and writing your own classes: instance variables, constructors, methods, references, static members, scope and this. 9 topics · 157 min
- Unit 4 Data Collections Arrays, ArrayList, 2D arrays, text files, searching, sorting and recursion: storing and processing many values. 17 topics · 324 min
- 4.1Ethical and Social Issues Around Data Collection
- 4.2Introduction to Using Data Sets
- 4.3Array Creation and Access
- 4.4Array Traversals
- 4.5Implementing Array Algorithms
- 4.6Using Text Files
- 4.7Wrapper Classes
- 4.8ArrayList Methods
- 4.9ArrayList Traversals
- 4.10Implementing ArrayList Algorithms
- 4.112D Array Creation and Access
- 4.122D Array Traversals
- 4.13Implementing 2D Array Algorithms
- 4.14Searching Algorithms
- 4.15Sorting Algorithms
- 4.16Recursion
- 4.17Recursive Searching and Sorting
Exam weights by unit (CED): Unit 1, 15 to 25%; Unit 2, 25 to 35%; Unit 3, 10 to 18%; Unit 4, 30 to 40%.