
Week 3 Arduino Basics Quiz
Authored by Bayden Schellein
Computers
7th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Void setup() function in Arduino do?
Runs the main loop of the program
Sets up variables only
Runs once at the beginning of the program
Continuously executes code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Void loop() function in Arduino?
Stores sensor data
Executes code once only
Repeats code continuously
Uploads data to the cloud
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword starts a conditional statement in Arduino?
while
loop
if
repeat
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do? int x = 10; if (x > 5) { digitalWrite(LED_BUILTIN, HIGH); }
Turn off the LED
Flash the LED
Turn on the LED
Do nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct for loop in Arduino that will increase I by 1 until it reaches 10?
for (int i = 0; i < 10; i++)
for (int i = 0; i <= 10; i--)
for (int i = 0; i < 10; i--)
for (int i = 0; i++)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print if temp = 28? if (temp > 30) { Serial.println("Hot"); } else if (temp > 20) { Serial.println("Warm"); } else { Serial.println("Cold"); }
Hot
Warm
Cold
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does delay(1000); do in Arduino?
Stops the code permanently
Runs the loop faster
Delays for 1 second
Turns off the Arduino
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
10 questions
7 ICT Sem 2 Reviewer
Quiz
•
7th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
15 questions
Kuis 2.4 Informatika (Teknologi Informatika ubah Kehidupan)
Quiz
•
8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
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
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade