Week 3 Arduino Basics Quiz

Quiz
•
Computers
•
7th - 12th Grade
•
Hard

Bayden Schellein
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
10 questions
Code.org Unit 5 - Loops

Quiz
•
9th - 12th Grade
15 questions
Pengenalan Arduino dan LED

Quiz
•
10th Grade
15 questions
Embedded System

Quiz
•
11th Grade
10 questions
AP CSA 4.2 (For Loops)

Quiz
•
10th - 12th Grade
13 questions
PROGRAMACION EN ARDUINO

Quiz
•
10th Grade
10 questions
REVIEW QUIZ FOR & WHILE LOOP

Quiz
•
10th Grade
13 questions
Revision G8

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade