Search Header Logo

Programming with Karel Review

Authored by Tara Romero

Information Technology (IT)

8th Grade

Used 5+ times

Programming with Karel Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the mystery function do above?

Karel puts a ball down until the end of the street

Karel places a ball whether there is a ball present or not to the end of the Street

Karel checks if there is a ball on the spot and if there is, places a ball to the end of the Street

Karel checks if there is a ball on the spot and if not, places a ball

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid condition to go in a while loop for Karel?

facingNorth()

frontIsBlocked()

turnAround()

noBallsPresent()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Say Karel is on a location with three tennis balls. After the code above runs, how many tennis balls will there be at that location?

2

3

6

8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What condition should be used in this while loop to get Karel to move until there is a wall in the way?

noBallsPresent();

ballsPresent();

frontIsClear();

turnLeft();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which lines should be indented in the code above?

3,4,5,6

3,4,5,6,11

3,4,5,6,8

3,4,5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one way to create an abstraction in Karel coding?

Use a while loop

Use a for loop

Create a function

Use an if statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Say you want to write a program that has Karel run to the other side of first street, jumping over all of the hurdles. Karel should only jump if there is a hurdle blocking the way. However, the hurdles can be in random locations. The world is fourteen avenues long. What is the best control structure to use?

If statement

While loop

Nested while loop

For loop

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?