Please enable JavaScript to use CodeHS

AP Computer Science A (Cortado)

Introduction to Programming in Java with Karel the Dog

Intro to Java with Karel the Dog. Learn the basics of java commands, control structures, and problem solving by solving puzzles with Karel. This is recommended as Summer Work for students entering AP CS A, or for students who are taking AP CS A as their first programming class.

Lessons

26.1 Introduction to Programming With Karel

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

26.2 More Basic Karel

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

26.3 Java Programs and the Run Method

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

26.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

26.5 Methods in Karel

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

26.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

26.7 Commenting Your Code

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

26.8 Super Karel

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

26.9 For Loops

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

26.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

26.11 If Statements

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

26.12 If/Else Statements

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

26.13 Control Structures Example

  • Control Structures Example
  • Control Structures Example
  • Cleanup Karel
  • Random Hurdles
  • Fix It Karel

26.14 More Karel Examples and Testing

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

26.15 How to Indent Your Code

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

26.16 Karel Challenges

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

Courses that include this module