wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Karel Quizzes 1-5 (Command - Start)

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of these is a valid Karel command?

a)

move;

b)

MOVE

c)

move();

d)

move()

2.

What is a street in a Karel world?

a)

A row

b)

A column

c)

A single point

d)

Karel’s position

3.

What is an avenue in a Karel world?

a)

A row

b)

A column

c)

A single point

d)

Karel’s position

4.

If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will Karel be on after this code runs?


move();

move();

move();

turnLeft();

move();

a)

Street 1 and Avenue 3

b)

Street 4 and Avenue 4

c)

Street 2 and Avenue 6

d)

Street 6 and Avenue 2

5.

If Karel is facing North and the code


turnLeft();

turnLeft();


runs; which direction is Karel facing now?

a)

North

b)

South

c)

East

d)

West

6.

How many times should Karel turn left in order to turn right?

a)

1

b)

2

c)

3

d)

4

7.

What can be used to teach Karel to turn right?

a)

Functions

b)

Variables

c)

Dog treats

d)

Karel can already turn right

8.

Which function will teach Karel how to spin in a circle one time?

a)

function spin() {

turnRight();

}

b)

function spin() {

turnLeft();

turnLeft();

turnLeft();

turnLeft();

}

c)

function spin() {

turnLeft();

turnLeft();

}

d)

function spin() {

move();

move();

move();

move();

}

9.

How many times should the start function be defined in a program?

a)

0

b)

1

c)

2

d)

However may you like

10.

How many times should the start function be called in a program?

a)

0

b)

1

c)

2

d)

However may times you like