0% found this document useful (0 votes)
2 views

quiz - arduino

Uploaded by

nova bel supang
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

quiz - arduino

Uploaded by

nova bel supang
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

ARDUINO – QUIZ

I. Directions: Read and understand the following.


Encircle the best answer.

1. What is Arduino? d. To read analog signals from a pin


a. A programming language 9. What is the purpose of the “millis ()” function
b. A microcontroller board in Arduino?
c. A software framework a. To return the number of seconds since the
d. A hardware toolkit Arduino board began running the current
2. What is the name of the programming program.
language used in Arduino? b. To return the number of milliseconds since
a. C++ the Arduino board began running the
b. Java current program.
c. Python c. To return the number of microseconds
d. Arduino Language since the Arduino board began running the
3. What is the purpose of the “setup ()” function current program.
in Arduino? d. To return the number of minutes since the
a. To define variables Arduino board began running the current
b. To initialize pins and setup the board program.
c. To read sensor data 10. What is the primary function of a resistor in an
d. To control the robot’s movement electronic circuit?
4. What is the function of the “loop ()” function a. To increase voltage
in Arduino? b. To decrease voltage
a. To initialize pins and setup the board c. To regulate current
b. To read sensor data and control the robot’s d. To filter frequencies
movement
II. Practical Arduino
c. To define variables
d. To stop the program 1. You want to blink 3 LEDs connected to digital
5. What is the difference between “HIGH” and pins 2, 3, 4 on an Arduino Uno. The LEDs
“LOW” in Arduino? should blink in sequence.
a. HIGH means 0V, while LOW means 0V
Goal: Components:
b. HIGH means 5V, while LOW means 0V
c. HIGH means digital signal, while LOW
means analog signal
d. HIGH means analog signal, while LOW
e. means digital signal
6. What is the purpose of the “delay ()” function
in Arduino? Circuit Diagram Program/code
a. To pause the program for a specific
amount of time
b. To read sensor data
c. To control the robot’s movement
d. To define variables
7. What is the purpose of the “digitalWrite ()”
function in Arduino?
a. To read digital signals from a pin
b. To write digital signals to a pin
c. To read analog signals from a pin
d. To read analog signals to a pin
8. What is the purpose of “pinMode ()” function
in Arduino?
a. To read digital signals from a pin
b. To write digital signals to a pin
c. To set the mode of a pin (INPUT,
OUTPUT)

You might also like