
Arduino Programming Questions

Quiz
•
Science
•
11th Grade
•
Medium

Cheryl Shepherd-Adams
Used 2+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct function to set a pin as an output in Arduino?
pinMode(13, INPUT)
digitalWrite(13, HIGH)
pinMode(13, OUTPUT)
analogWrite(13, HIGH)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why won’t the following "blink" code work?
The LED will not blink because there is no LOW state.
delay(1000); is too short.
The pin should be set to INPUT.
The function digitalWrite should be analogWrite.
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What common mistake might prevent the built-in LED on pin 13 from blinking?
Forgetting to declare pinMode(13, OUTPUT); in setup().
Using delay(0); instead of delay(1000);
Writing digitalRead(13, HIGH); instead of digitalWrite(13, HIGH);
Using analogWrite(13, 255); instead of digitalWrite(13, HIGH);
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
If your LED stays on instead of blinking, what could be the problem?
The LED might be broken.
The code is missing digitalWrite(13, LOW); and a delay.
pinMode(13, OUTPUT); is not needed.
The delay time is too long.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you write delay(-1000);?
The Arduino will blink the LED faster.
The delay function will be ignored.
The Arduino will enter an infinite loop.
The code will not compile.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why won’t the following code fade an LED properly?
The loop should count down after reaching 255.
pinMode(9, OUTPUT); should be INPUT.
The delay is too long.
The pin should be 13, not 9.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of pins support analogWrite() for fading LEDs?
Digital pins
Only pin 13
PWM pins marked with ~ *
Any pin set to OUTPUT
Create a free account and access millions of resources
Similar Resources on Wayground
38 questions
Fingerprint Analysis PPT 24

Quiz
•
11th Grade
40 questions
Ocean Currents and Waves

Quiz
•
10th - 12th Grade
40 questions
Ocean Currents and Tides

Quiz
•
10th - 12th Grade
45 questions
Cardiovascular System Test 2025

Quiz
•
11th Grade
40 questions
Honors Chemistry Post Test

Quiz
•
9th - 12th Grade
40 questions
Environmental Science Midterm Review

Quiz
•
11th Grade
45 questions
Quiz 2

Quiz
•
KG - Professional Dev...
40 questions
Cuestionario sobre Robótica

Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Science
16 questions
Metric Conversions

Quiz
•
11th Grade
13 questions
Amoeba Sisters: Biomolecules

Interactive video
•
9th - 12th Grade
50 questions
Weathering, Erosion, and Deposition Review

Quiz
•
11th Grade
45 questions
Interim Review

Quiz
•
9th - 12th Grade
66 questions
Earth Sci Unit 2 Ch. 4-5 Test Review

Quiz
•
9th - 12th Grade
58 questions
Biomolecule Test Corrections

Quiz
•
9th - 12th Grade
20 questions
Trophic Levels and Food Webs

Quiz
•
10th - 12th Grade
10 questions
Identify Methods of Heat Transfer

Quiz
•
9th - 12th Grade