
ESP32 MicroPython Quiz
Authored by Edudigm STEMpowered
Special Education
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if we write sensor.temperature() before calling sensor.measure()?
It will give the last stored value
It will crash the code
It will read the new temperature
It will return random values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use Pin(5, Pin.OUT) in the LED project?
To declare a variable
To set GPIO 5 as a data pin
To configure GPIO 5 to control a device like an LED
To read data from a sensor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the line from (time import sleep), what does sleep actually do?
Puts the ESP32 to deep sleep mode
Pauses the program for a short time
Makes the ESP32 restart
Turns off GPIO pins
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main reason for using (while True:) in MicroPython code on ESP32?
To check if a sensor is connected
To run the code only once
To create a loop that repeats the task continuously
To save battery power
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary role of try...except in the DHT11 code block?
To shorten the program
To retry a command
To handle errors gracefully and prevent the program from crashing
To measure temperature automatically
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is a 2-second delay used after reading DHT11 sensor values?
The sensor sends data slowly
To allow the sensor to cool down
To match the LED blink pattern
To give the sensor time to stabilize before next reading
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between Pin.OUT and Pin.IN in the Pin() class?
Pin.OUT is used for sensors, Pin.IN for motors
Pin.OUT sends signals out, Pin.IN receives signals in
Both are the same
Pin.OUT works with LEDs only
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
Peer Relationships
Quiz
•
5th - 12th Grade
10 questions
Reading a Pay Stub
Quiz
•
9th - 12th Grade
10 questions
Cooking Ingredients and Tools
Quiz
•
6th - 12th Grade
12 questions
Communication and Body Language
Quiz
•
5th Grade - Professio...
17 questions
Acid, Base and pH
Quiz
•
9th - 12th Grade
17 questions
Understanding Food Webs and Chains
Quiz
•
7th Grade - University
15 questions
drivers ed
Quiz
•
KG - University
17 questions
Demon Slayer (Kimetsu No Yaiba)
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Special Education
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Parallel Lines Cut by a Transversal
Quiz
•
10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University