
Arduino Programming Questions
Authored by Cheryl Shepherd-Adams
Science
11th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
SCIENCE WORLD "GOLF BALL CLEANUP"
Quiz
•
11th Grade
35 questions
Exploring the Human Skull and Brain
Quiz
•
8th Grade - University
40 questions
PERTANDINGAN STEM DECATHLON CHALLENGE SMK HAMID KHAN, TAPAH
Quiz
•
7th - 11th Grade
39 questions
Ecology 2
Quiz
•
9th - 12th Grade
42 questions
C5 Energy changes triple
Quiz
•
10th - 11th Grade
39 questions
DNA Analysis Test Review
Quiz
•
11th - 12th Grade
38 questions
1º ESO MATERIALES
Quiz
•
8th - 11th Grade
40 questions
QUARTER 1_ LONG QUIZ_ELS_2
Quiz
•
11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Science
89 questions
Unit 1 (Ch 2 & 3) Test Review - Water/Ocean Currents
Quiz
•
9th - 12th Grade
12 questions
Cellular Respiration
Interactive video
•
11th Grade
10 questions
ACT Science #1
Quiz
•
11th Grade
12 questions
Homeostasis: Positive and Negative Feedback Loops
Interactive video
•
11th Grade
48 questions
Review for Homeostasis & Interacting Systems Test
Quiz
•
9th - 12th Grade
12 questions
Comparing Mitosis and Meiosis
Lesson
•
9th - 12th Grade
10 questions
Macromolecules Biomolecules
Lesson
•
9th - 12th Grade
10 questions
The Digestive System
Lesson
•
9th - 12th Grade