Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Module 8 Programming

Total questions: 19

Worksheet time: 24mins

Name
Class
Date
1.

The set command can be used to set either a "___" or "___" output to a different value. (multiple answers)

a)

Digital

b)

Process

c)

Analog

d)

Control

2.

An if-else command cannot be used in a thread.

a)

True

b)

False

3.

A variable that is a sequence of variables or values.

a)

String

b)

Bool

c)

Float

d)

List

4.

Which one of these variables is primarily used (and makes the most logical sense) with a switch command to control the cases?

a)

Boolean (true/false)

b)

Integer (whole numbers)

c)

String (text)

d)

Floating Point (decimal)

5.

Which of the following statements are true about SubProgram? (multiple answers)

a)

A SubProgram can be called from several places in the main program

b)

A SubProgram can be used in multiple programs

c)

A SubProgram can only be called using an if-else command

d)

A SubProgram can contain the same types of commands as the main program

6.

Which of the following is true about the if-else command? (multiple answers)

a)

An if command may have several associated Elseif commands

b)

An if-else command cannot be used in a thread

c)

An if command may have several associated Else commands

d)

An if command does not need to have any associated Else commands

7.

A "___"Program can hold code segements that are needed/reused in several places.

a)

Joint

b)

Split

c)

Sub

d)

Command

8.

The Else command is what happens if none of the statements above it are true.

a)

True

b)

False

9.

When using the Wait command, which of the following can the robot wait for? (multiple answers)

a)

A thread to finish

b)

A SubProgram to finish

c)

A specific amount of time

d)

A digital/analog input

e)

An espression (e.g. a variable equaling a specific value)

10.

To "initialize" a variable you can only use the "Set Initial Variable Values" option under "Robot Program".

a)

True

b)

False

11.

How would you create a variable that accepts and stores input from an operator?

a)

Use the "Assignment" command and change settings to "Operator"

b)

Use the "initalize variables" option

c)

Use the installation variables option

d)

Use a "Thread" command

12.

Which of the following can be used as a condition for an if-else command? (multiple answers)

a)

Digital Input

b)

SubProgram

c)

Thread

d)

Loop

e)

Variable

13.

The Set command is used to create program logic.

a)

True

b)

False

14.

"___" displays a message on the screen when the program reaches this command.

a)

Error

b)

Warning

c)

Popup

d)

Message

15.

Which of the below commands can be used to make a decision to branch to different segments of code in the program based on one or more conditions? (multiple answers)

a)

If-else

b)

Set

c)

Switch

d)

Assignment

e)

Wait

16.

What is the Set command used for? (multiple answers)

a)

Change Digital or Analog Outputs

b)

Create program logic

c)

Change and reset Payload during pick-up and drop-off

d)

Optimize robot trajectory

17.

What variable is a sequence of characters?

a)

Float

b)

Bool

c)

String

d)

Pose

18.

The "Variable" command creates a variable within the Program Tree.

a)

True

b)

False

19.

The "___" command makes the robot pause until a condition is met e.g. a specific amount of time has passed.

a)

Stop

b)

Hold

c)

Wait

d)

Release