Font size
WorksheetsCODING QUIZZ
Total questions: 13
Worksheet time: 7mins
In which function do we indicate the initial instructions and if the components are INPUTS or OUTPUTS?
Variables section
void setup() function
void loop (function)
Comments
The following piece of code tells me that...
I have introduced a 2 in the variable led
I have connected the LED component in the analog pin 2
I have connected the LED component in the digital pin 2
None is correct
The buzzer component is... (INPUT or OUTPUT)?
(a)
In this project we have built a...
Digital flute
Traffic light
Solar alarm
Digital piano
This piece of code...
Moves a servo 90º
Turn on a LED 90º
indicates that the servo is in the digital pin 90
None is correct
The LDR (Light) Sensor is connected to...
A digital pin, Analog pin, and 5V
A digital pin, GND and 5V
An analog pin,GND and 5V
None is correct
delay(2000) means...
wait 2000 seconds
wait 2 seconds
wait 2000 years
turn on the Arduino 2000 seconds
The following piece of code...
Configures the LED as digital output
The syntax is not correct
Turn off a LED
Turn on a LED
The following piece of code...
Declare the servo at the digital pin 9
Move the servo 9 degrees
Change the name of the ServoMotor to Servo
Include the library of the servo into my project
Where I connect the Servo and the LDR (light sensor) in my arduino board?
The servo to an analog pin and the LDR to the digital pin
The servo to a digital pin and the LDR to the analog pin
Both to digital pins
Both to analog pins
The following piece of code...
Saves decimal random valuen in the POTENCIOMETRO
Saves in the variable POTENCIOMENTRO the values of the potentiometer
Transform the values of the potentiometer to the servo values
To show a message in the lcd screen we use the following command
lcd.clear()
LiquidCrystal lcd(0)
lcd.print()
#include <LiquidCrystal.h>
The buzzer is going to sound if...
The distance detected by the ultrasonic sensor is equal 10cm
The distance detected by the ultrasonic sensor is 9 cm
The distance detected by the ultrasonic sensor is 11cm
None is correct
