Intro to Karel
Karel
Super Karel
Functions
Top Down Design
100

A dog who listens to your commands

Who is Karel

100

The command to have Karel put a ball down.

What is putBall()?

100

The two additional commands for SuperKarel

What are turnRight and turnAround

100

These are used to teach Karel new commands.

What are functions.

100

A way of designing a program by starting with the biggest problem and breaking it down into smaller tasks.

What is Top Down Design?

200

An instruction you can give to Karel.

What is a command?

200

The horizontal pathways in Karel's World.

What are streets?

200

{ } are called

What are curly braces?

200

A way to explain what your code is doing.

What are comments?

300

A grid that Karel lives in

What is a world?

300

The vertical pathways in Karel's World.

What are Avenues?

300

One of these functions is named correctly:

StopAtWall() and buildTower()

What is buildTower

300

// is used for this type of comment.

What is single line comment?

400

A naming convention where the first word is lowercase and the first letter of each subsequent word begins with an uppercase letter

What is camelCase?

400

Karel turns left 3 times to execute this command.

What is turnRight.

400

This function should only be called one time.

What is the main function?

400

Defines what is true in Karel's world before a command/function is called.

What is PreCondition

500

The reason the code does not run

Karel doesn't know turnRight();

500

Karel is facing this direction after 3 turnLeft() commands when initially facing North.

What is East?

500

The part of the function that contains the commands

What is the function body?

500
Defines what is true about Karel's world after a command/function is called

What is a postcondition

M
e
n
u