Robot Behaviors and Writing Pseudocode Lesson 3.2
12 minutes ago
robynharrell
Save
Edit
Host a game
Live GameLive
Homework
Solo Practice
Practice
• Question 1
120 seconds
Q.

The following statement is an example of what kind of behavior: "Follow the path through the maze"

Complex behavior

Simple behavior

Basic behavior

• Question 2
120 seconds
Q.

The following statement is an example of what kind of behavior: "startMotor (port2, 127);"

Complex behavior

Simple behavior

Basic behavior

• Question 3
120 seconds
Q.

The following statement is an example of what kind of behavior: "Turn on both motors at full speed"

Complex behavior

Simple beahvior

Basic behavior

• Question 4
120 seconds
Q.

Comments are used to make notes for the human programmers

True

False

• Question 5
120 seconds
Q.

Which is an example of pseudocode?

• Question 6
120 seconds
Q.

What is pseudocode?

Shorthand notation for programming which uses a combination of informal programming structures and verbal descriptions of code.

Set of instructions that control the operation of a computer.

• Question 7
120 seconds
Q. A robot's task is: Move forward at full speed for 10 seconds. Then stop.
The pseudocode is:
1. Start Rmotor full speed
2. Start Lmotor full speed
3. _______________
4. Stop Rmotor
5. Stop Lmotor
What is the missing line of pseudocode?
Start both motors
Wait 10 seconds
Wait 5 seconds
Turn LED on
• Question 8
120 seconds
Q. A robot's task is: When a button is pressed, turn on the left motor at 1/2 speed for 3 seconds. Then stop.
Pseudocode:
1. When button is pressed
2. _________________________
3. Wait 3 seconds
4. Stop Lmotor
What is the missing line of pseudocode?
Start Lmotor at 1/2 speed
Lmotor off
Start Lmotor at full speed
Rmotor on at 1/2 speed
• Question 9
30 seconds
Q. A step-by-step procedure for solving a problem, especially by a computer is
automation
pseudocode
algorithm
mechanism
• Question 10
30 seconds
Q. Shorthand notation for programming that is not part of the computer program