Please enable JavaScript to use CodeHS

Review: AP® Computer Science A

Points

Activity Points Item Type
Unit One: Primitive Types
1.1 Lesson Quizzes Lesson
1.1.1 Printing in Java 4 Check for Understanding
1.1.2 Variables and Types 6 Check for Understanding
1.1.3 Variables and Types Pt. 2 7 Check for Understanding
1.1.4 Arithmetic Expressions 3 Check for Understanding
1.1.5 Compound Assignment Operators 5 Check for Understanding
1.1.6 Casting 3 Check for Understanding
1.2 Unit Quizzes Lesson
1.2.1 Primitive Types Quiz 25 Unit Quiz
1.2.2 Primitive Types Quiz 2 25 Quiz
1.3 Programming Practice Lesson
1.3.1 Area of a Circle 5 Practice
1.3.2 Add two Strings 5 Practice
1.3.3 Lock Combinations 5 Practice
1.3.4 Digit of Pi 5 Practice
1.3.5 Repeat Last 3 5 Practice
1.3.6 Greeting 5 Exercise
1.3.7 How Much Silverware? 5 Exercise
1.3.8 Round the Cost 5 Practice
1.3.9 Print Your Initial 5 Exercise
Unit Two: Using Objects
2.1 Quizzes Lesson
2.1.1 Quiz: Classes and Objects 4 Quiz
2.1.2 Quiz: Constructors 3 Quiz
2.1.4 Quiz: Void Methods 5 Quiz
2.1.5 Methods and Parameters 3 Quiz
2.1.6 Quiz: Non-Void Methods 5 Quiz
2.1.7 String Objects 4 Quiz
2.1.8 String Methods 7 Quiz
2.1.9 Quiz: Wrapper Classes 4 Quiz
2.1.10 Quiz: Static Methods 4 Quiz
2.2 Unit Quizzes Lesson
2.2.1 Using Objects Quiz 25 Unit Quiz
2.2.2 Using Objects Quiz 2 15 Quiz
2.3 Programming Practice Lesson
2.3.1 Square 5 Practice
2.3.2 Is in Range 5 Practice
2.3.3 Sum Range 5 Practice
2.3.4 Fahrenheit to Celsius 5 Practice
2.3.5 Average 5 Practice
2.3.6 Full Name 5 Practice
2.3.7 Triple String 5 Practice
2.3.8 Yelling 5 Practice
2.3.9 Monogram 5 Practice
2.3.10 How far from Max? 5 Practice
Unit Three: Boolean Expressions and if Statements
3.1 Quizzes Lesson
3.1.1 Comparison Operators 5 Check for Understanding
3.1.2 If Statements 6 Check for Understanding
3.1.3 If-Else 4 Check for Understanding
3.1.4 else-if 4 Check for Understanding
3.1.5 Logical Operators 5 Check for Understanding
3.1.6 De Morgan's Laws 4 Check for Understanding
3.1.7 Comparing Objects 6 Check for Understanding
3.2 Unit Quizzes Lesson
3.2.1 Boolean Expressions and If Statements Quiz 20 Unit Quiz
3.2.2 Boolean Expressions and If Statements Quiz 2 15 Quiz
3.3 Programming with Booleans Lesson
3.3.1 Is Divisible 5 Practice
3.3.2 At Capacity 5 Practice
3.3.3 Tax Rate 5 Practice
3.3.4 Heart Rate 5 Practice
3.3.5 Enough Paint 5 Practice
3.3.6 Enough Paint 2 5 Practice
3.3.7 Lucky 13 5 Practice
3.3.8 Sum Evens 5 Practice
3.3.9 Nums in Order 5 Practice
3.3.10 Multiple A's 5 Practice
Unit Four: Iteration
4.1 Lesson Quizzes Lesson
4.1.1 While Loops 9 Quiz
4.1.2 For Loops 4 Quiz
4.1.3 Developing Algorithms Using Strings 5 Quiz
4.1.4 Nested Iteration 5 Quiz
4.1.5 Informal Code Analysis 7 Quiz
4.2 Programming Practice Boolean Lesson
4.2.1 Is it an Integer? 5 Practice
4.2.2 Double Vowels 5 Practice
4.2.3 Do the Brackets Match? 5 Practice
4.2.5 Replace Letter 5 Practice
4.2.6 First and Last 5 Practice
4.2.7 Repeating String 5 Practice
4.2.8 Porky Pig 5 Practice
4.2.9 Convert To UpperCase 5 Practice
4.2.10 AltCase 5 Practice
4.2.11 Teen Talk 5 Practice
4.3 Unit Quizzes Lesson
4.3.1 Iteration Quiz 20 Unit Quiz
4.3.2 Iteration Quiz 2 13 Quiz
Unit Five: Writing Classes
5.1 Lesson Quizzes Lesson
5.1.1 Quiz: Access Modifers 5 Quiz
5.1.2 Quiz: Constructors 4 Quiz
5.1.4 Quiz: Accessors 4 Quiz
5.1.5 Quiz: Mutators 4 Quiz
5.1.6 Quiz: Writing Methods 4 Quiz
5.1.7 Quiz: Static Methods 3 Quiz
5.1.8 Quiz: Local Variables and Scope 5 Quiz
5.1.9 Quiz: this Keyword 4 Quiz
5.1.10 Quiz: Ethical and Social Impact 4 Quiz
5.2 Unit Quizzes Lesson
5.2.1 Writing Classes Quiz 20 Unit Quiz
5.2.2 Writing Classes Quiz 2 24 Quiz
5.3 Practice Problems Lesson
5.3.1 Constructors 5 Exercise
5.3.2 More Constructors 5 Exercise
5.3.3 Getters and Setters 5 Exercise
5.3.4 Methods 5 Exercise
5.3.5 More Methods 5 Exercise
5.3.7 Static Methods 5 Exercise
5.3.8 Local Variables 5 Exercise
5.3.9 Using This 5 Exercise
5.3.10 Method Decomposition 5 Exercise
Unit Six: Array
6.1 Quizzes Lesson
6.1.1 Quiz: Arrays 5 Check for Understanding
6.1.2 Quiz: Using Arrays 5 Check for Understanding
6.1.3 Enhanced For Loop for Arrays 5 Check for Understanding
6.1.4 Developing Algorithms Using Arrays 5 Check for Understanding
6.2 Unit Quizzes Lesson
6.2.1 Array Quiz 20 Unit Quiz
6.2.2 Array Quiz 2 12 Quiz
6.2.3 Front of the Line 0 Example
6.3 Programming Practice Lesson
6.3.1 Search Array 5 Practice
6.3.2 Max index 5 Practice
6.3.3 Sum Array 5 Practice
6.3.4 Sum Evens of Array 5 Practice
6.3.5 Odd Array 5 Practice
6.3.6 Int Array to String 5 Practice
6.3.7 Reverse the array 5 Practice
6.3.9 Moving up 5 Practice
6.3.10 Biggest Streak 5 Practice
Unit Seven: ArrayList
7.1 Quizzes Lesson
7.1.1 Quiz: ArrayList 3 Quiz
7.1.2 Quiz: ArrayList Methods 3 Quiz
7.1.3 Quiz: Traversing Arrays 3 Quiz
7.1.4 Quiz: Developing Algorithms 2 Quiz
7.1.5 Quiz: Linear Search 2 Quiz
7.1.6 Selection Sort 2 Quiz
7.1.7 Insertion Sort 3 Quiz
7.1.8 Ethical Issues Around Data Collection 5 Quiz
7.2 Unit Quizzes Lesson
7.2.1 ArrayList Quiz 20 Unit Quiz
7.2.2 ArrayList Quiz 2 12 Quiz
7.3 Programming Practice Lesson
7.3.2 More Numbers Than 5 Practice
7.3.3 Post Start ArrayList 5 Practice
7.3.4 Max Range 5 Practice
7.3.5 Sum of 3's 5 Practice
7.3.6 EqualSum 5 Practice
7.3.7 Second Largest Int 5 Practice
7.3.8 Zeros in the Back 5 Practice
7.3.9 Greater Than Right 5 Practice
7.3.10 Mutate Strings 5 Practice
Unit Eight: 2D Array
8.1 Quizzes Lesson
8.1.1 Quiz: 2D Arrays 3 Quiz
8.1.2 Quiz: Traversing 2D Arrays 3 Quiz
8.2 Unit Quizzes Lesson
8.2.1 2D Array Quiz 20 Unit Quiz
8.2.2 2D Array Quiz 2 12 Quiz
8.3 Exercises Lesson
8.3.1 Needle in a Haystack 5 Practice
8.3.2 Sum All 5 Practice
8.3.3 isSquare 5 Practice
8.3.4 Invert Array 5 Practice
8.3.5 Multiplication Table 5 Practice
8.3.6 Value in Row 5 Practice
8.3.7 Reverse 5 Practice
8.3.8 Max Value 5 Practice
8.3.9 2D Array Creator 5 Practice
8.3.10 Split 5 Practice
Unit Nine: Inheritance
9.1 Quizzes Lesson
9.1.1 Quiz: Subclasses and Superclasses 4 Quiz
9.1.2 Quiz: Writing Constructors for Subclasses 5 Quiz
9.1.3 Quiz: Overriding Methods 6 Quiz
9.1.4 Quiz: super Keyword 3 Quiz
9.1.5 Quiz: References Using Inheritance Hierarchies 5 Quiz
9.1.6 Quiz: Polymorphism 4 Quiz
9.1.7 Quiz: Object Superclass 5 Quiz
9.2 Unit Quizzes Lesson
9.2.1 Inheritance Quiz 20 Unit Quiz
9.2.2 Inheritance Quiz 2 12 Quiz
9.3 Exercises Lesson
9.3.1 Superclass 5 Exercise
9.3.2 The Kitchen Table 5 Exercise
9.3.3 Override 5 Exercise
9.3.4 More Overrides 5 Exercise
9.3.5 A Super toString! 5 Exercise
9.3.6 Super methods 5 Exercise
9.3.7 Different Phones 5 Exercise
9.3.8 ArrayList of Food 5 Exercise
9.3.9 Printing Objects 5 Exercise
9.3.10 Equals Method 5 Exercise
Unit Ten: Recursion
10.1 Quizzes Lesson
10.1.1 Quiz: Recursion 5 Quiz
10.1.2 Quiz: Recursive Searching 5 Quiz
10.1.3 Quiz: Recursive Sorting 5 Quiz
10.2 Unit Quizzes Lesson
10.2.1 Recursion Quiz 15 Unit Quiz
10.2.2 Recursion Quiz 2 15 Quiz
10.3 Exercises Lesson
10.3.1 Sum 5 Practice
10.3.2 Reverse String 5 Practice
10.3.3 Sum Digits 5 Practice
10.3.4 Seeing Double 5 Practice
10.3.5 Powers 5 Practice
10.3.6 Counting Karel 5 Practice
10.3.7 Count the Odd Numbers 5 Practice
10.3.8 Contains Nuts 5 Practice
10.3.9 Binary Search Recursively 5 Practice
10.3.10 Merge Sort Counter 5 Practice
FRQ Practice Questions
11.1 Hidden Word - Walk Through Lesson
11.1.1 Introduction 5 Connection
11.1.2 PseudoCode 5 Free Response
11.1.3 Java Code 5 Free Response
11.1.4 Scoring 5 Connection
11.1.5 Reflect: Scoring 5 Free Response
11.2 Cargo Ships Lesson
11.2.1 FRQ - Part A 5 Free Response
11.2.2 FRQ - Part B 5 Free Response
11.2.3 Tester 5 Exercise
11.3 CookBook Class Lesson
11.3.1 FRQ 5 Free Response
11.3.2 Tester 5 Exercise
11.4 Problem Class Lesson
11.4.1 FRQ 5 Free Response
11.4.2 Tester 5 Exercise
11.5 Mortgage Calculator Lesson
11.5.1 FRQ - Part A 5 Free Response
11.5.2 FRQ - Part B 5 Free Response
11.5.3 Tester - Part A 5 Practice
11.5.4 Tester - Part B 5 Practice
Practice Tests
12.1 AP Java Practice Exam 1 Lesson
12.1.1 Practice AP Java Exam 40 Quiz
12.2 AP Practice Java Exam 2 Lesson
12.2.1 Practice AP Java Exam 2 40 Quiz