Internet Of Things (IOT102) Practice Test

Access More Questions
What are the two main types of Arduino pins?
Correct Answer:
Digital and analog.
Explanation:
Pins on an Arduino are categorized into digital and analog. Digital pins work as on/off channels—you set them HIGH or LOW and use them for simple binary signals like turning an LED on or off or reading a button. Analog pins, on the other hand, read varying voltages through the board’s analog-to-digital converter, letting you measure sensors whose output isn’t just on or off. They typically give a numeric value corresponding to the voltage you feed in (for example, a 10‑bit scale from 0 to 1023 on many boards). Some boards also allow using analog pins as digital pins when extra I/O is needed, but their primary role is to read analog signals.

Access more questions from this quiz

Continue to Internet of Things (IOT102) Practice Test for more practice questions and the full quiz experience.

Access More Questions