Activity | Points | Item Type |
---|---|---|
Classes and Object-Oriented Programming | ||
1.1 Introduction to Classes and Objects | Lesson | |
1.1.1 What is a Class? | 1 | Video |
1.1.2 Quiz: Classes and Objects | 1 | Quiz |
1.1.3 The Rectangle Class | 1 | Example |
1.1.4 The Point Class | 1 | Example |
1.1.5 The Student Class | 1 | Example |
1.1.6 Using the Rectangle Class | 5 | Exercise |
1.1.7 Calling A Method | 5 | Exercise |
1.1.8 Using the Point Class | 5 | Exercise |
1.1.9 Using the Student Class | 5 | Exercise |
1.2 Classes vs. Objects | Lesson | |
1.2.1 Classes and Objects | 1 | Video |
1.2.2 Classes vs. Objects vs. Instances | 1 | Quiz |
1.2.3 Classes, Objects, and Instances | 1 | Example |
1.2.4 Creating Rectangle Objects | 1 | Example |
1.2.5 Text Messages | 5 | Exercise |
1.3 Using a Class as a Client | Lesson | |
1.3.1 How to Use a Class | 1 | Video |
1.3.2 Quiz: Client of a Class | 1 | Quiz |
1.3.3 Using the Rectangle Class as a Client | 1 | Example |
1.3.4 Using the Randomizer Class as a Client | 1 | Example |
1.3.5 Coin Flips | 5 | Exercise |
1.3.6 Longest Streak | 5 | Exercise |
1.3.7 Testing the GeoLocation Class | 1 | Example |
1.3.8 How Far Away is ...? | 5 | Exercise |
1.4 Writing Classes | Lesson | |
1.4.1 Constructors | 1 | Video |
1.4.2 Quiz: Constructors | 1 | Quiz |
1.4.3 Student Constructor | 1 | Example |
1.4.4 Rectangle Constructor | 1 | Example |
1.4.5 Triangle Class: Constructor | 5 | Exercise |
1.4.6 Rectangle toString | 1 | Example |
1.4.7 Student toString | 1 | Example |
1.4.8 toString for Flowers | 5 | Exercise |
1.4.9 Instance Variables for Your Dog | 5 | Exercise |
1.4.10 Student GPA Field | 5 | Exercise |
1.4.11 Free Response: What instance variables? | 5 | Free Response |
1.4.12 Pizza Time! | 5 | Exercise |
1.4.13 Fractions | 5 | Exercise |
1.5 Writing Classes and Instance Methods | Lesson | |
1.5.1 Writing Instance Methods | 1 | Video |
1.5.2 Quiz: Writing Methods | 1 | Quiz |
1.5.3 Area of a Rectangle | 1 | Example |
1.5.4 Moving a Point | 1 | Example |
1.5.5 Writing getPerimeter() | 5 | Exercise |
1.5.6 Honors Students | 5 | Exercise |
1.5.7 The Full Triangle Class | 5 | Exercise |
1.5.8 Batting Average | 5 | Exercise |
1.5.9 Distance in Kilometers | 5 | Exercise |
1.6 Getter and Setter Methods | Lesson | |
1.6.1 Getter and Setter Methods | 1 | Video |
1.6.2 Quiz: Getter and Setter Methods | 1 | Quiz |
1.6.3 Rectangle Getter Methods | 1 | Example |
1.6.4 Student Getter Methods | 1 | Example |
1.6.5 Text Messages Getter Methods | 5 | Exercise |
1.6.6 Fractions Getter/Setter Methods | 5 | Exercise |
1.6.7 Full Fraction Class | 5 | Exercise |
1.7 Class Methods and Class Variables | Lesson | |
1.7.1 Static Methods and Variables (Class Methods and Class Variables) | 1 | Video |
1.7.2 Quiz: Static Methods | 1 | Quiz |
1.7.3 Student Class Variables and Methods | 1 | Example |
1.7.4 Using the Math Class | 1 | Example |
1.7.5 Using Randomizer | 1 | Example |
1.7.6 Static Variables: Circle | 1 | Example |
1.7.7 The Unit Circle | 5 | Exercise |
1.7.8 How Many Players in the Game? | 5 | Exercise |
1.7.9 Circle Area, another way | 5 | Exercise |
1.7.10 Rock, Paper, Scissors: Get Winner | 5 | Practice |
1.7.11 Rock, Paper, Scissors! | 5 | Exercise |
1.8 Method Overloading | Lesson | |
1.8.1 Method Overloading | 1 | Video |
1.8.2 Method Overloading Quiz | 1 | Quiz |
1.8.3 Sum Method Overloading | 1 | Example |
1.8.4 Constructor Overloading | 1 | Example |
1.8.5 Product Method Overloading | 5 | Exercise |
1.9 Local Variables and Scope | Lesson | |
1.9.1 Local Variables and Scope | 1 | Video |
1.9.2 Local Variables and Scope Quiz | 2 | Quiz |
1.9.3 Instance Variable Scope | 1 | Example |
1.9.4 Local Variable Scope | 1 | Example |
1.9.5 Variable Shadowing | 1 | Example |
1.9.6 Which Variables Exist? | 5 | Exercise |
1.10 Key Terms for Classes | Lesson | |
1.10.1 Key Terms for Classes | 1 | Video |
1.10.2 Quiz: This Keyword | 1 | Quiz |
1.10.3 Rectangles and this | 1 | Example |
1.10.4 Batteries | 5 | Exercise |
1.10.5 Write Your Own CodeHS | 5 | Exercise |
1.11 Objects vs Primitives | Lesson | |
1.11.1 Objects vs Primitives | 1 | Video |
1.11.2 Objects vs Primitives Quiz | 2 | Quiz |
1.11.3 Comparing Rectangles | 1 | Example |
1.11.4 Changing Dogs | 1 | Example |
1.11.5 Null Pointer Exception | 1 | Example |
1.11.6 Objects vs Primitives | 5 | Free Response |
1.11.7 Comparing Circles | 5 | Exercise |
1.12 Inheritance | Lesson | |
1.12.1 Inheritance | 1 | Video |
1.12.2 Quiz: Subclasses and Superclasses | 1 | Quiz |
1.12.3 Square is a Rectangle | 1 | Example |
1.12.4 Finding The Perimeters | 5 | Exercise |
1.13 Class Design and Abstract Classes | Lesson | |
1.13.1 Class Design and Abstract Classes | 1 | Video |
1.13.2 Quiz: Class Design | 1 | Quiz |
1.13.3 The Shape Hierarchy | 1 | Example |
1.13.4 Classes for Dessert | 1 | Example |
1.13.5 Clothing Store | 5 | Exercise |
1.14 Polymorphism | Lesson | |
1.14.1 Polymorphism | 1 | Video |
1.14.2 Quiz: Polymorphism | 1 | Quiz |
1.14.3 Animal Sounds | 1 | Example |
1.14.4 Shape Areas | 1 | Example |
1.14.5 Fun with Solids | 10 | Exercise |
1.15 Interfaces | Lesson | |
1.15.1 Interfaces | 1 | Video |
1.15.2 Quiz: Interfaces | 1 | Quiz |
1.15.3 Comparable Interface | 1 | Example |
1.15.4 Summable Interface | 1 | Example |
1.15.5 Fraction is Comparable | 5 | Exercise |
1.15.6 City is Summable | 5 | Exercise |
1.15.7 Classes and Object-Oriented Programming Badge | 1 | Badge |
1.16 Unit Quiz | Lesson | |
1.16.1 Unit 1 - Classes and Object-Oriented Programming | 18 | Quiz |
Algorithms and Recursion | ||
2.1 What is an Algorithm? | Lesson | |
2.1.1 What is an Algorithm? | 1 | Video |
2.1.2 Every Day Algorithms | 5 | Free Response |
2.2 Linear Search | Lesson | |
2.2.1 Linear Search | 1 | Video |
2.2.2 Linear Search | 1 | Example |
2.2.3 Linear Search on ArrayList | 5 | Practice |
2.2.4 Gradebook FRQ | 1 | Resource |
2.3 Binary Search | Lesson | |
2.3.1 Binary Search | 1 | Video |
2.3.2 Binary Search | 2 | Check for Understanding |
2.3.3 Binary Search | 1 | Example |
2.3.4 Comparing Binary Search and Linear Search | 5 | Exercise |
2.3.5 Binary Search Badge | 1 | Badge |
2.4 Selection Sort | Lesson | |
2.4.1 Selection Sort | 1 | Video |
2.4.2 Selection Sort | 1 | Check for Understanding |
2.4.3 Selection Sort | 1 | Example |
2.4.4 Visualizing Algorithms | 1 | Example |
2.4.5 Explore Selection Sort | 5 | Exercise |
2.5 Insertion Sort | Lesson | |
2.5.1 Insertion Sort | 1 | Video |
2.5.2 Insertion Sort | 1 | Check for Understanding |
2.5.3 Visualizing Algorithms | 1 | Example |
2.5.4 Insertion Sort | 1 | Example |
2.5.5 Explore Insertion Sort | 5 | Exercise |
2.6 Advanced: Recursion | Lesson | |
2.6.1 Recursion | 1 | Video |
2.6.2 Factorial | 1 | Example |
2.6.3 Factorial Unit Test Example | 5 | Practice |
2.6.4 Recursion Walkthrough | 5 | Video |
2.6.5 Recursion Example | 5 | Example |
2.6.6 Recursive Binary Search | 5 | Example |
2.6.7 Fibonacci Recursive | 1 | Example |
2.6.8 Bacteria Cultures | 10 | Practice |
2.6.9 Recursive Minimum | 10 | Practice |
2.7 Mergesort | Lesson | |
2.7.1 Mergesort | 1 | Video |
2.7.2 Visualizing Algorithms | 1 | Example |
2.7.3 Merge Sort | 1 | Example |
2.7.4 Explore Merge Sort | 5 | Exercise |
2.7.5 Algorithms Badge | 1 | Badge |
2.8 Informal Code Analysis | Lesson | |
2.8.1 Informal Code Analysis | 1 | Video |
2.8.2 Informal Code Analysis | 7 | Check for Understanding |
2.8.3 Loop Execution Count | 1 | Example |
2.8.4 While Loop Time | 1 | Example |
2.8.5 For Loop Time | 1 | Example |
2.8.6 Time Comparisons | 5 | Free Response |
2.8.7 Improving isChar Speed | 5 | Exercise |
2.8.8 Improving isChar Speed Check | 1 | Example |
2.8.9 isChar Speed Reflection | 5 | Free Response |
2.9 Algorithms and Recursion Quiz | Lesson | |
2.9.1 Algorithms and Recursion Quiz | 19 | Unit Quiz |
Project: Pokemon Simulation | ||
3.1 Pokemon Simulation | Lesson | |
3.1.1 Pokemon Demo | 1 | Video |
3.1.2 The Move Class | 10 | Challenge |
3.1.3 The Pokemon Class | 10 | Challenge |
3.1.4 Adding Pokemon Images | 10 | Challenge |
3.1.5 Pokemon can Attack! | 10 | Challenge |
3.1.6 The PokemonTrainer Class | 10 | Challenge |
3.1.7 The PokemonSimulation Class | 10 | Challenge |
3.1.8 Finishing the Battle | 10 | Challenge |
3.1.9 Adding the ComputerTrainer | 10 | Challenge |
3.1.10 Pokemon Extensions | 10 | Challenge |
3.1.11 Pokemon Badge | 0 | Badge |
Project: Mad Libs | ||
4.1 Mad Libs | Lesson | |
4.1.1 Mad Libs Demo | 1 | Video |
4.1.2 Collecting the Placeholders | 10 | Challenge |
4.1.3 Getting User Input | 10 | Challenge |
4.1.4 Replacing a Placeholder | 10 | Challenge |
4.1.5 Generating the Mad Lib | 10 | Challenge |
4.1.6 Write your own Mad Lib! | 10 | Challenge |
4.1.7 Mad Lib Extensions | 10 | Challenge |
Java Outside of CodeHS | ||
5.1 Java Outside of CodeHS | Lesson | |
5.1.1 Java Outside of CodeHS | 1 | Video |
5.1.2 Hello World in Eclipse | 1 | Video |
5.1.3 Hello World in BlueJ | 1 | Video |
5.1.4 Hello World in Terminal | 1 | Video |
5.1.5 Java main vs run | 1 | Video |
5.1.6 Using the main Method in Eclipse | 1 | Video |
5.1.7 Using the main Method in BlueJ | 1 | Video |
5.1.8 Using the main Method in the Terminal | 1 | Video |
5.1.9 Hello World with main Method | 1 | Example |
5.1.10 Getting User Input | 1 | Video |
5.1.11 Using Scanner for Input | 1 | Example |
Project: Quiz Creation | ||
6.1 Quiz Creation | Lesson | |
6.1.1 Quiz Demo | 1 | Video |
6.1.2 The Question Class | 10 | Challenge |
6.1.3 Question toString | 10 | Challenge |
6.1.4 The Quiz Class | 10 | Challenge |
6.1.5 Using the QuizFileReader Class | 10 | Challenge |
6.1.6 Constructing Quizzes from Files | 10 | Challenge |
6.1.7 The QuizRunner Class | 10 | Challenge |
6.1.8 Write your own Quiz! | 10 | Challenge |
6.1.9 Quiz Extensions | 10 | Challenge |
Computer Ethics | ||
7.1 Computer Ethics | Lesson | |
7.1.1 Student Honor Code | 0 | Resource |
7.1.2 Computing Ethics | 0 | Resource |
7.1.3 Self Driving Cars | 5 | Free Response |
Java Pretest | ||
8.1 Java Pretest | Lesson | |
8.1.1 About the Pretest | 1 | Notes |
8.1.2 Mindsets | 0 | Survey |
8.1.3 Knowledge & Skills: Java | 15 | Quiz |
Java Posttest | ||
9.1 Java Posttest | Lesson | |
9.1.1 About the Posttest | 1 | Notes |
9.1.2 Mindsets | 0 | Survey |
9.1.3 Java Knowledge & Skills | 15 | Quiz |
Sign up for a free teacher account to get access to curriculum, teacher tools and teacher resources.
Teacher SignupSign up as a student if you are in a school and have a class code given to you by your teacher.
Student Signup