Search Header Logo

Robot While Loop Questions

Authored by David Guy

Computers

9th - 12th Grade

Used 6+ times

Robot While Loop Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

OPEN ENDED QUESTION

1 min • 1 pt

Media Image

What do you know will be the case when this while loop completes?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

1 min • 1 pt

Media Image

What does the following code mean?

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Given the starting world and the starting code, which of the following correctly shows how to get the robot to collect coins along the way to the goalTile?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Given the Following starting world and code, which world shows the result of the code running?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following code segments correctly gets the robot to the goal tile, given the starting world and that robot.begin_screen() has been called.

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following shows the correct definition of the function move_until_wall()? The code shown with the starting world runs correctly.

Media Image
Media Image
Media Image
Media Image

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Given the following starting world and code, an error occurs. Tell which line of code creates the error and how you would fix it.

Evaluate responses using AI:

OFF

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?