1 Flashcards
What does Arduino primarily serve as?
A microcontroller platform for building digital devices.
True or False: Arduino can only be programmed in C++.
False.
Fill in the blank: The main programming environment for Arduino is called the __________.
Arduino IDE.
What is the function of the setup() method in Arduino programming?
It initializes variables and settings before the main loop runs.
What type of board is an Arduino Uno?
A microcontroller board based on the ATmega328P.
Which of the following is NOT an Arduino board? (A) Arduino Mega (B) Arduino Nano (C) Arduino Raspberry
Arduino Raspberry.
What is the purpose of the loop() method in an Arduino sketch?
It contains the code that runs repeatedly after setup().
True or False: Arduino boards can only be powered via USB.
False.
What does PWM stand for in Arduino?
Pulse Width Modulation.
Fill in the blank: Digital pins on an Arduino can be set to either HIGH or __________.
LOW.
What is the typical voltage range for an Arduino board?
5V to 12V.
What is the purpose of a resistor in an Arduino circuit?
To limit the current flowing through the circuit.
Which Arduino function is used to read the state of a digital pin?
digitalRead().
True or False: You can connect multiple sensors to the same Arduino board.
True.
What communication protocol is often used for Arduino to communicate with other devices?
I2C.
Fill in the blank: The Arduino board can be connected to a computer using a __________ cable.
USB.
What does the term ‘sketch’ refer to in Arduino programming?
A program written for Arduino.
Which library would you include to use an LCD display with Arduino?
LiquidCrystal.
True or False: Arduino sketches must end with a semicolon.
True.
What is the primary function of the analogRead() function?
To read the value from an analog pin.
What is the maximum number of digital pins on an Arduino Uno?
14.
Fill in the blank: The Arduino community provides a platform for sharing __________ and projects.
code.
True or False: You can use Arduino to control motors.
True.
What is a common use for the Arduino Ethernet Shield?
To connect Arduino to the internet.
What does the term ‘shield’ refer to in the context of Arduino?
A board that can be plugged on top of an Arduino to add functionality.
Which function is used to delay the execution of code in Arduino?
delay().
What is the purpose of the ‘void’ keyword in Arduino functions?
It indicates that the function does not return a value.