### Please enable JavaScript to use CodeHS

Review: AP® Computer Science A

1. ## Unit One: Primitive Types

1. ### 1.1 Lesson Quizzes

2. Check for Understanding 1.1.1 Printing in Java
3. Check for Understanding 1.1.2 Variables and Types
4. Check for Understanding 1.1.3 Variables and Types Pt. 2
5. Check for Understanding 1.1.4 Arithmetic Expressions
6. Check for Understanding 1.1.5 Compound Assignment Operators
7. Check for Understanding 1.1.6 Casting
8. ### 1.2 Unit Quizzes

9. Unit Quiz 1.2.1 Primitive Types Quiz
10. Quiz 1.2.2 Primitive Types Quiz 2
11. ### 1.3 Programming Practice

12. Practice 1.3.1 Area of a Circle
13. Practice 1.3.2 Add two Strings
14. Practice 1.3.3 Lock Combinations
15. Practice 1.3.4 Digit of Pi
16. Practice 1.3.5 Repeat Last 3
17. Exercise 1.3.6 Greeting
18. Exercise 1.3.7 How Much Silverware?
19. Practice 1.3.8 Round the Cost
20. Exercise 1.3.9 Print Your Initial
2. ## Unit Two: Using Objects

1. ### 2.1 Quizzes

2. Quiz 2.1.1 Quiz: Classes and Objects
3. Quiz 2.1.2 Quiz: Constructors
5. Quiz 2.1.4 Quiz: Void Methods
6. Quiz 2.1.5 Methods and Parameters
7. Quiz 2.1.6 Quiz: Non-Void Methods
8. Quiz 2.1.7 String Objects
9. Quiz 2.1.8 String Methods
10. Quiz 2.1.9 Quiz: Wrapper Classes
11. Quiz 2.1.10 Quiz: Static Methods
12. ### 2.2 Unit Quizzes

13. Unit Quiz 2.2.1 Using Objects Quiz
14. Quiz 2.2.2 Using Objects Quiz 2
15. ### 2.3 Programming Practice

16. Practice 2.3.1 Square
17. Practice 2.3.2 Is in Range
18. Practice 2.3.3 Sum Range
19. Practice 2.3.4 Fahrenheit to Celsius
20. Practice 2.3.5 Average
21. Practice 2.3.6 Full Name
22. Practice 2.3.7 Triple String
23. Practice 2.3.8 Yelling
24. Practice 2.3.9 Monogram
25. Practice 2.3.10 How far from Max?
3. ## Unit Three: Boolean Expressions and if Statements

1. ### 3.1 Quizzes

2. Check for Understanding 3.1.1 Comparison Operators
3. Check for Understanding 3.1.2 If Statements
4. Check for Understanding 3.1.3 If-Else
5. Check for Understanding 3.1.4 else-if
6. Check for Understanding 3.1.5 Logical Operators
7. Check for Understanding 3.1.6 De Morgan's Laws
8. Check for Understanding 3.1.7 Comparing Objects
9. ### 3.2 Unit Quizzes

10. Unit Quiz 3.2.1 Boolean Expressions and If Statements Quiz
11. Quiz 3.2.2 Boolean Expressions and If Statements Quiz 2
12. ### 3.3 Programming with Booleans

13. Practice 3.3.1 Is Divisible
14. Practice 3.3.2 At Capacity
15. Practice 3.3.3 Tax Rate
16. Practice 3.3.4 Heart Rate
17. Practice 3.3.5 Enough Paint
18. Practice 3.3.6 Enough Paint 2
19. Practice 3.3.7 Lucky 13
20. Practice 3.3.8 Sum Evens
21. Practice 3.3.9 Nums in Order
22. Practice 3.3.10 Multiple A's
4. ## Unit Four: Iteration

1. ### 4.1 Lesson Quizzes

2. Quiz 4.1.1 While Loops
3. Quiz 4.1.2 For Loops
4. Quiz 4.1.3 Developing Algorithms Using Strings
5. Quiz 4.1.4 Nested Iteration
6. Quiz 4.1.5 Informal Code Analysis
7. ### 4.2 Programming Practice Boolean

