
Arduino Functions and Circuits Quiz
Authored by Aigerim Zholochieva
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the pinMode() function in Arduino?
To set a pin as input or output
To initialize the LED
To connect the LED to the ground
To send a signal to the LED
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the digitalWrite() function do?
It reads the status of the LED
It sets the voltage level of the specified pin to HIGH or LOW
It turns off the Arduino board
It loops the code until the LED is on
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How long will the red light stay on in the traffic light program?
5 seconds
10 seconds
2 seconds
3 seconds
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using a resistor with the LEDs in the circuit?
To increase the voltage to the LED
To limit the current going to the LED and prevent damage
To make the LED brighter
To help the Arduino recognize the LED
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you make an LED blink in the program?
Use the delay() function inside a loop
Use the pinMode() function
Use the analogWrite() function
Connect the LED to a switch
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would happen if you did not use the resistors in the circuit with the LEDs?
The LEDs would blink faster.
The LEDs might burn out because too much current would flow through them.
The LEDs would be dimmer.
Nothing would change, the LEDs would work fine.
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Explain what happens when you run the following code snippet in the traffic light program:
Evaluate responses using AI:
OFF
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?