Activity | Points |
---|---|
Primitive Types | |
1.1 Why Programming? Why Java? | |
1.1.1 Printing in Java | 1 |
1.1.2 Printing in Java | 5 |
1.1.3 Hello World | 1 |
1.1.4 Printing Multiple Lines | 1 |
1.1.5 Welcome Program | 5 |
1.1.6 ASCII Art | 5 |
1.1.7 Fixing a Paragraph | 5 |
1.1.8 Heating Up | 5 |
1.1.9 Personal Timeline | 5 |
1.2 Variables and Data Types | |
1.2.1 Variables and Types | 1 |
1.2.2 Variables and Types | 5 |
1.2.3 Variables | 1 |
1.2.4 Using Final | 1 |
1.2.5 Our First Integer | 5 |
1.2.6 Variables and Types Pt. 2 | 1 |
1.2.7 Variables and Types Pt. 2 | 5 |
1.2.8 Swapping Two Values | 5 |
1.2.9 Answering Questions | 5 |
1.2.10 Team Rankings | 5 |
1.3 Expressions and Assignment Statements | |
1.3.1 Arithmetic Expressions | 1 |
1.3.2 Arithmetic Expressions | 5 |
1.3.3 Calculator | 1 |
1.3.4 Temperature Conversion | 1 |
1.3.5 Tricky Java | 1 |
1.3.6 Weight of a Pyramid | 5 |
1.3.7 Add Fractions | 5 |
1.3.8 Freely Falling Bodies | 5 |
1.4 Compound Assignment Operators | |
1.4.1 Compound Assignment Operators | 1 |
1.4.2 Compound Assignment Operators | 5 |
1.4.3 All Functions Calculator | 1 |
1.4.4 Increase/Decrease by 1 | 1 |
1.4.5 Work Shift | 5 |
1.4.6 Personalized T-shirts | 5 |
1.5 User Input | |
1.5.1 User Input | 1 |
1.5.2 User Input Quiz | 5 |
1.5.3 Using the Scanner Class | 1 |
1.5.4 Increase/Decrease by 1 (User Input) | 1 |
1.5.5 int Before String | 5 |
1.5.6 Personalized T-shirts (User Input) | 5 |
1.5.7 Night Out | 5 |
1.5.8 Test Score Calculator | 5 |
1.5.9 MLA Citation | 5 |
1.6 Casting and Ranges of Variables | |
1.6.1 Casting | 1 |
1.6.2 Casting | 5 |
1.6.3 Casting | 1 |
1.6.4 Casting to an Int | 5 |
1.6.5 Casting to a Double | 5 |
1.6.6 Casting Order of Operations | 1 |
1.6.7 Rounding Using Casting | 1 |
1.6.8 Movie Ratings | 5 |
1.6.9 Implicit Casting | 1 |
1.6.10 Min and Max Values of Integers | 1 |
1.6.11 Integer Overflow | 5 |
1.7 Primitive Types Quiz | |
1.7.1 Primitive Types Quiz | 25 |
Using Objects | |
2.1 Objects: Instances of Classes | |
2.1.1 Objects: Instances of Classes | 1 |
2.1.2 Quiz: Classes and Objects | 5 |
2.1.3 Multi-File Exercises in Java | 1 |
2.1.4 Rectangle Skeleton | 1 |
2.1.5 GrilledCheese Skeleton | 1 |
2.1.6 Shark Skeleton | 1 |
2.1.7 Free Response: What instance variables? | 5 |
2.1.8 Pizza Instance Variables | 5 |
2.1.9 Game Skeleton | 5 |
2.2 Creating and Storing Objects (Instantiation) | |
2.2.1 Creating and Storing Objects | 1 |
2.2.2 Quiz: Constructors | 5 |
2.2.3 The Rectangle Class | 1 |
2.2.4 The Point Class | 1 |
2.2.5 The Student Class | 1 |
2.2.6 Using the Rectangle Class | 5 |
2.2.7 New Student Field | 5 |
2.2.8 More Instance Variables | 5 |
2.2.9 Pizza Time! | 5 |
2.2.10 Instantiation Badge | 1 |
2.3 Overloading | |
2.3.1 Method Overloading | 1 |
2.3.2 Method Overloading Quiz | 5 |
2.3.3 Overloaded Rectangle | 1 |
2.3.4 Overloaded GrilledCheese | 1 |
2.3.5 Null Pointer Exception | 1 |
2.3.6 Plain Coffee | 5 |
2.3.7 Custom Piñatas | 5 |
2.3.8 Website Class | 5 |
2.3.9 Empty References | 5 |
2.4 Calling a Void Method | |
2.4.1 Calling a Void Method | 1 |
2.4.2 Quiz: Void Methods | 5 |
2.4.3 Area of a Rectangle | 1 |
2.4.4 Program Flow | 1 |
2.4.5 Hello! | 5 |
2.4.6 Loose Change | 5 |
2.4.7 Chat Bot | 5 |
2.4.8 Greetings and Salutations | 5 |
2.5 Calling a Void Method with Parameters | |
2.5.1 Calling a Void Method with Parameters | 1 |
2.5.2 Methods and Parameters | 5 |
2.5.3 Rectangle | 1 |
2.5.4 Moving a Point | 1 |
2.5.5 Using the Point Class | 5 |
2.5.6 Calculator | 1 |
2.5.7 Cricket Players | 5 |
2.5.8 More Operations | 5 |
2.5.9 Chat Bot 2.0 | 5 |
2.6 Calling a Non-void Method | |
2.6.1 Calling a Non-void Method | 1 |
2.6.2 Quiz: Non-Void Methods | 5 |
2.6.3 Rectangle | 1 |
2.6.4 Desks in a Room | 1 |
2.6.5 Activity Log | 1 |
2.6.6 Number Games | 5 |
2.6.7 Construction Costs | 5 |
2.6.8 How Far Away is ...? | 5 |
2.7 String Objects | |
2.7.1 String Objects | 1 |
2.7.2 String Objects | 5 |
2.7.3 Immutable Strings | 1 |
2.7.4 String Concatenation | 1 |
2.7.5 Rectangle Dimensions | 1 |
2.7.6 Printing Equations | 1 |
2.7.7 Pretty Printing Operations | 5 |
2.7.8 Auto-fill | 5 |
2.7.9 QuoteMachine | 5 |
2.8 String Methods | |
2.8.1 String Methods | 1 |
2.8.2 String Methods | 4 |
2.8.3 Bigger Strings? | 1 |
2.8.4 Chopping Strings | 1 |
2.8.5 Object Concatenation | 1 |
2.8.6 Speaking | 5 |
2.8.7 toString for Animals | 5 |
2.8.8 Organizing Class Roster | 5 |
2.8.9 Concatenating Fractions | 5 |
2.8.10 Word Games | 5 |
2.9 Wrapper Classes: Integers and Doubles | |
2.9.1 Wrapper Classes | 1 |
2.9.2 Quiz: Wrapper Classes | 5 |
2.9.3 Creating Integers | 1 |
2.9.4 Using Doubles | 1 |
2.9.5 Autoboxing Example | 1 |
2.9.6 Order Up! | 5 |
2.9.7 Currency | 5 |
2.9.8 Guess the number! | 5 |
2.10 Using the Math Class | |
2.10.1 Using the Math Class | 1 |
2.10.2 Quiz: Static Methods | 5 |
2.10.3 Using the Math Class | 1 |
2.10.4 Static Methods: Rectangle | 1 |
2.10.5 Generating Random Numbers | 1 |
2.10.6 Circle Area | 5 |
2.10.7 The Unit Circle | 5 |
2.10.8 Racing | 5 |
2.11 Using Objects Quiz | |
2.11.1 Using Objects Quiz | 25 |
Boolean Expressions and if Statements | |
3.1 Boolean Expressions and if Statements | |
3.1.1 Comparison Operators | 1 |
3.1.2 Comparison Operators | 5 |
3.1.3 Old Enough To Vote | 1 |
3.1.4 Grade Range | 1 |
3.1.5 Equality of Strings | 1 |
3.1.6 Meeting Goals | 5 |
3.1.7 Sugar Tax | 5 |
3.1.8 Triple Double | 5 |
3.2 if Statements and Control Flow | |
3.2.1 If Statements | 1 |
3.2.2 If Statements | 5 |
3.2.3 Can Vote | 1 |
3.2.4 Negative Numbers | 1 |
3.2.5 Rectangle | 1 |
3.2.6 Discounts | 5 |
3.2.7 Sweet or Unsweet? | 5 |
3.2.8 Cooking | 5 |
3.2.9 Rating | 5 |
3.3 if-else Statements | |
3.3.1 If-Else Statements | 1 |
3.3.2 If-Else | 5 |
3.3.3 Bill with add tip | 1 |
3.3.4 Even and Odd | 1 |
3.3.5 Running Speed | 5 |
3.3.6 Battleships Move | 5 |
3.3.7 Ratings | 5 |
3.3.8 Player Score | 5 |
3.4 else if Statements | |
3.4.1 else-if Statements | 1 |
3.4.2 else-if | 5 |
3.4.3 Add Tip | 1 |
3.4.4 Add Tip - 8 or 4 Customers | 1 |
3.4.5 Add Tip - 8, 4, 2 Customers | 1 |
3.4.6 Positive, Negative, or Zero | 5 |
3.4.7 Salmon Spawn | 5 |
3.4.8 Berries | 5 |
3.4.9 Battleships | 5 |
3.5 Compound Boolean Expressions | |
3.5.1 Compound Boolean Expressions | 1 |
3.5.2 Logical Operators | 5 |
3.5.3 Light Switch | 1 |
3.5.4 Number in Range | 1 |
3.5.5 Pizza Slices | 1 |
3.5.6 Roller Coaster | 5 |
3.5.7 Compound Roller Coaster | 5 |
3.5.8 Divisibility | 5 |
3.5.9 Find the Median | 5 |
3.6 Equivalent Boolean Expressions | |
3.6.1 Equivalent Boolean Expressions | 1 |
3.6.2 De Morgan's Laws | 5 |
3.6.3 De Morgan AND | 1 |
3.6.4 De Morgan OR | 1 |
3.6.5 Amusement Park | 5 |
3.6.6 Negative Numbers | 5 |
3.6.7 Odd and Even | 5 |
3.6.8 Odd and Even Free Response | 5 |
3.7 Comparing Objects | |
3.7.1 Comparing Objects | 1 |
3.7.2 Comparing Objects | 5 |
3.7.3 Comparing Strings | 1 |
3.7.4 Comparing Rectangles | 1 |
3.7.5 Null Test | 1 |
3.7.6 Identify Aliases | 1 |
3.7.7 String Variable Trace | 5 |
3.7.8 String Trace | 5 |
3.7.9 Three Strings | 5 |
3.7.10 Comparing Circles | 5 |
3.8 Boolean Expressions and if Statements Quiz | |
3.8.1 Boolean Expressions and If Statements Quiz | 25 |
Iteration | |
4.1 Iteration | |
4.1.1 While Loops | 1 |
4.1.2 While Loops | 5 |
4.1.3 While Loop Countdown | 1 |
4.1.4 Get Down to One | 1 |
4.1.5 Running Average | 1 |
4.1.6 Making Taffy | 5 |
4.1.7 Guess the Number | 5 |
4.1.8 Divisibility | 5 |
4.1.9 Max and Min Values | 5 |
4.2 For Loops | |
4.2.1 For Loops | 1 |
4.2.2 For Loops | 5 |
4.2.3 For Loop | 1 |
4.2.4 Countdown | 1 |
4.2.5 Count By Twos | 1 |
4.2.6 Print the Odds | 5 |
4.2.7 Repeat | 5 |
4.2.8 Replace WHILE with FOR Loop | 5 |
4.2.9 Replace FOR Loop with WHILE Loop | 5 |
4.2.10 Multiplication Table | 5 |
4.3 Developing Algorithms Using Strings | |
4.3.1 Developing Algorithms Using Strings | 1 |
4.3.2 Developing Algorithms Using Strings | 5 |
4.3.3 Traversing Strings | 1 |
4.3.4 Replace Characters | 1 |
4.3.5 Reverse String | 1 |
4.3.6 Replace Letter | 5 |
4.3.7 Password Checker | 5 |
4.3.8 Finding Palindromes | 5 |
4.3.9 Fixing Grammar | 5 |
4.3.10 Teen Talk | 5 |
4.3.11 String Processing Badge | 5 |
4.4 Nested Iteration | |
4.4.1 Nested Iteration | 1 |
4.4.2 Nested Iteration | 5 |
4.4.3 Make a Rectangle | 1 |
4.4.4 Nested Loop Iteration Counts | 1 |
4.4.5 Inverted Triangle | 1 |
4.4.6 Upright Number Triangle | 5 |
4.4.7 Make a Tree | 5 |
4.4.8 Multiplication Table | 5 |
4.5 Informal Code Analysis | |
4.5.1 Informal Code Analysis | 1 |
4.5.2 Informal Code Analysis | 5 |
4.5.3 Loop Execution Count | 1 |
4.5.4 While Loop Time | 1 |
4.5.5 For Loop Time | 1 |
4.5.6 Time Comparisons | 5 |
4.5.7 Improving findChar Speed | 5 |
4.5.8 Improving findChar Speed Check | 1 |
4.5.9 findChar Speed Reflection | 5 |
4.6 Iteration Quiz | |
4.6.1 Iteration Quiz | 25 |
Writing Classes | |
5.1 Writing Classes | |
5.1.1 Anatomy of Classes | 1 |
5.1.2 Quiz: Access Modifiers | 5 |
5.1.3 Rectangle Getter Methods | 1 |
5.1.4 Access for DNA Class | 5 |
5.1.5 Access for Employee Class | 5 |
5.1.6 Fixing Circle | 5 |
5.2 Constructors | |
5.2.1 Constructors | 1 |
5.2.2 Quiz: Constructors | 5 |
5.2.3 SuperHero Class | 1 |
5.2.4 Initializing an Object without a Constructor | 1 |
5.2.5 Batting Average | 5 |
5.2.6 Dog Class | 5 |
5.2.7 Student Overload | 5 |
5.2.8 SchoolClub Class | 5 |
5.3 Documentation with Comments | |
5.3.1 Documentation with Comments | 1 |
5.3.2 Quiz: Comments | 5 |
5.3.3 Comments for Debugging | 1 |
5.3.4 Power Class with Comments | 1 |
5.3.5 Commenting Activity Tracker | 5 |
5.3.6 Commenting Activity Log | 5 |
5.3.7 C.Y.O.A. Layout | 5 |
5.3.8 C.Y.O.A. Finishing the story | 5 |
5.4 Accessor Methods | |
5.4.1 Accessor Methods | 1 |
5.4.2 Quiz: Accessors | 5 |
5.4.3 Student Getter Methods | 1 |
5.4.4 SuperHero Class with Secret Identity | 1 |
5.4.5 Add Some Getter Methods | 5 |
5.4.6 Full Dragon Class | 5 |
5.4.7 A Different Dragon Class | 5 |
5.4.8 A Chef's Best Meal | 5 |
5.5 Mutator Methods | |
5.5.1 Mutator Methods | 1 |
5.5.2 Quiz: Mutators | 5 |
5.5.3 SuperHero Class with Mutator Methods | 1 |
5.5.4 Student Setters | 1 |
5.5.5 Rectangle class | 5 |
5.5.6 Full Fraction Class | 5 |
5.5.7 Weekly Routine | 5 |
5.6 Writing Methods | |
5.6.1 Writing Methods | 1 |
5.6.2 Quiz: Writing Methods | 5 |
5.6.3 Triangle Class | 1 |
5.6.4 Baseball Player Class | 1 |
5.6.5 Distance Conversions | 5 |
5.6.6 Food App Demo | 5 |
5.6.7 Car Class | 5 |
5.6.8 Combination Lock FRQ | 1 |
5.7 Static Variables and Methods | |
5.7.1 Static Variables and Methods | 1 |
5.7.2 Quiz: Static Methods | 5 |
5.7.3 Static SuperHero | 1 |
5.7.4 Static Variables: Circle | 1 |
5.7.5 Randomizer Class | 5 |
5.7.6 Rock, Paper, Scissors! | 5 |
5.7.7 In the Game? | 5 |
5.8 Scope and Access | |
5.8.1 Scope and Access | 1 |
5.8.2 Quiz: Local Variables and Scope | 5 |
5.8.3 Instance Variable Scope | 1 |
5.8.4 Local Variable Scope | 1 |
5.8.5 Variable Shadowing | 1 |
5.8.6 Method Decomposition with Trivia | 1 |
5.8.7 Scope | 5 |
5.8.8 Which Variables Exist? | 5 |
5.8.9 Broken Calculator | 5 |
5.9 this Keyword | |
5.9.1 this Keyword | 1 |
5.9.2 Quiz: this Keyword | 5 |
5.9.3 Rectangles and this | 1 |
5.9.4 Student and this | 1 |
5.9.5 Write Your Own CodeHS | 5 |
5.9.6 Song Class | 5 |
5.9.7 Fraction Math | 5 |
5.10 Ethical and Social Implications of Computing | |
5.10.1 Implications of Computing Systems | 1 |
5.10.2 Computing and Your Life | 5 |
5.10.3 Quiz: Ethical and Social Impact | 5 |
5.10.4 ACM General Ethical Principles | 1 |
5.10.5 ACM General Ethical Principles | 5 |
5.10.6 Bias in Facial Recognition | 1 |
5.10.7 Bias in Facial Recognition | 5 |
5.10.8 Self-driving Cars | 1 |
5.10.9 Self-driving Cars | 5 |
5.11 Writing Classes Quiz | |
5.11.1 Writing Classes Quiz | 25 |
Array | |
6.1 Array | |
6.1.1 Introduction to Arrays | 1 |
6.1.2 Quiz: Arrays | 5 |
6.1.3 Making an Array | 1 |
6.1.4 Make an Empty Array | 1 |
6.1.5 Indexing Into an Array | 1 |
6.1.6 Our First Array | 5 |
6.1.7 Set Scores | 5 |
6.1.8 Last Element in Array | 5 |
6.1.9 Snap Shot Splash Screen | 5 |
6.2 Traversing Arrays | |
6.2.1 Using Arrays | 1 |
6.2.2 Quiz: Using Arrays | 5 |
6.2.3 Iterating Over An Array - For Loop | 1 |
6.2.4 Iterating Over An Array - While Loop | 1 |
6.2.5 Array Out of Bounds | 1 |
6.2.6 Finding a Target Value | 1 |
6.2.7 Print Array | 5 |
6.2.8 Print Odd Array Indices | 5 |
6.2.9 Find Index of a String | 5 |
6.2.10 Fibonacci Sequence | 5 |
6.3 Enhanced for Loop for Arrays | |
6.3.1 Enhanced For Loop for Arrays | 1 |
6.3.2 Enhanced For Loop for Arrays | 5 |
6.3.3 Enhanced For Loop | 1 |
6.3.4 Classroom Array | 1 |
6.3.5 Updating Values in a Loop | 1 |
6.3.6 Print Odds | 5 |
6.3.7 Largest Value | 5 |
6.3.8 Classroom Array | 5 |
6.3.9 Array Average | 5 |
6.4 Developing Algorithms Using Arrays | |
6.4.1 Developing Algorithms Using Arrays | 1 |
6.4.2 Developing Algorithms Using Arrays | 5 |
6.4.3 Finding the Minimum Value | 1 |
6.4.4 Reordering an Array | 1 |
6.4.5 Finding Duplicates | 1 |
6.4.6 Find the Median | 5 |
6.4.7 Find the Last Multiple of 3 | 5 |
6.4.8 Most Improved | 5 |
6.4.9 Car Showroom | 10 |
6.5 Array Quiz | |
6.5.1 Array Quiz | 20 |
ArrayList | |
7.1 ArrayList | |
7.1.1 ArrayLists | 1 |
7.1.2 Quiz: ArrayList | 5 |
7.1.3 Initializing an ArrayList | 1 |
7.1.4 Array vs. ArrayList Initialization | 1 |
7.1.5 Arrays vs. ArrayLists | 5 |
7.1.6 Initializing an ArrayList | 5 |
7.1.7 Car Inventory | 5 |
7.2 ArrayList Methods | |
7.2.1 ArrayLists Methods | 1 |
7.2.2 Quiz: ArrayList Methods | 5 |
7.2.3 ArrayList and Java Primitives | 1 |
7.2.4 ArrayList Methods | 1 |
7.2.5 Array vs. ArrayList Methods | 1 |
7.2.6 Get First Element | 5 |
7.2.7 ArrayList of Even Numbers | 5 |
7.2.8 Teacher Class List | 5 |
7.2.9 Teacher Class List Methods | 5 |
7.3 Traversing ArrayLists | |
7.3.1 Traversing ArrayLists | 1 |
7.3.2 Quiz: Traversing Arrays | 5 |
7.3.3 Reading List | 1 |
7.3.4 While Loop ArrayList Traversal | 1 |
7.3.5 ArrayList Traversing Error | 1 |
7.3.6 Traversing Odds | 5 |
7.3.7 ArrayList Helper Methods | 5 |
7.3.8 Road Trip! | 5 |
7.4 Developing Algorithms using ArrayLists | |
7.4.1 Developing Algorithms Using ArrayLists | 1 |
7.4.2 Quiz: Developing Algorithms | 5 |
7.4.3 Traversing ArrayLists Simultaneously | 1 |
7.4.4 Inserting Elements While Traversing ArrayLists | 1 |
7.4.5 ArrayList equals | 5 |
7.4.6 Airline Tickets | 5 |
7.4.7 Billboard Top 10 | 5 |
7.4.8 User Data Cleanup | 5 |
7.5 Searching | |
7.5.1 Linear Search | 1 |
7.5.2 Quiz: Linear Search | 5 |
7.5.3 Linear Search | 1 |
7.5.4 Linear Search on ArrayList with While Loop | 5 |
7.5.5 Fantasy Football Roster | 5 |
7.5.6 Card Collection FRQ | 1 |
7.6 Sorting | |
7.6.1 Selection Sort | 1 |
7.6.2 Selection Sort | 2 |
7.6.3 Selection Sort | 1 |
7.6.4 Explore Selection Sort | 5 |
7.6.5 Insertion Sort | 1 |
7.6.6 Insertion Sort | 3 |
7.6.7 Insertion Sort | 1 |
7.6.8 Visualizing Algorithms | 1 |
7.6.9 Explore Insertion Sort | 5 |
7.6.10 Selection Sort vs. Insertion Sort Run Time | 5 |
7.6.11 Selection Sort vs. Insertion Sort | 5 |
7.6.12 Phonebook | 5 |
7.7 Ethical Issues Around Data Collection | |
7.7.1 Ethical Issues Around Data Collection | 1 |
7.7.2 Ethical Issues Around Data Collection | 5 |
7.7.3 The Curly Fry Conundrum | 1 |
7.7.4 Reflection | 5 |
7.7.5 Guidelines on Ethical Data Use | 1 |
7.7.6 Issue News Article | 5 |
7.7.7 ArrayList Badge | 5 |
7.8 ArrayList Quiz | |
7.8.1 ArrayList Quiz | 25 |
2D Array | |
8.1 2D Arrays | |
8.1.1 2D Arrays | 1 |
8.1.2 Quiz: 2D Arrays | 5 |
8.1.3 GradeBook | 1 |
8.1.4 ChessBoard | 1 |
8.1.5 Manipulating 2D Arrays | 5 |
8.1.6 Complete Chessboard | 5 |
8.1.7 Tic Tac Toe Board | 5 |
8.2 Traversing 2D Arrays | |
8.2.1 Traversing 2D Arrays | 1 |
8.2.2 Quiz: Traversing 2D Arrays | 5 |
8.2.3 Traversing Gradebook | 1 |
8.2.4 Linear Search 2D Arrays | 1 |
8.2.5 Row vs. Column Major | 1 |
8.2.6 Row vs. Column Major | 5 |
8.2.7 Sum Rows in a 2D Array | 5 |
8.2.8 Tic Tac Toe Methods | 5 |
8.2.9 Finalizing Tic Tac Toe | 5 |
8.2.10 2D Array Badge | 5 |
8.3 2D Array Quiz | |
8.3.1 2D Array Quiz | 25 |
Inheritance | |
9.1 Inheritance | |
9.1.1 Inheritance | 1 |
9.1.2 Quiz: Subclasses and Superclasses | 5 |
9.1.3 Person Superclass | 1 |
9.1.4 Vehicle Superclass | 1 |
9.1.5 High School Student | 1 |
9.1.6 Person / Student Object | 5 |
9.1.7 Books | 5 |
9.1.8 Computers | 5 |
9.1.9 More Animals! | 5 |
9.2 Writing Constructors for Subclasses | |
9.2.1 Writing Constructors for Subclasses | 1 |
9.2.2 Quiz: Writing Constructors for Subclasses | 5 |
9.2.3 Student Subclass | 1 |
9.2.4 Shape Class | 1 |
9.2.5 Implicit Call to Super | 1 |
9.2.6 Students | 5 |
9.2.7 Instruments | 5 |
9.2.8 Foods | 5 |
9.2.9 Clothing Store | 5 |
9.3 Overriding Methods | |
9.3.1 Overriding Methods | 1 |
9.3.2 Quiz: Overriding Methods | 5 |
9.3.3 Square is a Rectangle | 1 |
9.3.4 Student toString | 1 |
9.3.5 Restaurant Bills | 1 |
9.3.6 Dogs Bark | 5 |
9.3.7 Electric Cars | 5 |
9.3.8 Online Companies | 5 |
9.4 super Keyword | |
9.4.1 super Keyword | 1 |
9.4.2 Quiz: super Keyword | 5 |
9.4.3 Square Class | 1 |
9.4.4 Animal Class | 1 |
9.4.5 Apple Pie | 1 |
9.4.6 Squares | 5 |
9.4.7 Bank Accounts | 5 |
9.4.8 Employees | 5 |
9.4.9 Student Test Scores | 5 |
9.5 Creating References Using Inheritance | |
9.5.1 Creating References Using Inheritance Hierarchies | 1 |
9.5.2 Quiz: References Using Inheritance Hierarchies | 5 |
9.5.3 Animal Sounds | 1 |
9.5.4 Shape Areas | 1 |
9.5.5 Person Class | 1 |
9.5.6 Pies | 5 |
9.5.7 Creating .equals | 5 |
9.5.8 Online Companies Revisited | 5 |
9.5.9 Assignments | 5 |
9.6 Polymorphism | |
9.6.1 Polymorphism | 1 |
9.6.2 Quiz: Polymorphism | 5 |
9.6.3 Using Person Methods | 1 |
9.6.4 Modified Student Class | 1 |
9.6.5 Vehicle Methods | 1 |
9.6.6 Which Team? | 5 |
9.6.7 Cars | 5 |
9.6.8 Library Books | 5 |
9.6.9 Fun with Solids | 5 |
9.7 Object Superclass | |
9.7.1 Object Superclass | 1 |
9.7.2 Quiz: Object Superclass | 5 |
9.7.3 Default Values | 1 |
9.7.4 Override toString | 1 |
9.7.5 Override equals | 1 |
9.7.6 Equal? | 5 |
9.7.7 Equals? - Part 2 | 5 |
9.7.8 Equal Rectangles | 5 |
9.7.9 2D Array Tester | 5 |
9.8 Inheritance Quiz | |
9.8.1 Inheritance Quiz | 25 |
Recursion | |
10.1 Recursion | |
10.1.1 Recursion | 1 |
10.1.2 Quiz: Recursion | 5 |
10.1.3 Summing | 1 |
10.1.4 Sum Array | 1 |
10.1.5 Fibonacci Recursion | 1 |
10.1.6 Factorial | 5 |
10.1.7 Countdown! | 5 |
10.1.8 Recursive Minimum | 5 |
10.1.9 Bacteria Cultures | 5 |
10.2 Recursive Searching | |
10.2.1 Recursive Searching | 1 |
10.2.2 Quiz: Recursive Searching | 5 |
10.2.3 Binary Search | 1 |
10.2.4 Binary Recursive | 1 |
10.2.5 Binary vs Linear | 1 |
10.2.6 Exploring Binary Searches | 5 |
10.2.7 Comparing Binary Search and Linear Search | 5 |
10.2.8 Maximum Iterations | 5 |
10.3 Recursive Sorting | |
10.3.1 Recursive Sorting | 1 |
10.3.2 Quiz: Recursive Sorting | 5 |
10.3.3 Merge Sort | 1 |
10.3.4 Sort Visualizer | 1 |
10.3.5 Explore Merge Sort | 5 |
10.3.6 Merge Sort Benchmark Testing | 5 |
10.3.7 Recursive Calls | 5 |
10.3.8 Sort Benchmark Testing | 5 |
10.4 Recursion Quiz | |
10.4.1 Recursion Quiz | 25 |
Introduction to Programming in Java with Karel the Dog | |
11.1 Introduction to Programming With Karel | |
11.1.1 Introduction to Programming With Karel | 1 |
11.1.2 Quiz: Karel Commands | 5 |
11.1.3 Our First Karel Program | 1 |
11.1.4 Your First Karel Program | 5 |
11.1.5 Short Stack | 5 |
11.2 More Basic Karel | |
11.2.1 More Basic Karel | 1 |
11.2.2 More Basic Karel | 5 |
11.2.3 Tennis Ball Square | 1 |
11.2.4 Make a Tower | 5 |
11.2.5 Pyramid of Karel | 5 |
11.3 Java Programs and the Run Method | |
11.3.1 Writing a Java Program | 1 |
11.3.2 Run Method | 5 |
11.3.3 Square Karel | 1 |
11.3.4 Tower Karel | 5 |
11.3.5 Gold Medal Karel | 5 |
11.3.6 Maze Karel | 5 |
11.4 Karel Can't Turn Right | |
11.4.1 Karel Can't Turn Right | 1 |
11.4.2 Karel Can't Turn Right | 5 |
11.4.3 Tower and Turn Right | 1 |
11.4.4 Slide Karel | 5 |
11.4.5 Fireman Karel | 5 |
11.4.6 Right Turn Karel Badge | 0 |
11.5 Methods in Karel | |
11.5.1 Methods in Karel | 1 |
11.5.2 Methods in Karel | 5 |
11.5.3 Turn Around | 1 |
11.5.4 Planting Bushes | 5 |
11.5.5 Mario Karel | 5 |
11.6 Top Down Design and Decomposition in Karel | |
11.6.1 Top Down Design and Decomposition in Karel | 1 |
11.6.2 Top Down Design and Decomposition | 5 |
11.6.3 Hurdle Karel | 1 |
11.6.4 The Two Towers | 5 |
11.6.5 Planting Flowers | 5 |
11.7 Commenting Your Code | |
11.7.1 Commenting Your Code | 1 |
11.7.2 Commenting Your Code | 5 |
11.7.3 Hurdle Karel (Comments) | 1 |
11.7.4 The Two Towers + Comments | 5 |
11.8 Super Karel | |
11.8.1 Super Karel | 1 |
11.8.2 Super Karel | 5 |
11.8.3 Hurdle Karel (with SuperKarel) | 1 |
11.8.4 The Two Towers + SuperKarel | 5 |
11.8.5 Super Karel Badge | 0 |
11.9 For Loops | |
11.9.1 For Loops | 1 |
11.9.2 For Loops | 5 |
11.9.3 Repeated Move | 1 |
11.9.4 Put Down Tennis Balls | 1 |
11.9.5 Marathon Karel | 5 |
11.9.6 Take 'em All | 5 |
11.9.7 Dizzy Karel | 5 |
11.9.8 For Loop Square | 5 |
11.9.9 Planting Flowers | 5 |
11.9.10 Lots of Hurdles | 5 |
11.10 While Loops in Karel | |
11.10.1 While Loops in Karel | 1 |
11.10.2 While Loops in Karel | 5 |
11.10.3 Move to Wall | 1 |
11.10.4 Follow The Yellow Ball Road | 5 |
11.10.5 Just Keep Spinning | 5 |
11.10.6 Lay Row of Tennis Balls | 5 |
11.10.7 Big Tower | 5 |
11.11 If Statements | |
11.11.1 If Statements | 1 |
11.11.2 If Statements Quiz | 5 |
11.11.3 If Statements | 1 |
11.11.4 Safe Take Ball | 1 |
11.11.5 Is There a Ball? | 5 |
11.12 If/Else Statements | |
11.12.1 If/Else Statements | 1 |
11.12.2 If/Else Statements | 5 |
11.12.3 Flip Karel | 1 |
11.12.4 Fix It Karel | 5 |
11.12.5 Invert | 5 |
11.12.6 Conditional Karel Badge | 0 |
11.13 Control Structures Example | |
11.13.1 Control Structures Example | 1 |
11.13.2 Control Structures Example | 5 |
11.13.3 Cleanup Karel | 1 |
11.13.4 Random Hurdles | 5 |
11.13.5 Fix It Karel | 5 |
11.14 More Karel Examples and Testing | |
11.14.1 More Karel Examples and Testing | 1 |
11.14.2 Move Tennis Ball Stack | 1 |
11.14.3 Climbing Karel | 1 |
11.15 How to Indent Your Code | |
11.15.1 How to Indent Your Code | 1 |
11.15.2 How to Indent Your Code | 5 |
11.15.3 Dance and Clean Karel | 1 |
11.15.4 Diagonal | 5 |
11.15.5 Staircase | 5 |
11.15.6 Karel Exercises Badge | 0 |
11.16 Karel Challenges | |
11.16.1 Fetch | 10 |
11.16.2 Racing Karel | 10 |
11.16.3 Tower Builder | 10 |
11.16.4 Super Cleanup Karel | 10 |
11.16.5 Double Tennis Balls | 10 |
11.16.6 Midpoint Karel | 10 |
11.16.7 Karel Challenges Badge | 0 |
11.17 Karel Quiz | |
11.17.1 Karel Quiz | 25 |
AP Test Practice | |
12.1 AP Practice Test 1 | |
12.1.1 Final AP Review | 25 |
12.1.2 Free Response 1a | 10 |
12.1.3 Free Response 1b | 10 |
12.1.4 Free Response 2a | 10 |
12.1.5 Free Response 2b | 10 |
12.1.6 Free Response 3a | 10 |
12.1.7 Free Response 3b | 5 |
12.1.8 Free Response 4a | 5 |
12.1.9 Free Response 4b | 5 |
12.1.10 AP Practice Test Badge | 0 |
Java Pretest | |
13.1 Java Pretest | |
13.1.1 About the Pretest | 1 |
13.1.2 Mindsets | 0 |
13.1.3 Knowledge & Skills: Java | 0 |
Java Posttest | |
14.1 Java Posttest | |
14.1.1 About the Posttest | 1 |
14.1.2 Mindsets | 0 |
14.1.3 Java Knowledge & Skills | 0 |
Teacher Feedback | |
15.1 Teacher Feedback | |
15.1.1 Feedback Survey | 5 |
Additional Exercises | |
16.1 Unit 3 | |
16.1.1 Lesson 3.2 Air Hockey | 1 |
16.1.2 Lesson 3.2 Constructions | 5 |
16.1.3 Lesson 3.2 Game Bonus | 5 |
16.1.4 Lesson 3.3 Floating Point Error | 1 |
16.1.5 Lesson 3.3 Comparing Doubles | 5 |
16.1.6 Lesson 3.4 Classifying the Rich | 5 |
16.1.7 Lesson 3.4 Mesozoic Age | 5 |
16.1.8 Lesson 3.4 Dinosaurs | 10 |
16.1.9 Lesson 3.5 Salmon Season | 5 |
16.1.10 Lesson 3.6 Used Car | 5 |
16.1.11 Lesson 3.7 Changing Dogs | 1 |
16.1.12 Lesson 3.7 Creating Strings with New | 1 |
16.1.13 Lesson 3.7 Creating Strings with Literals | 1 |
16.2 Unit 4 | |
16.2.1 Lesson 4.1 Find Digits | 5 |
16.2.2 Lesson 4.2 Factorial | 5 |
16.2.3 Lesson 4.2 Five Little Ducks | 5 |
16.2.4 Lesson 4.3 Fix the Sum | 5 |
16.2.5 Lesson 4.5 Values Held in Variables | 1 |
16.2.6 Lesson 4.5 Values Held in Variables | 5 |
16.2.7 Lesson 4.5 Values Held In Variables | 5 |
16.2.8 Lesson 4.5 Variable Trace | 1 |
16.2.9 Lesson 4.5 Variable Trace | 5 |
16.3 Unit 5 | |
16.3.1 Lesson 5.10 Ethical Programmer Agreement | 5 |
16.3.2 Lesson 5.10 Explore a Software Application | 5 |
16.3.3 Lesson 5.10 Career Choice and Computing | 5 |
16.4 Unit 7 | |
16.4.1 The Congo Company - Marketing Analysis | 5 |
16.4.2 The Congo Company - Strategy | 5 |
16.4.3 The Congo Company - Optimization | 5 |
Elevens | |
17.1 Elevens | |
17.1.1 Elevens Activity Guide | 1 |
17.1.2 Activity 1: Design and Create a Card Class | 5 |
17.1.3 Activity 2: Initial Design of a Deck Class | 5 |
17.1.4 Activity 2 Questions | 5 |
17.1.5 Activity 3: Shuffling the Cards in a Deck | 5 |
17.1.6 Activity 3 Questions | 5 |
17.1.7 Activity 4: Adding a Shuffle Method to the Deck | 5 |
17.1.8 Activity 6: Playing Elevens | 5 |
17.1.9 Activity 6 Questions | 5 |
17.1.10 Activity 7: Elevens Board Class Design | 5 |
17.1.11 Activity 7 Questions | 5 |
17.1.12 Activity 8: Using an Abstract Board Class | 5 |
17.1.13 Activity 8 Questions | 5 |
17.1.14 Activity 9: Implementing the Elevens Board | 5 |
17.1.15 Activity 9 Questions | 5 |
Magpie | |
18.1 Magpie Lab | |
18.1.1 Magpie Student Guide | 1 |
18.1.2 Activity 1: Chatbots | 5 |
18.1.3 Activity 2: Introduction to Magpie | 1 |
18.1.4 Activity 2: Modifying Magpie | 5 |
18.1.5 Activity 2: Questions | 5 |
18.1.6 Activity 3: Improving Keyword Detection | 5 |
18.1.7 Activity 4: Responses that Transform Statements | 5 |
Picture Lab | |
19.1 Picture Lab | |
19.1.1 Introduction & Student Guide | 1 |
19.1.2 A1: Digital Pictures and Color | 5 |
19.1.3 A2: Picking a Color | 1 |
19.1.4 A2 Questions: Picking a Color | 5 |
19.1.5 A3: Exploring a Picture | 1 |
19.1.6 A3 Questions: Exploring a Picture | 5 |
19.1.7 A4: Two-Dimensional Arrays in Java | 5 |
19.1.8 A5: Interfaces | 5 |
19.1.9 A5: Modifying a Picture | 5 |
19.1.10 A6: Mirroring a Picture | 5 |
19.1.11 A9: Edge Detection | 5 |
Consumer Review Lab | |
20.1 Introduction | |
20.1.1 Consumer Review Lab Activity Guide | 5 |
20.1.2 Review | 5 |
20.1.3 Review Free Response | 5 |
20.1.4 Check For Understanding | 5 |
20.2 Sentiment Value and Star Ratings | |
20.2.1 Sentiment Value | 5 |
20.2.2 Sentiment Value Free Response | 5 |
20.3 Autogenerated Review | |
20.3.1 Autogenerate Review | 5 |
20.3.2 Autogenerate Review Free Response | 5 |
20.4 Create a Negative or Positive Review | |
20.4.1 Create a Negative or Positive Review | 5 |
20.4.2 Create a Negative or Positive Review | 5 |
20.5 Open Ended Activity! | |
20.5.1 Final Activity | 5 |
20.5.2 Wrap Up | 5 |
Celebrity Lab | |
21.1 Activity 1: Introduction to Celebrity | |
21.1.1 Introduction to Celebrity | 5 |
21.2 Activity 2: The Celebrity Class: A Simple Version | |
21.2.1 Celebrity Class: A Simple Version | 5 |
21.2.2 Celebrity Constructor | 5 |
21.3 Activity 3: Putting it All Together | |
21.3.1 Set up Constructors | 5 |
21.3.2 Setting up the Game | 5 |
21.3.3 Complete Game Play Methods | 5 |
21.3.4 Check Your Understanding | 5 |
21.4 Activity 4: Extending the Celebrity Class | |
21.4.1 Extending the Celebrity Class | 5 |
21.4.2 Literature Celebrity | 5 |
21.4.3 Custom Celebrity | 5 |
21.4.4 Updating CelebrityGame | 5 |
21.4.5 Updating the GUI | 5 |
21.5 Activity 5: Open Ended Activity | |
21.5.1 Open Ended Activity | 5 |
Steganography Lab | |
22.1 Activity 1: Exploring Color | |
22.1.1 Steganography Student Lab | 5 |
22.1.2 Picture Lab A1: Digital Pictures and Color | 5 |
22.1.3 Exploring Color | 5 |
22.1.4 Clearing Bits | 5 |
22.1.5 Clearing Bits Responses | 5 |
22.1.6 Changing Colors | 5 |
22.1.7 Changing Colors Response | 5 |
22.1.8 Setting Bits | 5 |
22.2 Activity 2: Hiding and Revealing a Picture | |
22.2.1 Hiding and Revealing | 5 |
22.2.2 Hiding and Revealing | 5 |
22.3 Activity 3: Identifying a Hidden Picture | |
22.3.1 Identifying a Hidden Picture | 5 |
22.3.2 Identify a Hidden Picture: Check Your Understanding | 5 |
22.4 Activity 4: Hiding and Revealing a Text Message | |
22.4.1 Hiding and Revealing a Text Message Intro | 5 |
22.4.2 Hiding and Revealing a Text Message | 5 |
22.4.3 Hiding and Revealing; Check your Understanding | 5 |
22.5 Activity 5: Open Ended Project | |
22.5.1 Open Ended Project | 5 |
Deprecated Activities 08/25/21 | |
23.1 Deprecated Activities 08/25/21 | |
23.1.1 Welcome Program | 5 |
23.1.2 ASCII Art | 5 |
23.1.3 Heating Up | 5 |
23.1.4 Answering Questions | 5 |
23.1.5 Freely Falling Bodies | 5 |
23.1.6 My Age | 5 |
23.1.7 My Age (User Input) | 5 |
23.1.8 Night Out | 5 |
23.1.9 Casting to an Int | 5 |
23.1.10 Phone Skeleton | 5 |
23.1.11 Student GPA Field | 5 |
23.1.12 Instance Variables for Your Dog | 5 |
23.1.13 Plain Coffee | 5 |
23.1.14 Empty References | 5 |
23.1.15 Loose Change | 5 |
23.1.16 Chat Bot | 5 |
23.1.17 Basketball Players | 5 |
23.1.18 Chat Bot 2.0 | 5 |
23.1.19 Number Games | 5 |
23.1.20 Full Name | 5 |
23.1.21 Speaking | 5 |
23.1.22 toString for Flowers | 5 |
23.1.23 Organizing Files | 5 |
23.1.24 Guess the number! | 5 |
23.1.25 Circle Area | 5 |
23.1.26 Number Order | 5 |
23.1.27 Discounts | 5 |
23.1.28 Cooking | 5 |
23.1.29 Positive or Negative | 5 |
23.1.30 Battleships Move | 5 |
23.1.31 Berries | 5 |
23.1.32 Battleships | 5 |
23.1.33 Find the Minimum | 5 |
23.1.34 Odd Numbers | 5 |
23.1.35 Three Strings | 5 |
23.1.36 Guess the Number | 5 |
23.1.37 Max and Min Values | 5 |
23.1.38 Repeat 100 Times | 5 |
23.1.39 Replace FOR Loop with WHILE Loop | 5 |
23.1.40 Replace Letter | 5 |
23.1.41 Teen Talk | 5 |
23.1.42 Make a Tree | 5 |
23.1.43 Access for Employee Class | 5 |
23.1.44 Dog Class | 5 |
23.1.45 C.Y.O.A. Layout | 5 |
23.1.46 C.Y.O.A. Finishing the story | 5 |
23.1.47 Text Messages Getter Methods | 5 |
23.1.48 A Chef's Best Meal | 5 |
23.1.49 Weekly Routine | 5 |
23.1.50 Distance Conversions | 5 |
23.1.51 How Many Players in the Game? | 5 |
23.1.52 Scope | 5 |
23.1.53 Write Your Own CodeHS | 5 |
23.1.54 Our First Array | 5 |
23.1.55 Last Element in Array | 5 |
23.1.56 Print Array | 5 |
23.1.57 Fibonacci Sequence | 5 |
23.1.58 Classroom Array | 5 |
23.1.59 Find the Last Multiple of 3 | 5 |
23.1.60 Most Improved | 5 |
23.1.61 Car Inventory | 5 |
23.1.62 Get First Element | 5 |
23.1.63 ArrayList of Even Numbers | 5 |
23.1.64 ArrayList Helper Methods | 5 |
23.1.65 User Data Cleanup | 5 |
23.1.66 Fantasy Football Roster | 5 |
23.1.67 Phonebook | 5 |
23.1.68 Manipulating 2D Arrays | 5 |
23.1.69 Sum Rows in a 2D Array | 5 |
23.1.70 Person / Student Object | 5 |
23.1.71 Books | 5 |
23.1.72 Students | 5 |
23.1.73 Foods | 5 |
23.1.74 Electric Cars | 5 |
23.1.75 Squares | 5 |
23.1.76 Bank Accounts | 5 |
23.1.77 Pies | 5 |
23.1.78 Assignments | 5 |
23.1.79 Cars | 5 |
23.1.80 Library Books | 5 |
23.1.81 Equal? | 5 |
23.1.82 Equals? - Part 2 | 5 |
23.1.83 Countdown! | 5 |
23.1.84 Bacteria Cultures | 5 |
23.1.85 Exploring Binary Searches | 5 |
23.1.86 Explore Merge Sort | 5 |
23.1.87 Recursive Calls | 5 |
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