### Please enable JavaScript to use CodeHS

Review: AP® Computer Science A

#### Points

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