U5L13 - Pseudocode Homework (Conditionals & Loops)

U5L13 - Pseudocode Homework (Conditionals & Loops)

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Hour of Code

Hour of Code

2nd - 12th Grade

10 Qs

Know thy Peer-to-Peer

Know thy Peer-to-Peer

12th Grade

10 Qs

My Sql

My Sql

12th Grade

10 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

U5L13 - Pseudocode Homework (Conditionals & Loops)

U5L13 - Pseudocode Homework (Conditionals & Loops)

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Created by

Jessica Fletcher

Used 46+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider a robot who would like to move in an “L” shape. Which of the following code segments will allow the robot to move in an L shape, assuming the path is clear?

MOVE_FORWARD()

MOVE_FORWARD()

ROTATE_LEFT()

ROTATE_LEFT()

ROTATE_LEFT()

MOVE_FORWARD()

MOVE_FORWARD()

ROTATE_RIGHT()

MOVE_FORWARD()

MOVE_FORWARD()

MOVE_FORWARD()

MOVE_FORWARD()

ROTATE_LEFT()

ROTATE_LEFT()

MOVE_FORWARD()

MOVE_FORWARD()

MOVE_FORWARD()

ROTATE_LEFT()

ROTATE_LEFT()

MOVE_FORWARD()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the code segment.

For the initial situation above, what will be the final position and direction of the robot after the code is executed?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the code segment.

For the initial situation above, what will be the final position and direction of the robot after the code is executed?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code above does not run as intended for the robot in the initial scenario given. Which reason below explains the error?

The initial condition is not met, so the code in the REPEAT UNTIL loop is not executed.

The robot backs up, then does not move.

The program terminates when the robot attempts to move off the grid.

There is an infinite loop.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For the initial scenario above, what will be the final position and direction of the robot after the code is executed?

Media Image
Media Image

The program terminates when the robot attempts to move off the grid.

There is an infinite loop.

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Consider the code segment here.

Which of the following are possible outcomes of the code? SELECT TWO ANSWERS.

The robot will move forward.

The robot will return to its original position.

The robot will be in a position in which it can move forward.

The robot will get stuck in an infinite loop.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the final location and direction of the robot after the code segment is run?

Media Image
Media Image
Media Image
Media Image

Create a free account and access millions of resources

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?