Short-Answer Quiz
Answer the following questions in two to three sentences, based on the provided source material.
- What is Arduino, and what are its two primary components according to the “Overview” section?
- Explain the purpose of the setup() and loop() functions within the structure of an Arduino sketch.
- What is the difference between local and global variables in terms of their scope?
- Describe two distinct methods for powering an Arduino UNO board as outlined in the “Board Description” section.
- What is Pulse Width Modulation (PWM), and which Arduino function is used to generate a PWM wave?
- Compare the two types of strings used in Arduino programming: character arrays and the String object. What is the main disadvantage of using the String object?
- What is an H-Bridge, and what specific H-Bridge IC is mentioned for controlling the spin direction of a DC motor?
- How does the Arduino IDE installation guide suggest you can identify the correct serial port for your board?
- Explain the function of TX and RX LEDs on the Arduino UNO board.
- What is the purpose of an Interrupt Service Routine (ISR), and what keyword should be used for variables shared between an ISR and the main program to ensure they are updated correctly?