WorksheetsW5-8
Total questions: 10
Worksheet time: 5mins
What does the number mean when I establish a LED?
int led1 = 8;
I'll be 8 times brighter
It's connected to 8 volts
Receives the analog signal from PIN 8
Receives the digital signal from PIN 8
If I'm using a Push button... Where do I connect a RESISTOR?
To power (5V +)
To ground (GND -)
To a digital pin
To an analog pin
Which of these potentiometers is connected correctly?
Which of these leds is connected correctly?
Which of these buttons is connected correctly?
What would be the result for the following condition if n=23 and m=42
if (n>=20 && m<=22) {
Serial.println("all right!");
} else {
Serial.println("ok");
}
blue led is on
"ok"
"all right!"
What would be the result for the following condition if n=4 and m=6
if (n>2 && m<8) {
Serial.println("all right!");
} else {
Serial.println("ok");
}
blue led is on
"ok"
"all right!"
What would be the result for the following condition if n=6 and m=12
if (n==8 | | m==12) {
Serial.println("all right!");
} else {
Serial.println("ok");
}
blue led is on
"ok"
"all right!"
Characteristics of a BUZZER
digital, input
digital, output
analog, input
analog, output
Characteristics of a POTENTIOMETER
digital, input
digital, output
analog, input
analog, output
