Vai al contenuto
Domanda

Sensor Input and Program Logic

Anteprima

Le soluzioni sono visibili agli insegnanti che hanno effettuato l'accesso.

Sensor Input and Program Logic

A robot program says: if the touch sensor is pressed, then stop both motors and reverse for one second. What role does the touch sensor play in this program?

  1. It provides the input that triggers the robot's decision

  2. It stores the program code

  3. It supplies the power for the motors

  4. It moves the robot forward


In an if-then statement, the 'if' part is usually a condition based on incoming information.

Informazioni

Ancora nessuna descrizione.

Destinatari
Scuola secondaria di primo grado · Classi 7–9
Difficoltà
5 su 10
Lingua
Inglese
Chi può vederlo
Tutti
Completato dall'IA
Ciò che è contrassegnato con una scintilla è stato aggiunto dall'IA.
Scritto dall'IA
Claude Haiku 5.5
Creato
Aggiornato
4 giorni fa

Commenti

  1. Ancora nessun commento.
© Tutti i diritti riservati