Font size
WorksheetsKarel Review 1.1-1.4
Total questions: 10
Worksheet time: 5mins
Which of the following are Karel commands?
move();
turnLeft();
takeBall();
All of the above
When writing a Karel command:
No spaces in commands
Need to match exact capitalization
Every command ends in ();
Spacing doesn't matter
Punctuation doesn't matter
Every command ends in {}:
One space in command
Capitalize first word only
Every command ends with a "."
Space all commands
No capitalization needed
Every command ends with a ?
In Karels world the lines around the outside are called?
Boundaries
Walls
Field
Lines
Check all boxes below that show which direction Karel can travel.
North
South
East
West
In Karel's world, avenues run in which direction?
East
West
North and South
East and West
In Karel's world, streets run in which direction?
North
South
East and West
North and South
Which is the proper way to command Karel to turn left?
Turn Left () ;
Turnleft ();
turnLeft();
Left();
True or False: A function is a way to teach Karel a new word.
True
False
What is the name of the following function?
function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
turnRight
turnLeft
Function
Right Turn
Why do we use functions when programming Karel?
Functions let us teach Karel new words.
To change the size of Karels world.
Functions allow us to break down our program into smaller parts, and make the program easier to understand.
Both 1 and 3
