Search Header Logo

Programming with Karel Quiz

Authored by Joseph Armanious

Computers

10th Grade

Used 1+ times

Programming with Karel Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is a valid Karel command?

move

move;

move()

move()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is the following command an invalid Karel command? turnleft();

It should end in a colon rather than a semicolon

The l should be a capital L

It should start with a capital T

This command is correct

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size)

Street 1, Avenue 2, facing East

Street 2, Avenue 1, facing North

Street 1, Avenue 1, facing West

Street 2, Avenue 2, facing South

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following code: move(); turnLeft(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft(); Where will Karel be and what direction will Karel be facing?

Street 3, Avenue 1, Facing North

Street 1, Avenue 4, Facing North

Street 1, Avenue 3, Facing South

Street 1, Avenue 3, Facing North

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Karel starts at Street 1 and Avenue 1, facing East. After calling the stairStep function twice, where will Karel be and what direction will Karel be facing? (assume this is a SuperKarel program and the world is 10x10 in size)

Street 2, Avenue 2, Facing North

Street 3, Avenue 3, Facing East

Street 3, Avenue 3, Facing West

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What’s wrong with this code?

The go function is called twice

The go function has a syntax error

The go function has been defined twice

go is not a command that Karel understands

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many total times will Karel move in this program?

1

0

2

3

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?