0% found this document useful (0 votes)
156 views6 pages

Arduino Q

The document is a preparation guide for an Arduino lab exam, containing 30 multiple choice and 30 short answer questions about Arduino concepts, functions, and components. Key topics include the Arduino platform, programming environment, essential functions, and hardware specifications. It serves as a comprehensive resource for understanding Arduino basics and practical applications.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views6 pages

Arduino Q

The document is a preparation guide for an Arduino lab exam, containing 30 multiple choice and 30 short answer questions about Arduino concepts, functions, and components. Key topics include the Arduino platform, programming environment, essential functions, and hardware specifications. It serves as a comprehensive resource for understanding Arduino basics and practical applications.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Arduino Lab Exam Preparation

30 Multiple Choice Questions (Only Question + Answer)

1. What is Arduino?

Answer: An open-source electronics platform based on easy-to-use hardware and software.

2. Where did the Arduino project originate?

Answer: Interaction Design Institute Ivrea in Italy.

3. In which year did the Arduino project begin?

Answer: 2005.

4. What is the main programming environment for Arduino?

Answer: Arduino IDE.

5. Which programming language is primarily used for Arduino?

Answer: Simplified C/C++.

6. Which function is used to set a pin as input or output?

Answer: pinMode().

7. Which function turns a digital pin ON or OFF?

Answer: digitalWrite().

8. What is the purpose of the loop() function in Arduino?

Answer: To run code repeatedly after setup.

9. What is the purpose of the setup() function in Arduino?

Answer: To initialize code that runs once at the beginning.

10. Which function is used to read an analog input in Arduino?

Answer: analogRead().
Arduino Lab Exam Preparation

11. Which Arduino board uses the ATmega328 processor?

Answer: Arduino Uno.

12. What does the delay() function do in Arduino code?

Answer: Pauses the program for a specified time.

13. What does millis() return in Arduino?

Answer: Time in milliseconds since the program started.

14. Which component is used to provide visual output in many Arduino projects?

Answer: LED.

15. How is the Arduino board typically connected to a computer?

Answer: USB cable.

16. What is Tinkercad primarily used for in relation to Arduino?

Answer: Simulating circuits and Arduino projects online.

17. What is an Arduino sketch?

Answer: A program written using Arduino IDE.

18. Which Arduino board has the highest flash memory according to the document?

Answer: Arduino Due.

19. Which board has the most digital I/O pins?

Answer: Arduino Mega.

20. What is an actuator in Arduino context?

Answer: A device that performs an action like lighting an LED or moving a motor.

21. What is a sensor in Arduino projects?


Arduino Lab Exam Preparation

Answer: A device that detects and responds to physical input.

22. What is used to simulate Arduino projects online?

Answer: Tinkercad.

23. What does an analog signal represent in Arduino?

Answer: A continuous range of values.

24. What does a digital signal represent in Arduino?

Answer: Two states: HIGH or LOW.

25. Which Arduino function writes a PWM value to a pin?

Answer: analogWrite().

26. Which pin is used in the default LED blink sketch?

Answer: Pin 13.

27. Which library type might you use for controlling an LCD in Arduino?

Answer: Peripheral libraries.

28. What is the purpose of a resistor when connecting an LED?

Answer: To limit current and protect the LED.

29. What is used to power an Arduino board externally?

Answer: DC power supply.

30. Which website is used to download the Arduino IDE?

Answer: http://www.arduino.cc
Arduino Lab Exam Preparation

30 Short Answer Questions

1. Define Arduino in simple terms.

Answer: Arduino is an open-source platform used to build electronics projects with easy hardware and

software.

2. Why was Arduino created?

Answer: To offer a low-cost and beginner-friendly way to build interactive projects.

3. What is a microcontroller?

Answer: A small computer on a chip that includes CPU, memory, and I/O peripherals.

4. Mention two components needed to get started with Arduino.

Answer: Arduino board and USB cable.

5. What is the role of the Arduino IDE?

Answer: It allows users to write, compile, and upload code to Arduino boards.

6. What does the setup() function do?

Answer: It runs once to initialize settings like pin modes.

7. What does the loop() function do?

Answer: It runs continuously after setup() finishes.

8. Name two types of input devices used with Arduino.

Answer: Push buttons and photoresistors.

9. Name two types of output devices used with Arduino.

Answer: LEDs and motors.

10. What does pinMode() do?


Arduino Lab Exam Preparation

Answer: Sets a pin as input or output.

11. What is the use of digitalWrite()?

Answer: It writes HIGH or LOW to a digital pin.

12. What is an analog input?

Answer: A signal with continuous values read by analog pins.

13. What is an analog output in Arduino?

Answer: A simulated output using PWM signals.

14. What is PWM?

Answer: Pulse Width Modulation, used to simulate analog output.

15. What does analogRead() return?

Answer: A value between 0 and 1023 representing voltage.

16. What does analogWrite() do?

Answer: Writes a PWM value to a pin.

17. What are global variables in Arduino?

Answer: Variables declared outside functions that are accessible anywhere in the code.

18. What pin is commonly used to blink an LED in Arduino Uno?

Answer: Pin 13.

19. What is Tinkercad used for?

Answer: Online simulation of circuits and Arduino projects.

20. How can you simulate Arduino without hardware?

Answer: Using Tinkercad.


Arduino Lab Exam Preparation

21. What kind of signal is HIGH or LOW?

Answer: Digital signal.

22. What is the advantage of using Arduino in labs?

Answer: It allows rapid prototyping and learning.

23. What is the purpose of a breadboard in Arduino projects?

Answer: To prototype circuits without soldering.

24. Why is a resistor connected with an LED?

Answer: To prevent the LED from burning out.

25. How do you power an Arduino without a computer?

Answer: Using a DC adapter or battery.

26. What does millis() return?

Answer: Time in milliseconds since the Arduino started.

27. What is a sketch in Arduino?

Answer: A program written using Arduino software.

28. What is a peripheral library in Arduino?

Answer: Prewritten code for devices like LCDs and sensors.

29. Which Arduino board is suitable for basic projects?

Answer: Arduino Uno.

30. What is the purpose of uploading code to Arduino?

Answer: To run a program on the hardware.

You might also like