0% found this document useful (0 votes)
6 views8 pages

Arduino Basics Quiz for Beginners

The document is an Arduino Basics Quiz consisting of multiple-choice questions covering hardware, programming, and general knowledge about Arduino. It includes two parts with a total of 50 questions and an answer key for each section. The quiz is designed to assess understanding of Arduino components, programming logic, and troubleshooting.

Uploaded by

stephenwatson22
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)
6 views8 pages

Arduino Basics Quiz for Beginners

The document is an Arduino Basics Quiz consisting of multiple-choice questions covering hardware, programming, and general knowledge about Arduino. It includes two parts with a total of 50 questions and an answer key for each section. The quiz is designed to assess understanding of Arduino components, programming logic, and troubleshooting.

Uploaded by

stephenwatson22
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

Arduino Basics Quiz

Student Name: __________________________ Date: _______________

Instructions: Circle the correct answer for each question.

Hardware & Components

1. What is Arduino? A) A programming language

B) An open-source electronics platform

C) A type of computer monitor

2. Which microcontroller is used in the Arduino Uno? A) ATmega16

B) ATmega328P

C) Raspberry Pi
Shutterstock

3. How many Digital I/O pins does an Arduino Uno have? A) 10

B) 14

C) 20

4. Which pin provides a 5-volt output? A) GND

B) 5V

C) RESET

5. What does LED stand for? A) Light Emitting Diode

B) Low Energy Device


C) Light Electronic Display

6. Which pin on an LED is the positive (longer) leg? A) Anode

B) Cathode

C) Ground

7. A breadboard is used to: A) Permanentally solder parts

B) Prototype circuits without soldering

C) Power the Arduino

8. What does a resistor do? A) Increases current

B) Limits the flow of electricity

C) Stores electricity

9. Which sensor detects distance using sound waves? A) LDR (Photoresistor)

B) Ultrasonic Sensor

C) Potentiometer

10. A Servo motor can typically rotate between: A) 0 and 90 degrees

B) 0 and 180 degrees

C) 0 and 360 degrees

The Arduino IDE

11. Arduino programs are called: A) Scripts

B) Apps

C) Sketches

12. Which function runs only once? A) loop()

B) setup()

C) start()

13. Which function repeats forever? A) setup()

B) loop()

C) delay()

14. What is the file extension for Arduino? A) .exe


B) .ino

C) .txt

15. Which icon checks code for errors? A) Verify (Checkmark)

B) Upload (Arrow)

C) Serial Monitor

Programming Logic

16. Every Arduino command must end with: A) A colon (:)

B) A semicolon (;)

C) A period (.)

17. How do you write a single-line comment? A) # Comment

B) // Comment

C) /* Comment

18. What does delay(1000); do? A) Waits for 1 second

B) Waits for 10 seconds

C) Waits for 1 minute

19. What is the range of analogRead()? A) 0 to 255

B) 0 to 1023

C) HIGH or LOW

20. Which data type stores a whole number? A) float

B) int

C) char

Answer Key

1. B | 2. B | 3. B | 4. B | 5. A | 6. A | 7. B | 8. B | 9. B | 10. B

2. C | 12. B | 13. B | 14. B | 15. A | 16. B | 17. B | 18. A | 19. B | 20. B


Arduino Basics Quiz (Part 2)

Student Name: __________________________ Date: _______________

Input, Output & PWM

21. What is PWM used for? A) To speed up the processor

B) To simulate analog output (like dimming an LED)

C) To store large amounts of data

22. Which command is used to turn a digital pin ON? A) digitalWrite(pin, HIGH);

B) digitalRead(pin, HIGH);

C) analogWrite(pin, 100);

23. What is the range of values for analogWrite()? A) 0 to 1023

B) 0 to 255

C) HIGH or LOW

24. Which of these is an INPUT device? A) Piezo Buzzer

B) Pushbutton

C) DC Motor

25. Which command allows you to send data to the Serial Monitor? A) [Link]()

B) [Link]()

C) [Link]()

26. What is the standard baud rate for the Serial Monitor? A) 1200

B) 4800

C) 9600

27. What does digitalRead() return? A) A number between 0 and 100

B) Either HIGH or LOW

C) Any decimal number

28. Which component is best for measuring light levels? A) Potentiometer

B) LDR (Photoresistor)

C) Ultrasonic Sensor
29. What happens if you use pinMode(9, INPUT_PULLUP);? A) The pin is disconnected

/B) The internal resistor is used to keep the pin HIGH by default

C) The pin provides 5V power to a motor

30. Which pin on the Arduino Uno can use PWM? (Marked with a ~ symbol) A) Pin 2

B) Pin 3

C) Pin 7

Coding Syntax & Functions

31. Which symbol is used to compare if two values are equal? A) =

B) ==

C) !=

32. What does int val = 0; do? A) Deletes a variable

B) Creates an integer variable named 'val' and sets it to 0

C) Adds 1 to the variable 'val'

33. Which bracket wraps the code inside an if statement? A) ( )

B) [ ]

C) { }

34. What does the ! symbol mean in code (e.g., !=)? A) Important

B) NOT

C) Add

35. The void in void setup() means: A) The function is empty

B) The function does not return a value

C) The function is optional

36. How do you increase a variable 'x' by 1? A) x--

B) x++

C) x = 1

37. What is a "loop"? A) A type of wire

B) Code that repeats as long as a condition is met


C) A mistake in the program

38. Which command is used to read a variable resistor (Potentiometer)? A)


digitalRead()

B) analogRead()

C) analogWrite()

39. To use a Servo motor in your code, you must include which library? A) #include
<Motor.h>

B) #include <Servo.h>

C) #include <Drive.h>

40. What is the purpose of the [Link](9600); command? A) It starts the motor

B) It sets the speed for communication with the computer

C) It resets the Arduino

General Knowledge & Troubleshooting

41. What does "GND" stand for? A) General Node Data

B) Ground

C) Green Digital

42. What color is the 'ON' LED on the Arduino board usually? A) Blue

B) Green or Red

C) Purple

43. Where do you choose which COM port your Arduino is using? A) Tools > Port

B) File > Save

C) Edit > Find

44. Which voltage is typically used to power the Arduino via USB? A) 5V

B) 12V

C) 24V

45. What is an "Actuator"? A) A sensor that reads data

B) A device that performs an action (like a motor)

C) A type of programming error


46. What does the "TX" and "RX" LEDs on the board represent? A) Transmit and
Receive (Data movement)

B) Time and Reset

C) Power and Ground

47. What is the "VIN" pin used for? A) Connecting a Video Input

B) Inputting external power voltage

C) Connecting to the Internet

48. Which software is used to write Arduino code? A) Photoshop

B) Arduino IDE

C) Microsoft Excel

49. Can an Arduino run multiple programs at the exact same time? A) Yes

B) No (It runs one sketch at a time)

50. What is the "heart" of the Arduino Uno? A) The USB Port

B) The ATmega328P Microcontroller

C) The Reset Button

Answer Key (Part 2)

21. B | 22. A | 23. B | 24. B | 25. B | 26. C | 27. B | 28. B | 29. B | 30. B

22. B | 32. B | 33. C | 34. B | 35. B | 36. B | 37. B | 38. B | 39. B | 40. B

23. B | 42. B | 43. A | 44. A | 45. B | 46. A | 47. B | 48. B | 49. B | 50. B

You might also like