AP Computer Science A · Computer Science

AP Computer Science A: free lessons and course outline

Java from your first compile to recursion, taught in the four units of the 2025 College Board framework. Fifty-eight lessons follow the CED topic by topic, quote the required content, run every program through a real compiler, and end with six practice items each; every unit ends with ten exam-style multiple-choice questions on a code stimulus, and the free-response section holds eight full FRQ prompts with scoring notes and a canonical nine-point solution.

3H EXAM 42 MCQ 4 FRQ 58 LESSONS 40 REVIEW QUESTIONS 8 FRQ PROMPTS PREREQ: ALGEBRA I

AP Computer Science A follows the four units of the 2025 College Board framework. Unit 4 (data collections, 30–40%) and Unit 2 (selection and iteration, 25–35%) carry most of the exam's weight, and the four free-response questions come from them in a fixed order: methods and control structures, class design, data analysis with an ArrayList, and a 2D array. Section I is 42 multiple-choice questions in 90 minutes for 55% of the score; Section II is those four free-response questions in 90 minutes for the other 45%, each scored out of 9. The course has 58 lessons: 14 in Unit 1, 14 in Unit 2, 10 in Unit 3 and 20 in Unit 4. Each lesson quotes the CED's required content, shows Java that was compiled and run, traces it step by step, flags what the exam asks in an Exam focus box, and ends with six practice items with answers. Inheritance and overriding are outside the 2025 course, so this course does not teach them, and recursion is taught for tracing only because writing recursive code is also outside the exam. Every unit ends with a ten-question review in the exam's own multiple-choice style, and the FRQ section at the bottom of the outline holds eight prompts, two of each exam type, each with a coding space, the scoring notes, and the canonical solution explained point by point.

Every lesson, unit by unit

U1 is free to read below. The other units open with a free month or a paid plan.

U1 Using Objects and Methods 15–25% of the examFREE

U2 Selection and Iteration 25–35% of the exam

U3 Class Creation 10–18% of the exam

U4 Data Collections 30–40% of the exam

Keep going in the full AP Computer Science A course

All of U1 (Using Objects and Methods) is free to everyone, with no account. The course has 58 lessons, each with worked examples and practice problems that come with full solutions. A free account can also start a free month of the whole course, with no card.

Open this lesson in the courseSee the whole course