wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Robotics I Unit 4 Test Review

Total questions: 15

Worksheet time: 10mins

Name
Class
Date
1.

What is an "if-then" block used for?

a)

To repeat sections of the program flow.

b)

To direct the program flow under certain conditions

c)

To ensure that every line of the code runs

d)

All of the above

2.

An "if-then" condition that is not inside a loop is checked how many times?

a)

0

b)

1

c)

as many times as it needs to

d)

it depends on the program

3.

There is nothing in front of the robot when the program starts. What will the robot do.

a)

Turn right

b)

Go forward

c)

Do nothing

d)

Wait for you to press the TouchLED

4.

The robot will only run the Else branch if...

a)

the condition is true

b)

the condition is false

c)

the condition is neither true nor false

d)

none of the above

5.

What happens when you place a loop around an “if-then-else” block?

a)

The robot makes a decision and then repeats it as many times as the loops says.

b)

The robot makes a new decision each time the loop runs.

c)

You cannot put a loop around an "if-then-else" block.

d)

The robot defaults to "else."

6.

What is a nested decision?

a)

An "if-then-else" in a loop

b)

An "if-then-else" in an "if-then-else"

c)

A loop in an "if-then-else"

d)

A loop in a loop

7.

What are nested loops used for?

a)

Making one-time decisions

b)

Making multiple decisions

c)

Repeating a decisions

d)

Running two sequences at once

8.

What will the robot do if it sees blue?

a)

The TouchLED will turn yellow

b)

The robot will drive in reverse

c)

The robot will turn left

d)

All of the above

9.

How do repeated decisions allow the robot to watch both sensors at once?

a)

The program resets and restarts at the beginning every time the readings of any sensor changes

b)

The robot calculates the path with both sensors at first and runs algorithms for the best way to run the course

c)

The robot activates a specific sensor at certain times throughout the course

d)

Every operation is fast, and does not block other blocks from running

10.

In your own words, what is a threshold value?

4 lines
11.

During line tracking, if the robot sees black, what do you know about its position?

a)

It is above the line.

b)

It is to the right of the line.

c)

It is to the left of the line.

d)

It is off the line.

12.

Which basic program pattern is being used in this Line Tracking behavior?

a)

Sequential Programming

b)

Discrete Decisions

c)

Continuous Decisions

d)

My Blocks

13.

It is better to think about Obstacle Detection as _________ rather than one big behavior.

a)

One big decision

b)

Many small decisions

c)

A forever loop

d)

Multitasking

14.

Why won't this program stop when an object is placed in front of it?

a)

The movement block has control of program flow, preventing the sensor to be checked at the right time

b)

The distance sensor cannot detect at that distance

c)

All of the above

d)

The “wait until” block should be placed above the movement block, then it will be able to detect obstacles

15.

True or False: When line tracking, the robot will bobble its way down the line as it bounces back and forth on and off the line, detecting its edge.

a)

True

b)

False