Tian2 田二
Library Catalogue AP Computer Science A
⁂   Computer-Science · AP Exam

Computer Science A Study Library.

Expert-authored worked FRQ solutions, original practice questions, and unit study guides — built from official College Board sources and original Tian2 content.

4 units standard tracks 180 minutes
Total Time 180 minutes
MCQ 42 multiple-choice questions
FRQ 4 free-response questions
Score Scale 1-5 67.2% scored 3+
Curriculum

Study by unit.

1.
Using Objects and Methods
Primitive data types: int, double, boolean · Variable declaration and assignment · Arithmetic operators and operator precedence · Integer division and modulo operator · Calling methods on objects using dot notation · Constructor calls with the new keyword · String methods: length(), substring(), indexOf(), equals(), compareTo() · Math class methods: Math.abs(), Math.pow(), Math.sqrt(), Math.random() · Wrapper classes: Integer and Double · Autoboxing and unboxing · System.out.print() and System.out.println()
standard track
15–25% of exam
0 lessons ›
2.
Selection and Iteration
Boolean expressions using &&, ||, and ! · De Morgan's Laws · if / else if / else branching · Nested conditionals · while loops and loop termination conditions · for loops and loop control variables · Infinite loop detection and prevention · String traversal using index-based loops with substring() and charAt() · Nested loops and their output patterns · Compound assignment operators: +=, -=, *= · Comparing loop structures for efficiency and clarity
standard track
25–35% of exam
0 lessons ›
3.
Class Creation
Writing class headers · Instance variables with private access modifier · Access modifiers: public and private · Writing default and parameterized constructors · Writing instance methods: getters, setters, and behavior methods · static vs. instance context and scope · The this keyword · Implementing toString() and equals() methods · Method overloading · Constructor headers and method headers
standard track
10–18% of exam
0 lessons ›
4.
Data Collections
1D array creation, initialization, and traversal · Array algorithms: minimum, maximum, sum, average, count with condition · Linear search implementation and analysis · Selection sort and insertion sort: trace, understand, implement · ArrayList<E>: add(), remove(), get(), set(), size(), contains(), indexOf() · ArrayList traversal with for loops and enhanced for loops · Forward and backward ArrayList traversal patterns · Safe ArrayList element removal during iteration · 2D array creation and initialization · 2D array row-major and column-major traversal · 2D array partial traversal and boundary conditions · 2D array algorithms: row/column sums, searching, in-place mutation · File reading with java.io.File and java.util.Scanner · Scanner methods: nextLine(), nextInt(), hasNextLine() · Data analysis with collections · Recursion tracing: predicting output of recursive methods
standard track
30–40% of exam
0 lessons ›
Our worked solutions and practice questions are original instructional content created by Tian2 AP. They are aligned to the concepts and skills described in College Board’s Course and Exam Description and are not reproductions of, or affiliated with, College Board’s official materials.