ClassQuiz
Play
Explore
Search
Docs
GitHub
Register
Log in
Donate
❤️
ClassQuiz
Play
Module 6
Arduino IDE: ESP32 Hands-On
Made by
@Sakshi
0
0
2
31
Practice
Download
Report
Which library is used for WiFi on ESP32?
1:
Which library is used for WiFi on ESP32?
15s
WiFiESP.h
ESP8266WiFi.h
WiFi.h
Ethernet.h
Which function initializes serial communication?
2:
Which function initializes serial communication?
15s
Serial.begin()
Serial.start()
Serial.init()
Serial.open()
The Serial Plotter is mainly used to:
3:
The Serial Plotter is mainly used to:
15s
Upload code
Visualize real-time data
Debug syntax
Format EEPROM
What does pinMode(pin, INPUT) do?
4:
What does pinMode(pin, INPUT) do?
15s
Sets the pin to HIGH
Configures the pin to read signals
Enables PWM
Sets the pin to analog mode
What type of value does touchRead() return on ESP32?
5: What type of value does touchRead() return on ESP32?
15s
Voltage
Boolean
String
capacitance
What baud rate should match between Arduino and Serial Monitor for proper communication?
6: What baud rate should match between Arduino and Serial Monitor for proper communication?
15s
Any value
Only 9600
Must be the same on both ends
Depends on USB speed
What is macro value of OUTPUT
7: What is macro value of OUTPUT
15s
3
0x03
0
Both 3 pr 0x03
What this code doe?int sensorValue = analogRead(A0);
8: What this code doe?int sensorValue = analogRead(A0);
15s
Sets pin A0 to output mode
Reads a digital value from pin A0
Reads an analog voltage from pin A0 and stores it in sensorValue
Sends data to the Serial Monitor
The ESP32 microcontroller has how many capacitive touch-sensing GPIO pins:
9: The ESP32 microcontroller has how many capacitive touch-sensing GPIO pins:
15s
1
5
10
All pins can be used
What is the role of WiFiClientSecure in HTTPS communication?
10: What is the role of WiFiClientSecure in HTTPS communication?
15s
It encrypts the WiFi signal
It stores WiFi credentials
It plots secure data
It handles secure HTTP requests
Which programming function loop can be used instead of loop function in Arduino Ide
11: Which programming function loop can be used instead of loop function in Arduino Ide
15s
do-while
if-else
while(1)
switch-case
Which of the following pins on Arduino Uno typically support analogWrite()?
12: Which of the following pins on Arduino Uno typically support analogWrite()?
15s
A0–A5
Pin 13
All digital pins
Only pins labeled with ~
What must happen before the ESP32 can serve the LED control web page?
13: What must happen before the ESP32 can serve the LED control web page?
15s
The Serial Monitor must be open
The ESP32 must connect to a WiFi network
The LEDs must be turned on
The user must press a physical button
How does the user interact with the ESP32 to control the LEDs?
14: How does the user interact with the ESP32 to control the LEDs?
15s
Through a mobile app
By sending SMS commandsBy sending SMS commands
By using the Arduino IDE
By accessing a web page hosted by the ESP32
What is output of below code?WiFi.begin("MySSID", "MyPassword"); while (WiFi.status() != WL_CONNECTED) { delay(500); }
15: What is output of below code?WiFi.begin("MySSID", "MyPassword"); while (WiFi.status() != WL_CONNECTED) { delay(500); }
20s
Disconnects from WiFi
Waits until the ESP32 connects to the specified WiFi network
Starts a web server
Every 500ms sends data over WiFi
What is the purpose of digitalRead(pin)?
16: What is the purpose of digitalRead(pin)?
20s
To set a pin to HIGH or LOW
To read an analog voltage
To read the digital state of a pin
To toggle the pin state
Before using analogWrite()) or digitalWrite(), what must you do in setup()?
17: Before using analogWrite()) or digitalWrite(), what must you do in setup()?
15s
Call Read()
Use delay()
Use Serial.begin()
Use pinMode() to OUTPUT