Robot While Loop Questions

Robot While Loop Questions

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Coding and Robotics

Coding and Robotics

8th - 12th Grade

12 Qs

POP-BOT X2 REVIEW

POP-BOT X2 REVIEW

11th Grade

10 Qs

Introduction to Python

Introduction to Python

9th Grade

10 Qs

Robotics-A Step To The Future

Robotics-A Step To The Future

5th - 9th Grade

9 Qs

U5L13 - Pseudocode Homework (Conditionals & Loops)

U5L13 - Pseudocode Homework (Conditionals & Loops)

10th - 12th Grade

10 Qs

Robotics

Robotics

9th - 10th Grade

14 Qs

AP Computer Science Principles Unit 3

AP Computer Science Principles Unit 3

10th - 12th Grade

14 Qs

computer quiz

computer quiz

9th Grade - University

10 Qs

Robot While Loop Questions

Robot While Loop Questions

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

David Guy

Used 6+ times

FREE Resource

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

8.

REORDER QUESTION

1 min • 1 pt

Media Image

Reorder the following so that the robot moves to the goal tile given the staring world.

Media Image
Media Image
Media Image
Media Image
Media Image

9.

DRAW QUESTION

3 mins • 1 pt

Correct the errors in the following by scratching out any code that is incorrect and adding corrections.

Media Image