What does the Void setup() function in Arduino do?
Week 3 Arduino Basics Quiz

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

Bayden Schellein
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 Quizizz
10 questions
Arduino X-3

Quiz
•
9th - 12th Grade
15 questions
Programming Vocabulary

Quiz
•
6th - 8th Grade
15 questions
Competition Arduino Tinkercad

Quiz
•
9th Grade
13 questions
Blinking LEDs - Escape the Apocalypse

Quiz
•
9th - 12th Grade
10 questions
Python Loops

Quiz
•
9th - 12th Grade
10 questions
FOR LOOPS and Angles with Tracy (PYTHON)

Quiz
•
7th - 8th Grade
10 questions
NHTW Programming

Quiz
•
9th Grade
10 questions
engineering science questions topic 5&6 MUHAMMAD ZIDANNE BIN AMIR FIRDAUSE 1IH

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade