Please enable JavaScript to use CodeHS

Texas Computer Science 2

Introduction to Programming in Java with Karel the Dog

Students learn the basics of java commands, control structures, and problem solving by solving puzzles with Karel.

Lessons

3.1 Introduction to Programming With Karel

  • Introduction to Programming With Karel
  • Quiz: Karel Commands
  • Our First Karel Program
  • Your First Karel Program
  • Short Stack

3.2 More Basic Karel

  • More Basic Karel
  • More Basic Karel
  • Tennis Ball Square
  • Make a Tower
  • Pyramid of Karel

3.3 Java Programs and the Run Method

  • Writing a Java Program
  • Run Method
  • Square Karel
  • Tower Karel
  • Gold Medal Karel
  • +1 more

3.4 Karel Can't Turn Right

  • Karel Can't Turn Right
  • Karel Can't Turn Right
  • Tower and Turn Right
  • Slide Karel
  • Fireman Karel
  • +1 more

3.5 Methods in Karel

  • Methods in Karel
  • Methods in Karel
  • Turn Around
  • Planting Bushes
  • Mario Karel

3.6 Top Down Design and Decomposition in Karel

  • Top Down Design and Decomposition in Karel
  • Top Down Design and Decomposition
  • Hurdle Karel
  • The Two Towers
  • Planting Flowers
  • +2 more

3.7 Commenting Your Code

  • Commenting Your Code
  • Commenting Your Code
  • Hurdle Karel (Comments)
  • The Two Towers + Comments

3.8 Super Karel

  • Super Karel
  • Super Karel
  • Hurdle Karel (with SuperKarel)
  • The Two Towers + SuperKarel
  • Super Karel Badge

3.9 For Loops

  • For Loops
  • For Loops
  • Repeated Move
  • Put Down Tennis Balls
  • Marathon Karel
  • +5 more

3.10 While Loops in Karel

  • While Loops in Karel
  • While Loops in Karel
  • Move to Wall
  • Follow The Yellow Ball Road
  • Just Keep Spinning
  • +2 more

3.11 If Statements

  • If Statements
  • If Statements Quiz
  • If Statements
  • Safe Take Ball
  • Is There a Ball?

3.12 If/Else Statements

  • If/Else Statements
  • If/Else Statements
  • Flip Karel
  • Fix It Karel
  • Invert
  • +1 more

3.13 Control Structures Example

  • Control Structures Example and Boundary Conditions
  • Control Structures Example
  • Cleanup Karel
  • Random Hurdles
  • Fix It Karel

3.14 More Karel Examples and Testing

  • More Karel Examples and Testing
  • Move Tennis Ball Stack
  • Climbing Karel

3.15 How to Indent Your Code

  • How to Indent Your Code
  • How to Indent Your Code
  • Dance and Clean Karel
  • Diagonal
  • Staircase
  • +1 more

3.16 Karel Challenges

  • Fetch
  • Racing Karel
  • Tower Builder
  • Super Cleanup Karel
  • Double Tennis Balls
  • +2 more

3.17 Introduction to Programming in Java Quiz

  • Introduction to Programming in Java Quiz Unit 1

Courses that include this module