Quizzes – Age Group 12 – 15 (7 questions)

1 / 7

Question:

“The following commands are used to make Leanbot perform a sequence of actions. Select all the correct outcomes:

Leanbot.begin();  

LbGripper.close();  

LbMotion.runLR(-400, -400);  

LbMotion.stopAndWait();  

LbMission.end();

2 / 7

Question:

“Which of the following best describes the Internet of Things (IoT)?”

3 / 7

Question:

Match the following Leanbot actions with the corresponding commands:

Description: Leanbot uses commands to perform actions. Actions like picking up objects and controlling movement are executed by specific commands.

Commands:

  • LbGripper.open();
  • LbGripper.close();
  • LbMotion.runLR(+400, -400); LbMotion.waitRotationDeg(90); 
  • LbMotion.runLR(-400, -400);
  • LbMotion.stopAndWait();

Actions:

  • Open the grippers
  • Close the grippers.
  • Turn right.
  • Move backward.
  • Stop.
LbMotion.runLR(+400, -400); LbMotion.waitRotationDeg(90);
LbMotion.stopAndWait();
LbGripper.open();
LbMotion.runLR(-400, -400);
LbGripper.close();

4 / 7

Question:

“Robots can be programmed to perform repetitive tasks more efficiently than humans.”

5 / 7

Question:

“Which of the following is a key principle of ethical AI?”

6 / 7

Question:

“The following code is written to make Leanbot pick up an object, rotate left, and stop. However, there is a bug in the sequence. Identify and fix the bug:

Leanbot.begin();  

LbGripper.close();  

LbMotion.runLR(+400, +400);  

LbMotion.stopAndWait();  

LbMission.end();

(LbMotion.runLR(vL, vR) specifies the speed of the left (vL) and right (vR) wheels.

  • Positive (+): Robot moves forward.
  • Negative (-): Robot moves backward.)

What change(s) are needed to make the program work as intended?”

7 / 7

Question:

Complete the command sequence to make Leanbot rotate right and stop:

Leanbot.begin();  

;  

LbMotion.waitRotationDeg(90);

LbMotion.stopAndWait();  

LbMission.end();

Description:
Leanbot uses commands like LbMotion.runLR(vL,vR) to control movement, where vL and vR are speeds for the left and right wheels. 

  • Positive (+): Moves forward.
  • Negative (-): Moves backward.

Choose 1 of 4 content sections in the Word List to fill in the blanks (type by hand or copy).

Word List:

  • LbMotion.runLR(+400, +400)
  • LbMotion.runLR(+400, -400)
  • LbMotion.runLR(-400, +400)
  • LbMotion.stopAndWait()
0%