Karel the Dog: The Basics

Karel the Dog: The Basics

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

3 questions

Show all answers

1.

FLASHCARD QUESTION

Front

If Karel is facing a wall, which command should be used to change its direction to the right?

Back

`turnLeft(); turnLeft(); turnLeft();`

2.

FLASHCARD QUESTION

Front

Consider the following scenario: Karel needs to pick up a beeper, move forward, and then place the beeper down. Which sequence of commands will achieve this? Options: `pickBeeper(); move(); putBeeper();`, `move(); pickBeeper(); putBeeper();`, `putBeeper(); move(); pickBeeper();`, `move(); putBeeper(); pickBeeper();`

Back

`pickBeeper(); move(); putBeeper();`

3.

FLASHCARD QUESTION

Front

Karel starts facing East in the first row, third column. What row and column will Karel be on after the following code runs? move(); move(); move(); turnLeft(); move();

Back

Row 2 and Column 6

Discover more resources for Computers