Please enable JavaScript to use CodeHS

Intro to Programming with Karel the Dog (Español)

Description

Functions are used to teach Karel a word or command. Using functions allow us to break down our program into smaller pieces and make it easier to understand.

Objective

Help students understand what functions are for and how using them improves programs.

Description

Functions are used to teach Karel a word or command. Using functions allow us to break down our program into smaller pieces and make it easier to understand.

Objective

Students will be able to…
* Create their own functions
* Utilize functions to create higher order programs that go beyond the basic toolbox of Karel commands
* Debug programs that use functions incorrectly

Description

All programs start by ?calling? the start function.

Objective

Students gain a deeper understanding of functions. Students can explain the importance of writing readable code, and can analyze and compare the readability of different programs. Students can use the start function to make their programs more readable.

Description

Top down design and Decomposition are the processes of breaking down a program into functions into smaller parts to avoid repeated code and make our program more readable.

Objective

Students will be able to…
* Break a large problem down into smaller pieces
* Write methods to solve each smaller problem
* Solve a complicated problem using Top Down Design
* Identify good and poor decomposition