8. Practice 4.2.1 Is it an Integer?
9. Practice 4.2.2 Double Vowels
10. Practice 4.2.3 Do the Brackets Match?
12. Practice 4.2.5 Replace Letter
13. Practice 4.2.6 First and Last
14. Practice 4.2.7 Repeating String
15. Practice 4.2.8 Porky Pig
16. Practice 4.2.9 Convert To UpperCase
17. Practice 4.2.10 AltCase
18. Practice 4.2.11 Teen Talk
19. ### 4.3 Unit Quizzes

20. Unit Quiz 4.3.1 Iteration Quiz
21. Quiz 4.3.2 Iteration Quiz 2
5. ## Unit Five: Writing Classes

1. ### 5.1 Lesson Quizzes

2. Quiz 5.1.1 Quiz: Access Modifers
3. Quiz 5.1.2 Quiz: Constructors
5. Quiz 5.1.4 Quiz: Accessors
6. Quiz 5.1.5 Quiz: Mutators
7. Quiz 5.1.6 Quiz: Writing Methods
8. Quiz 5.1.7 Quiz: Static Methods
9. Quiz 5.1.8 Quiz: Local Variables and Scope
10. Quiz 5.1.9 Quiz: this Keyword
11. Quiz 5.1.10 Quiz: Ethical and Social Impact
12. ### 5.2 Unit Quizzes

13. Unit Quiz 5.2.1 Writing Classes Quiz
14. Quiz 5.2.2 Writing Classes Quiz 2
15. ### 5.3 Practice Problems

16. Exercise 5.3.1 Constructors
17. Exercise 5.3.2 More Constructors
18. Exercise 5.3.3 Getters and Setters
19. Exercise 5.3.4 Methods
20. Exercise 5.3.5 More Methods
22. Exercise 5.3.7 Static Methods
23. Exercise 5.3.8 Local Variables
24. Exercise 5.3.9 Using This
25. Exercise 5.3.10 Method Decomposition
6. ## Unit Six: Array

1. ### 6.1 Quizzes

2. Check for Understanding 6.1.1 Quiz: Arrays
3. Check for Understanding 6.1.2 Quiz: Using Arrays
4. Check for Understanding 6.1.3 Enhanced For Loop for Arrays
5. Check for Understanding 6.1.4 Developing Algorithms Using Arrays
6. ### 6.2 Unit Quizzes

7. Unit Quiz 6.2.1 Array Quiz
8. Quiz 6.2.2 Array Quiz 2
9. Example 6.2.3 Front of the Line
10. ### 6.3 Programming Practice

11. Practice 6.3.1 Search Array
12. Practice 6.3.2 Max index
13. Practice 6.3.3 Sum Array
14. Practice 6.3.4 Sum Evens of Array
15. Practice 6.3.5 Odd Array
16. Practice 6.3.6 Int Array to String
17. Practice 6.3.7 Reverse the array
19. Practice 6.3.9 Moving up
20. Practice 6.3.10 Biggest Streak
7. ## Unit Seven: ArrayList

1. ### 7.1 Quizzes

2. Quiz 7.1.1 Quiz: ArrayList
3. Quiz 7.1.2 Quiz: ArrayList Methods
4. Quiz 7.1.3 Quiz: Traversing Arrays
5. Quiz 7.1.4 Quiz: Developing Algorithms
6. Quiz 7.1.5 Quiz: Linear Search
7. Quiz 7.1.6 Selection Sort
8. Quiz 7.1.7 Insertion Sort
9. Quiz 7.1.8 Ethical Issues Around Data Collection
10. ### 7.2 Unit Quizzes

11. Unit Quiz 7.2.1 ArrayList Quiz
12. Quiz 7.2.2 ArrayList Quiz 2
13. ### 7.3 Programming Practice

15. Practice 7.3.2 More Numbers Than
16. Practice 7.3.3 Post Start ArrayList
17. Practice 7.3.4 Max Range
18. Practice 7.3.5 Sum of 3's
19. Practice 7.3.6 EqualSum
20. Practice 7.3.7 Second Largest Int
21. Practice 7.3.8 Zeros in the Back
22. Practice 7.3.9 Greater Than Right
23. Practice 7.3.10 Mutate Strings
8. ## Unit Eight: 2D Array

1. ### 8.1 Quizzes

