Please enable JavaScript to use CodeHS

Fundamentals of Cybersecurity

Lesson 13.2 Programming with Karel

Description

In this lesson, students learn how Karel the Dog can be given a set of instructions to perform a simple task. Additionally, students learn about functions, and how they can use functions to break down their programs into smaller pieces and make them easier to understand.


Objective

  • Write their first Karel program by typing out all of the Karel commands with proper syntax
  • Explain how giving commands to a computer is like giving commands to a dog
  • Create functions to teach Karel new commands
  • Explain the difference between defining and calling a function