-
Overview: Why we program Karel
the Robot
-
Karel's World: How we visualize
and configure the place Karel occupies
-
Programming Karel: How we tell Karel what to do when he's
on his own in the cold, cruel world
-
Karel's Primitive Commands: The
things that Karel can do without even thinking
-
Karel's Control Statements: Control statements are used to
select the statements to execute
-
The if Statement: Karel sometimes finds himself needing to
do something only in a certain case
-
Conditions Karel Can Detect: A
condition is a function of Karel's current situation,
as he executes his program
-
The iterate
Statement: Useful when it's known exactly how many
times something needs to be done
-
The if/else
Statement: Karel may find he needs to do one thing
or another
-
The define
Statement: Using Karel's shorthand for often needed
tasks
-
The while Statement: Extremely valuable when it's not
known in advance exactly how many times something
needs to be done
Karel the Robot