Please enable JavaScript to use CodeHS

K12 Introduction to Java Semester A - Outline

  1. Introduction to Programming in Java with Karel the Dog

    1. 1.1 Introduction to Programming With Karel

    2. Video 1.1.1 Introduction to Programming With Karel
    3. Quiz 1.1.2 Karel Commands
    4. Example 1.1.3 Our First Karel Program
    5. Exercise 1.1.4 Your First Karel Program
    6. Exercise 1.1.5 Short Stack
    7. 1.2 More Basic Karel

    8. Video 1.2.1 More Basic Karel
    9. Quiz 1.2.2 More Basic Karel
    10. Example 1.2.3 Tennis Ball Square
    11. Exercise 1.2.4 Make a Tower
    12. Exercise 1.2.5 Pyramid of Karel
    13. 1.3 Java Programs and the Run Method

    14. Video 1.3.1 Writing a Java Program
    15. Quiz 1.3.2 Run Method
    16. Example 1.3.3 Square Karel
    17. Exercise 1.3.4 Tower Karel
    18. Exercise 1.3.5 Gold Medal Karel
    19. Exercise 1.3.6 Maze Karel
    20. 1.4 Karel Can't Turn Right

    21. Video 1.4.1 Karel Can't Turn Right
    22. Quiz 1.4.2 Karel Can't Turn Right
    23. Example 1.4.3 Tower and Turn Right
    24. Exercise 1.4.4 Slide Karel
    25. Exercise 1.4.5 Fireman Karel
    26. 1.5 Methods in Karel

    27. Video 1.5.1 Methods in Karel
    28. Quiz 1.5.2 Methods in Karel
    29. Example 1.5.3 Turn Around
    30. Exercise 1.5.4 Pancakes
    31. Exercise 1.5.5 Mario Karel
    32. 1.6 Top Down Design and Decomposition in Karel

    33. Video 1.6.1 Top Down Design and Decomposition in Karel
    34. Quiz 1.6.2 Top Down Design and Decomposition
    35. Example 1.6.3 Hurdle Karel
    36. Exercise 1.6.4 The Two Towers
    37. 1.7 Commenting Your Code

    38. Video 1.7.1 Commenting Your Code
    39. Quiz 1.7.2 Commenting Your Code
    40. Example 1.7.3 Hurdle Karel (Comments)
    41. Exercise 1.7.4 The Two Towers + Comments
    42. 1.8 Super Karel

    43. Video 1.8.1 Super Karel
    44. Quiz 1.8.2 Super Karel
    45. Example 1.8.3 Hurdle Karel (with SuperKarel)
    46. Exercise 1.8.4 The Two Towers + SuperKarel
    47. 1.9 For Loops

    48. Video 1.9.1 For Loops
    49. Quiz 1.9.2 For Loops
    50. Example 1.9.3 Repeated Move
    51. Example 1.9.4 Put Down Tennis Balls
    52. Exercise 1.9.5 Marathon Karel
    53. Exercise 1.9.6 Take 'em All
    54. Exercise 1.9.7 Dizzy Karel
    55. Exercise 1.9.8 For Loop Square
    56. Exercise 1.9.9 Lots of Hurdles
    57. 1.10 While Loops in Karel

    58. Video 1.10.1 While Loops in Karel
    59. Quiz 1.10.2 While Loops in Karel
    60. Example 1.10.3 Move to Wall
    61. Exercise 1.10.4 Follow The Yellow Ball Road
    62. Exercise 1.10.5 Just Keep Spinning
    63. Exercise 1.10.6 Lay Row of Tennis Balls
    64. Exercise 1.10.7 Big Tower
    65. 1.11 If Statements

    66. Video 1.11.1 If Statements
    67. Quiz 1.11.2 If Statements Quiz
    68. Example 1.11.3 If Statements
    69. Example 1.11.4 Safe Take Ball
    70. Exercise 1.11.5 Is There a Ball?
    71. 1.12 If/Else Statements

    72. Video 1.12.1 If/Else Statements
    73. Quiz 1.12.2 If/Else Statements
    74. Example 1.12.3 Flip Karel
    75. Exercise 1.12.4 Right Side Up
    76. 1.13 Control Structures Example

    77. Video 1.13.1 Control Structures Example
    78. Quiz 1.13.2 Control Structures Example
    79. Example 1.13.3 Cleanup Karel
    80. Exercise 1.13.4 Random Hurdles
    81. 1.14 More Karel Examples and Testing

    82. Video 1.14.1 More Karel Examples and Testing
    83. Example 1.14.2 Move Tennis Ball Stack
    84. Example 1.14.3 Climbing Karel
    85. 1.15 How to Indent Your Code

    86. Video 1.15.1 How to Indent Your Code
    87. Quiz 1.15.2 How to Indent Your Code
    88. Example 1.15.3 Dance and Clean Karel
    89. Exercise 1.15.4 Diagonal
    90. Exercise 1.15.5 Staircase
    91. Badge 1.15.6 Karel Exercises Badge
    92. 1.16 Karel Challenges

    93. Challenge 1.16.1 Fetch
    94. Challenge 1.16.2 Racing Karel
    95. Challenge 1.16.3 Tower Builder
    96. Challenge 1.16.4 Super Cleanup Karel
    97. Challenge 1.16.5 Double Tennis Balls
    98. Challenge 1.16.6 Midpoint Karel
    99. Badge 1.16.7 Karel Challenges Badge
    100. 1.17 Unit 1 Quiz

    101. Quiz 1.17.1 Intro Java Unit 1
  2. Basic Java

    1. 2.1 Printing in Java

    2. Video 2.1.1 Printing in Java
    3. Quiz 2.1.2 Printing in Java
    4. Example 2.1.3 Hello world
    5. Example 2.1.4 Printing Multiple Lines
    6. Exercise 2.1.5 Welcome Program
    7. Exercise 2.1.6 ASCII Art
    8. 2.2 Variables and Types

    9. Video 2.2.1 Variables and Types
    10. Quiz 2.2.2 Variables and Types
    11. Example 2.2.3 Variables
    12. Exercise 2.2.4 Our First Integer
    13. Exercise 2.2.5 Answering Questions
    14. 2.3 User Input

    15. Video 2.3.1 User Input
    16. Quiz 2.3.2 User Input
    17. Example 2.3.3 UserInput
    18. Exercise 2.3.4 About You
    19. Exercise 2.3.5 Poetry
    20. 2.4 Arithmetic Expressions

    21. Video 2.4.1 Arithmetic Expressions
    22. Quiz 2.4.2 Arithmetic Expressions
    23. Example 2.4.3 Calculator
    24. Example 2.4.4 Tricky Java
    25. Exercise 2.4.5 Area of a Rectangle
    26. Exercise 2.4.6 Add Fractions
    27. 2.5 Casting

    28. Video 2.5.1 Casting
    29. Quiz 2.5.2 Casting
    30. Example 2.5.3 Casting
    31. Exercise 2.5.4 Casting to an Int
    32. Exercise 2.5.5 Casting to a Double
    33. Example 2.5.6 Casting Order of Operations
    34. Example 2.5.7 Rounding using Casting
    35. Exercise 2.5.8 Movie Ratings
    36. 2.6 Booleans

    37. Video 2.6.1 Booleans
    38. Quiz 2.6.2 Booleans
    39. Example 2.6.3 Boolean Example
    40. Exercise 2.6.4 Ice Cream
    41. 2.7 Logical Operators

    42. Video 2.7.1 Logical Operators
    43. Quiz 2.7.2 Logical Operators
    44. Example 2.7.3 Light Switch
    45. Exercise 2.7.4 Roller Coaster
    46. 2.8 Comparison Operators

    47. Video 2.8.1 Comparison Operators
    48. Quiz 2.8.2 Comparison Operators
    49. Example 2.8.3 Grade Range
    50. Exercise 2.8.4 Triple Double
    51. 2.9 For Loops

    52. Video 2.9.1 For Loops
    53. Quiz 2.9.2 For Loops
    54. Example 2.9.3 The For Loop
    55. Exercise 2.9.4 Repeat 1000 Times
    56. Video 2.9.5 General For Loop
    57. Example 2.9.6 Countdown
    58. Example 2.9.7 Count By Twos
    59. Exercise 2.9.8 Print The Odds
    60. Video 2.9.9 For Loop Examples
    61. Example 2.9.10 For Loop Sum
    62. Exercise 2.9.11 Factorial
    63. 2.10 While Loops

    64. Video 2.10.1 While Loops
    65. Quiz 2.10.2 While Loops
    66. Example 2.10.3 While Loop Countdown
    67. Exercise 2.10.4 Even Numbers - While Loop
    68. 2.11 If Statements

    69. Video 2.11.1 If Statements
    70. Quiz 2.11.2 If Statements
    71. Example 2.11.3 Negative Numbers
    72. Example 2.11.4 Even and Odd
    73. Exercise 2.11.5 Find the Minimum
    74. 2.12 Loop-and-a-Half

    75. Video 2.12.1 Loop-and-a-Half
    76. Quiz 2.12.2 Loop-and-a-Half Quiz
    77. Example 2.12.3 Running Average
    78. Exercise 2.12.4 Guess the Number
    79. 2.13 Short-Circuit Evaluation

    80. Video 2.13.1 Short-Circuit Evaluation
    81. Quiz 2.13.2 Short-Circuit Evaluation Quiz
    82. Example 2.13.3 Pizza Slices
    83. Exercise 2.13.4 Divisibility
    84. 2.14 De Morgan's Laws

    85. Video 2.14.1 De Morgan's Laws
    86. Quiz 2.14.2 De Morgan's Laws Quiz
    87. Example 2.14.3 De Morgan AND
    88. Example 2.14.4 De Morgan OR
    89. Exercise 2.14.5 Amusement Park
    90. 2.15 Strings

    91. Video 2.15.1 Strings
    92. Quiz 2.15.2 Strings
    93. Example 2.15.3 Comparing Strings
    94. Exercise 2.15.4 Three Strings
    95. Badge 2.15.5 Basic Java Exercises Badge
    96. 2.16 Unit 2 Quiz

    97. Quiz 2.16.1 Intro Java Unit 2
  3. Methods

    1. 3.1 Java Methods

    2. Video 3.1.1 Java Methods
    3. Quiz 3.1.2 Java Methods
    4. Example 3.1.3 Print Line Break
    5. Exercise 3.1.4 Print Java
    6. 3.2 Methods and Parameters

    7. Video 3.2.1 Methods and Parameters
    8. Quiz 3.2.2 Methods and Parameters
    9. Example 3.2.3 Line Breaks with Parameters
    10. Example 3.2.4 Sum
    11. Exercise 3.2.5 Multiply
    12. Exercise 3.2.6 Add10
    13. Exercise 3.2.7 Countdown From
    14. Exercise 3.2.8 Echo
    15. 3.3 Methods and Return Values

    16. Video 3.3.1 Methods and Return Values
    17. Quiz 3.3.2 Return Value
    18. Example 3.3.3 Methods and Return Values
    19. Practice 3.3.4 Double Number
    20. Practice 3.3.5 Square
    21. Practice 3.3.6 Average
    22. 3.4 Javadocs and More Methods

    23. Video 3.4.1 Javadocs
    24. Quiz 3.4.2 Javadocs
    25. Example 3.4.3 Javadoc Sum
    26. Practice 3.4.4 Is in Range
    27. Practice 3.4.5 Sum Range
    28. Practice 3.4.6 Is Divisible
    29. Practice 3.4.7 Fahrenheit to Celsius
    30. 3.5 Strings Methods

    31. Video 3.5.1 String Methods
    32. Example 3.5.2 Looping Over a String
    33. Practice 3.5.3 Yelling
    34. Practice 3.5.4 Porky Pig
    35. Practice 3.5.5 Triple String
    36. Practice 3.5.6 Full Name
    37. Practice 3.5.7 First and Last
    38. Practice 3.5.8 Repeating String
    39. 3.6 Strings and Characters

    40. Video 3.6.1 Strings and Characters
    41. Example 3.6.2 Chars are Numbers
    42. Example 3.6.3 Escape Sequences
    43. Example 3.6.4 Character Methods
    44. Practice 3.6.5 Is it an Integer?
    45. 3.7 Exceptions

    46. Video 3.7.1 Exceptions
    47. Quiz 3.7.2 Exceptions Quiz
    48. Example 3.7.3 Arithmetic Exception
    49. Example 3.7.4 Index Out Of Bounds Exception
    50. Exercise 3.7.5 Bug Hunter
    51. 3.8 String Processing

    52. Video 3.8.1 String Processing
    53. Example 3.8.2 Finding Palindromes
    54. Example 3.8.3 String Concatenation
    55. Practice 3.8.4 Fix the Sum String
    56. Practice 3.8.5 Convert To Uppercase
    57. Practice 3.8.6 Double Vowels
    58. Practice 3.8.7 All Same Letter
    59. Practice 3.8.8 AltCase
    60. Practice 3.8.9 Do the Brackets Match?
    61. Practice 3.8.10 Teen Talk
    62. Practice 3.8.11 Password Checker
    63. Practice 3.8.12 Replace Letter
    64. Badge 3.8.13 Methods Exercises Badge
    65. 3.9 Unit Quiz

    66. Quiz 3.9.1 Intro Java Unit 2
  4. Final Project

    1. 4.1 Final Project

    2. Free Response 4.1.1 Brainstorm
    3. Free Response 4.1.2 Milestones
    4. Exercise 4.1.3 Final Project
    5. Badge 4.1.4 Final Project Badge
  5. Java Outside of CodeHS

    1. 5.1 Java Outside of CodeHS

    2. Video 5.1.1 Java Outside of CodeHS
    3. Video 5.1.2 Hello World in Eclipse
    4. Video 5.1.3 Hello World in BlueJ
    5. Video 5.1.4 Hello World in Terminal
    6. Video 5.1.5 Java main vs run
    7. Video 5.1.6 Using the main Method in Eclipse
    8. Video 5.1.7 Using the main Method in BlueJ
    9. Video 5.1.8 Using the main Method in the Terminal
    10. Example 5.1.9 Hello World with main Method
    11. Video 5.1.10 Getting User Input
    12. Example 5.1.11 Using Scanner for Input
  6. Computer Ethics

    1. 6.1 Computer Ethics

    2. Resource 6.1.1 Student Honor Code
    3. Resource 6.1.2 Computing Ethics
    4. Free Response 6.1.3 Self Driving Cars