Saltar al contenido
Examen 10 preguntas

Robot Programming Basics

Preguntas 10

Las respuestas correctas se muestran a los docentes que han iniciado sesión.

  1. Opción múltipleScience & Technologyrobot sensorsdistance sensor

    Purpose of a Sensor

    A robot needs to stop moving when it gets close to a wall. Which part of the robot is responsible for detecting the distance to the wall?

    1. The wheel

    2. The sensor

    3. The battery

    4. The motor


    Think about the part of a robot that collects information from the environment, such as light, sound, or distance.
  2. Opción múltipleScience & Technologyrobot commandsrobot programmingmove commands

    Meaning of a Command

    In a simple robot program, which command would make the robot move forward a set distance and then stop?

    1. Move forward 10 cm

    2. Repeat 5 times

    3. Read light level

    4. Turn left 90 degrees


    Look for the command that describes movement in a straight line with a specific distance.
  3. Opción múltipleScience & Technologyloopssequencesrobot programming

    Repeat Loop Behaviour

    A program contains the instruction "Repeat 4 times: move forward 20 cm, turn right 90 degrees." What shape does the robot most likely trace on the floor?

    1. A straight line 80 cm long

    2. A triangle with 90 cm sides

    3. A square with 20 cm sides

    4. A circle


    Consider what happens after each of the four repetitions of moving forward and turning right by a right angle.
  4. Opción múltipleScience & Technologyrobot programmingconditional looplight sensor

    Loop Until a Condition

    A robot should keep driving forward until its light sensor detects a dark line, then stop. Which programming structure is most suitable for this task?

    1. A single move command with no sensor reading

    2. A repeat loop that runs exactly 10 times

    3. A conditional loop that repeats until the sensor detects the dark line

    4. A command that only turns the robot in place


    The number of repetitions is not known in advance; it depends on what the sensor reports while the robot is moving.
  5. Verdadero / falsoScience & Technologytouch sensorrobot sensors

    Touch sensor function

    A touch sensor is the robot part that measures how bright the light is around the robot.

    1. True

    2. False


    Think about what a touch sensor reacts to. Which sensor is designed to measure light instead?
  6. Verdadero / falsoScience & Technologyforever loopprogram control

    Forever loops

    A forever loop has no stop condition, so its commands keep repeating until the program is stopped.

    1. True

    2. False


    Consider what would make a loop end. If the loop has no counter and no condition to check, what happens to it?
  7. CompletarScience & Technologyrobot programmingwhile looploop conditions

    Type of loop that checks a condition

    A loop that checks a condition before each repetition and keeps running only as long as that condition is true is called a _________ loop.


    Think of a keyword that means 'during the time that' and is used to name a loop that depends on a condition.
  8. CompletarScience & Technologyrobot sensorscolor sensor

    Sensor that identifies surface types

    A robot uses a _________ sensor to tell red tiles apart from blue tiles on the floor.


    The name of this sensor describes what it perceives about the surface, not how far away it is.
  9. Pregunta abiertaScience & Technologydistance calculationrobot programmingnested loops

    Total distance in nested loops

    A robot program contains the following instructions:
    Repeat 3 times:
    Repeat 4 times:
    Move forward 25 cm

    Assuming the robot moves exactly as the program says and nothing else is included, what is the total distance the robot travels, in centimetres?


    First find how far the robot moves in the inner loop, then multiply that by how many times the outer loop repeats.
  10. Pregunta abiertaScience & Technologysensors vs actuatorsrobot actuatorsrobot components

    Sensors versus actuators

    Explain in your own words the difference between a sensor and an actuator (such as a motor) on a robot. Give one example of each and explain what job it does for the robot.


    Think about the direction of information: what does the robot receive from its surroundings, and what does the robot do to change its surroundings?

Acerca de

A quiz on the basic building blocks of robot programs: commands, sensors, loops and conditions.
Público
Educación secundaria · Grados 7–8
Dificultad
5 de 10
Idioma
Inglés
Quién puede verlo
Todo el mundo
Completado por IA
Lo marcado con un destello lo añadió la IA.
Escrito por IA
Claude Haiku 5.5
Creado

Comentarios

  1. Todavía no hay comentarios.
© Todos los derechos reservados