Robot While Loop Questions

Robot While Loop Questions

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

Python Intro 1

Python Intro 1

7th - 12th Grade

11 Qs

Fundamentals of Programming

Fundamentals of Programming

8th - 10th Grade

10 Qs

Inputs and Variables

Inputs and Variables

9th - 11th Grade

12 Qs

Python Basics Quiz

Python Basics Quiz

7th Grade - University

10 Qs

Quiz - print() function

Quiz - print() function

9th Grade

10 Qs

Python Basics Quiz for KS3

Python Basics Quiz for KS3

11th Grade - University

9 Qs

Mastering Python String Techniques

Mastering Python String Techniques

9th - 12th Grade

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