wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Karel Review 1.1-1.4

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following are Karel commands?

a)

move();

b)

turnLeft();

c)

takeBall();

d)

All of the above

2.

When writing a Karel command:

a)

No spaces in commands

Need to match exact capitalization

Every command ends in ();

b)

Spacing doesn't matter

Punctuation doesn't matter

Every command ends in {}:

c)

One space in command

Capitalize first word only

Every command ends with a "."

d)

Space all commands

No capitalization needed

Every command ends with a ?

3.

In Karels world the lines around the outside are called?

a)

Boundaries

b)

Walls

c)

Field

d)

Lines

4.

Check all boxes below that show which direction Karel can travel.

a)

North

b)

South

c)

East

d)

West

5.

In Karel's world, avenues run in which direction?

a)

East

b)

West

c)

North and South

d)

East and West

6.

In Karel's world, streets run in which direction?

a)

North

b)

South

c)

East and West

d)

North and South

7.

Which is the proper way to command Karel to turn left?

a)

Turn Left () ;

b)

Turnleft ();

c)

turnLeft();

d)

Left();

8.

True or False: A function is a way to teach Karel a new word.

a)

True

b)

False

9.

What is the name of the following function?

function turnRight(){

turnLeft();

turnLeft();

turnLeft();

}

a)

turnRight

b)

turnLeft

c)

Function

d)

Right Turn

10.

Why do we use functions when programming Karel?

a)

Functions let us teach Karel new words.

b)

To change the size of Karels world.

c)

Functions allow us to break down our program into smaller parts, and make the program easier to understand.

d)

Both 1 and 3