2. Quiz 8.1.1 Quiz: 2D Arrays
3. Quiz 8.1.2 Quiz: Traversing 2D Arrays
4. ### 8.2 Unit Quizzes

5. Unit Quiz 8.2.1 2D Array Quiz
6. Quiz 8.2.2 2D Array Quiz 2
7. ### 8.3 Exercises

8. Practice 8.3.1 Needle in a Haystack
9. Practice 8.3.2 Sum All
10. Practice 8.3.3 isSquare
11. Practice 8.3.4 Invert Array
12. Practice 8.3.5 Multiplication Table
13. Practice 8.3.6 Value in Row
14. Practice 8.3.7 Reverse
15. Practice 8.3.8 Max Value
16. Practice 8.3.9 2D Array Creator
17. Practice 8.3.10 Split
9. ## Unit Nine: Inheritance

1. ### 9.1 Quizzes

2. Quiz 9.1.1 Quiz: Subclasses and Superclasses
3. Quiz 9.1.2 Quiz: Writing Constructors for Subclasses
4. Quiz 9.1.3 Quiz: Overriding Methods
5. Quiz 9.1.4 Quiz: super Keyword
6. Quiz 9.1.5 Quiz: References Using Inheritance Hierarchies
7. Quiz 9.1.6 Quiz: Polymorphism
8. Quiz 9.1.7 Quiz: Object Superclass
9. ### 9.2 Unit Quizzes

10. Unit Quiz 9.2.1 Inheritance Quiz
11. Quiz 9.2.2 Inheritance Quiz 2
12. ### 9.3 Exercises

13. Exercise 9.3.1 Superclass
14. Exercise 9.3.2 The Kitchen Table
15. Exercise 9.3.3 Override
16. Exercise 9.3.4 More Overrides
17. Exercise 9.3.5 A Super toString!
18. Exercise 9.3.6 Super methods
19. Exercise 9.3.7 Different Phones
20. Exercise 9.3.8 ArrayList of Food
21. Exercise 9.3.9 Printing Objects
22. Exercise 9.3.10 Equals Method
10. ## Unit Ten: Recursion

1. ### 10.1 Quizzes

2. Quiz 10.1.1 Quiz: Recursion
3. Quiz 10.1.2 Quiz: Recursive Searching
4. Quiz 10.1.3 Quiz: Recursive Sorting
5. ### 10.2 Unit Quizzes

6. Unit Quiz 10.2.1 Recursion Quiz
7. Quiz 10.2.2 Recursion Quiz 2
8. ### 10.3 Exercises

9. Practice 10.3.1 Sum
10. Practice 10.3.2 Reverse String
11. Practice 10.3.3 Sum Digits
12. Practice 10.3.4 Seeing Double
13. Practice 10.3.5 Powers
14. Practice 10.3.6 Counting Karel
15. Practice 10.3.7 Count the Odd Numbers
16. Practice 10.3.8 Contains Nuts
17. Practice 10.3.9 Binary Search Recursively
18. Practice 10.3.10 Merge Sort Counter
11. ## FRQ Practice Questions

1. ### 11.1 Hidden Word - Walk Through

2. Connection 11.1.1 Introduction
3. Free Response 11.1.2 PseudoCode
4. Free Response 11.1.3 Java Code
5. Connection 11.1.4 Scoring
6. Free Response 11.1.5 Reflect: Scoring
7. ### 11.2 Cargo Ships

8. Free Response 11.2.1 FRQ - Part A
9. Free Response 11.2.2 FRQ - Part B
10. Exercise 11.2.3 Tester
11. ### 11.3 CookBook Class

12. Free Response 11.3.1 FRQ
13. Exercise 11.3.2 Tester
14. ### 11.4 Problem Class

15. Free Response 11.4.1 FRQ
16. Exercise 11.4.2 Tester
17. ### 11.5 Mortgage Calculator

18. Free Response 11.5.1 FRQ - Part A
19. Free Response 11.5.2 FRQ - Part B
20. Practice 11.5.3 Tester - Part A
21. Practice 11.5.4 Tester - Part B
12. ## Practice Tests

1. ### 12.1 AP Java Practice Exam 1

2. Quiz 12.1.1 Practice AP Java Exam
3. ### 12.2 AP Practice Java Exam 2

4. Quiz 12.2.1 Practice AP Java Exam 2