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 4 Quiz | Lesson | |
1.16.1 Unit 4 - Classes and Object-Oriented Programming | 18 | Quiz |
Data Structures | ||
2.1 What are Data Structures? | Lesson | |
2.1.1 What are Data Structures? | 1 | Video |
2.1.2 Quiz: Data Structures | 1 | Quiz |
2.1.3 Data Structures Everywhere | 4 | Free Response |
2.2 Introduction to Arrays | Lesson | |
2.2.1 Introduction to Arrays | 1 | Video |
2.2.2 Quiz: Arrays | 1 | Quiz |
2.2.3 Making an Array | 1 | Example |
2.2.4 Make an Empty Array | 1 | Example |
2.2.5 Indexing Into an Array | 1 | Example |
2.2.6 Our First Array | 5 | Exercise |
2.2.7 Array Length | 5 | Practice |
2.2.8 Last Element in Array | 5 | Practice |
2.3 Using Arrays | Lesson | |
2.3.1 Using Arrays | 1 | Video |
2.3.2 Quiz: Using Arrays | 1 | Quiz |
2.3.3 Iterating Over an Array | 1 | Example |
2.3.4 Sum Array | 1 | Example |
2.3.5 Array Out of Bounds | 1 | Example |
2.3.6 Print Array | 5 | Exercise |
2.3.7 Print Odd Array Indices | 5 | Exercise |
2.3.8 Find the Minimum Index | 5 | Practice |
2.3.9 Classroom Example | 1 | Example |
2.3.10 Exam Scores | 1 | Example |
2.3.11 Array References | 1 | Example |
2.3.12 Find the Median | 5 | Practice |
2.3.13 Top Student | 5 | Exercise |
2.4 ArrayList Methods | Lesson | |
2.4.1 ArrayLists | 1 | Video |
2.4.2 Quiz: ArrayList | 1 | Quiz |
2.4.3 Hello World ArrayList | 1 | Example |
2.4.4 ArrayList and Java Primitives | 1 | Example |
2.4.5 ArrayList Size Method | 1 | Example |
2.4.6 Get First Element | 5 | Exercise |
2.4.7 Reading List | 1 | Example |
2.4.8 Texting in Class | 1 | Example |
2.4.9 Road Trip! | 5 | Exercise |
2.5 Arrays vs ArrayLists | Lesson | |
2.5.1 Arrays vs ArrayLists | 1 | Video |
2.5.2 Quiz: Arrays vs ArrayList | 1 | Quiz |
2.5.3 Expanding Array | 1 | Example |
2.5.4 Improving Expanding Array | 5 | Exercise |
2.5.5 Array vs ArrayList | 1 | Example |
2.6 The List Interface | Lesson | |
2.6.1 The List Interface | 1 | Video |
2.6.2 The List Interface Quiz | 1 | Quiz |
2.6.3 Reverse the List | 1 | Example |
2.6.4 Summer Reading | 7 | Practice |
2.7 2D Arrays (Matrices or Grids) | Lesson | |
2.7.1 2D Arrays | 1 | Video |
2.7.2 Quiz: 2D Arrays | 1 | Quiz |
2.7.3 Nested Loops | 1 | Example |
2.7.4 Ice Cream Combos | 5 | Practice |
2.7.5 First 2D Array | 1 | Example |
2.7.6 Initializing a 2D Array | 1 | Example |
2.7.7 The Matrix | 1 | Example |
2.7.8 Sum Rows in a Matrix | 7 | Practice |
2.8 HashMaps | Lesson | |
2.8.1 HashMaps | 1 | Video |
2.8.2 Quiz: HashMaps | 1 | Quiz |
2.8.3 The Phonebook | 1 | Example |
2.8.4 Word Counts | 10 | Exercise |
2.9 Binary | Lesson | |
2.9.1 Number Systems | 1 | Video |
2.9.2 Number Systems Quiz | 3 | Quiz |
2.9.3 Converting Octal to Decimal | 1 | Example |
2.9.4 Converting Binary to Decimal | 7 | Practice |
2.9.5 Using Binary | 1 | Video |
2.9.6 Using Binary Quiz | 2 | Quiz |
2.9.7 Integer Limits | 1 | Example |
2.9.8 Binary Translator | 7 | Practice |
2.10 Writing BlackJack | Lesson | |
2.10.1 The Card Class | 1 | Video |
2.10.2 The Card Class | 1 | Example |
2.10.3 The Deck Class | 1 | Video |
2.10.4 The Deck Class | 1 | Example |
2.10.5 The Hand Class | 1 | Video |
2.10.6 The Hand Class | 1 | Example |
2.10.7 The Blackjack Class | 1 | Video |
2.10.8 The Blackjack Game | 1 | Example |
2.10.9 Improving Blackjack | 10 | Exercise |
2.10.10 Data Structures Exercises Badge | 1 | Badge |
2.11 Battleship | Lesson | |
2.11.1 Battleship Demo | 1 | Video |
2.11.2 Battleship Part 1: The Ship Class | 5 | Exercise |
2.11.3 Battleship Part 2: The Location Class | 5 | Exercise |
2.11.4 Battleship Part 3: The Grid Class | 7 | Exercise |
2.11.5 Battleship Part 4: Adding a Ship to the Grid | 6 | Exercise |
2.11.6 Battleship Part 5: The Player Class | 5 | Exercise |
2.11.7 Battleship Part 6: The Battleship Class | 5 | Exercise |
2.11.8 Battleship Part 7: Finishing the Game | 10 | Exercise |
2.11.9 Battleship Extensions | 7 | Exercise |
2.11.10 Battleship Badge | 1 | Badge |
2.12 Unit Quiz | Lesson | |
2.12.1 Unit 5 - Data Structures | 23 | Quiz |
Final Project | ||
3.1 Final Project | Lesson | |
3.1.1 Brainstorm | 5 | Free Response |
3.1.2 Milestones | 5 | Free Response |
3.1.3 Final Project | 10 | Exercise |
3.1.4 Final Project Badge | 1 | Badge |
3.2 Intro Java Completed | Lesson | |
3.2.1 Intro Java Badge | 1 | Badge |
Algorithms and Recursion | ||
4.1 What is an Algorithm? | Lesson | |
4.1.1 What is an Algorithm? | 1 | Video |
4.1.2 Every Day Algorithms | 5 | Free Response |
4.2 Linear Search | Lesson | |
4.2.1 Linear Search | 1 | Video |
4.2.2 Linear Search | 1 | Example |
4.2.3 Linear Search on ArrayList | 5 | Practice |
4.2.4 Gradebook FRQ | 1 | Resource |
4.3 Binary Search | Lesson | |
4.3.1 Binary Search | 1 | Video |
4.3.2 Binary Search | 2 | Check for Understanding |
4.3.3 Binary Search | 1 | Example |
4.3.4 Comparing Binary Search and Linear Search | 5 | Exercise |
4.3.5 Binary Search Badge | 1 | Badge |
4.4 Selection Sort | Lesson | |
4.4.1 Selection Sort | 1 | Video |
4.4.2 Selection Sort | 1 | Check for Understanding |
4.4.3 Selection Sort | 1 | Example |
4.4.4 Visualizing Algorithms | 1 | Example |
4.4.5 Explore Selection Sort | 5 | Exercise |
4.5 Insertion Sort | Lesson | |
4.5.1 Insertion Sort | 1 | Video |
4.5.2 Insertion Sort | 1 | Check for Understanding |
4.5.3 Visualizing Algorithms | 1 | Example |
4.5.4 Insertion Sort | 1 | Example |
4.5.5 Explore Insertion Sort | 5 | Exercise |
4.6 Advanced: Recursion | Lesson | |
4.6.1 Recursion | 1 | Video |
4.6.2 Factorial | 1 | Example |
4.6.3 Factorial Unit Test Example | 5 | Practice |
4.6.4 Recursion Walkthrough | 5 | Video |
4.6.5 Recursion Example | 5 | Example |
4.6.6 Recursive Binary Search | 5 | Example |
4.6.7 Fibonacci Recursive | 1 | Example |
4.6.8 Bacteria Cultures | 10 | Practice |
4.6.9 Recursive Minimum | 10 | Practice |
4.7 Mergesort | Lesson | |
4.7.1 Mergesort | 1 | Video |
4.7.2 Visualizing Algorithms | 1 | Example |
4.7.3 Merge Sort | 1 | Example |
4.7.4 Explore Merge Sort | 5 | Exercise |
4.7.5 Algorithms Badge | 1 | Badge |
4.8 Informal Code Analysis | Lesson | |
4.8.1 Informal Code Analysis | 1 | Video |
4.8.2 Informal Code Analysis | 7 | Check for Understanding |
4.8.3 Loop Execution Count | 1 | Example |
4.8.4 While Loop Time | 1 | Example |
4.8.5 For Loop Time | 1 | Example |
4.8.6 Time Comparisons | 5 | Free Response |
4.8.7 Improving isChar Speed | 5 | Exercise |
4.8.8 Improving isChar Speed Check | 1 | Example |
4.8.9 isChar Speed Reflection | 5 | Free Response |
4.9 Algorithms and Recursion Quiz | Lesson | |
4.9.1 Algorithms and Recursion Quiz | 19 | Unit Quiz |
Project: Pokemon Simulation | ||
5.1 Pokemon Simulation | Lesson | |
5.1.1 Pokemon Demo | 1 | Video |
5.1.2 The Move Class | 10 | Challenge |
5.1.3 The Pokemon Class | 10 | Challenge |
5.1.4 Adding Pokemon Images | 10 | Challenge |
5.1.5 Pokemon can Attack! | 10 | Challenge |
5.1.6 The PokemonTrainer Class | 10 | Challenge |
5.1.7 The PokemonSimulation Class | 10 | Challenge |
5.1.8 Finishing the Battle | 10 | Challenge |
5.1.9 Adding the ComputerTrainer | 10 | Challenge |
5.1.10 Pokemon Extensions | 10 | Challenge |
5.1.11 Pokemon Badge | 0 | Badge |
Project: Mad Libs | ||
6.1 Mad Libs | Lesson | |
6.1.1 Mad Libs Demo | 1 | Video |
6.1.2 Collecting the Placeholders | 10 | Challenge |
6.1.3 Getting User Input | 10 | Challenge |
6.1.4 Replacing a Placeholder | 10 | Challenge |
6.1.5 Generating the Mad Lib | 10 | Challenge |
6.1.6 Write your own Mad Lib! | 10 | Challenge |
6.1.7 Mad Lib Extensions | 10 | Challenge |
Java Outside of CodeHS | ||
7.1 Java Outside of CodeHS | Lesson | |
7.1.1 Java Outside of CodeHS | 1 | Video |
7.1.2 Hello World in Eclipse | 1 | Video |
7.1.3 Hello World in BlueJ | 1 | Video |
7.1.4 Hello World in Terminal | 1 | Video |
7.1.5 Java main vs run | 1 | Video |
7.1.6 Using the main Method in Eclipse | 1 | Video |
7.1.7 Using the main Method in BlueJ | 1 | Video |
7.1.8 Using the main Method in the Terminal | 1 | Video |
7.1.9 Hello World with main Method | 1 | Example |
7.1.10 Getting User Input | 1 | Video |
7.1.11 Using Scanner for Input | 1 | Example |
Project: Quiz Creation | ||
8.1 Quiz Creation | Lesson | |
8.1.1 Quiz Demo | 1 | Video |
8.1.2 The Question Class | 10 | Challenge |
8.1.3 Question toString | 10 | Challenge |
8.1.4 The Quiz Class | 10 | Challenge |
8.1.5 Using the QuizFileReader Class | 10 | Challenge |
8.1.6 Constructing Quizzes from Files | 10 | Challenge |
8.1.7 The QuizRunner Class | 10 | Challenge |
8.1.8 Write your own Quiz! | 10 | Challenge |
8.1.9 Quiz Extensions | 10 | Challenge |
Computer Ethics | ||
9.1 Computer Ethics | Lesson | |
9.1.1 Student Honor Code | 0 | Resource |
9.1.2 Computing Ethics | 0 | Resource |
9.1.3 Self Driving Cars | 5 | Free Response |
Java Pretest | ||
10.1 Java Pretest | Lesson | |
10.1.1 About the Pretest | 1 | Notes |
10.1.2 Mindsets | 0 | Survey |
10.1.3 Knowledge & Skills: Java | 15 | Quiz |
Java Posttest | ||
11.1 Java Posttest | Lesson | |
11.1.1 About the Posttest | 1 | Notes |
11.1.2 Mindsets | 0 | Survey |
11.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