A dog who listens to your commands
Who is Karel
The command to have Karel put a ball down.
What is putBall()?
The two additional commands for SuperKarel
What are turnRight and turnAround
These are used to teach Karel new commands.
What are functions.
A way of designing a program by starting with the biggest problem and breaking it down into smaller tasks.
What is Top Down Design?
An instruction you can give to Karel.
What is a command?
The horizontal pathways in Karel's World.
What are streets?
{ } are called
What are curly braces?
A way to explain what your code is doing.
What are comments?
A grid that Karel lives in
What is a world?
The vertical pathways in Karel's World.
What are Avenues?
One of these functions is named correctly:
StopAtWall() and buildTower()
What is buildTower
// is used for this type of comment.
What is single line comment?
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?
Karel turns left 3 times to execute this command.
What is turnRight.
This function should only be called one time.
What is the main function?
Defines what is true in Karel's world before a command/function is called.
What is PreCondition
The reason the code does not run
Karel doesn't know turnRight();
Karel is facing this direction after 3 turnLeft() commands when initially facing North.
What is East?
The part of the function that contains the commands
What is the function body?
What is a postcondition