Font size
WorksheetsIoT – 100 MCQs (Topic-Wise + Exam Format)
Total questions: 100
Worksheet time: 50mins
NodeMCU is based on which microcontroller?
ATmega328
ESP8266
STM32
PIC16F877A
ESP8266 is mainly used for —
Data storage
Wi-Fi connectivity
Power regulation
LED control
ESP32 is an advanced version of —
ESP8266
Arduino Uno
STM32
PIC Controller
ESP32 supports —
Wi-Fi only
Wi-Fi + Bluetooth
ZigBee
NFC
Which development board has inbuilt Wi-Fi and USB interface?
NodeMCU
Arduino Uno
STM32F4
MSP430
ESP01 is a —
Wi-Fi module
GPS module
GSM module
Temperature sensor
Which IDE is used for programming NodeMCU?
Arduino IDE
VS Code
Python
Sublime
ESP32 has how many cores?
1
2
3
4
Which pin provides serial communication in NodeMCU?
D1 & D2
TX & RX
A0
D4
NodeMCU operates at voltage —
3.3V
5V
9V
12V
Wi-Fi.begin() function is used to —
Start Wi-Fi connection
Get IP address
Stop Wi-Fi
Send data
Wi-Fi.localIP() returns —
Router name
IP address
Password
SSID
Wi-Fi.status() checks —
Connection status
Battery level
Temperature
Storage
To print IP address, we use —
Serial.print(WiFi.localIP())
WiFi.show()
Serial.WiFi()
None
For connecting NodeMCU to network, which two parameters are needed?
SSID & Password
IP & MAC
DNS & Port
Token & ID
The command WiFi.disconnect() is used to —
Reboot
Disconnect Wi-Fi
Reset device
None
The IP address of NodeMCU is displayed on —
Serial Monitor
LCD
OLED
Cloud
The Wi-Fi library is used for —
Wi-Fi operations
Motor control
EEPROM
Sensor reading
ESP8266 can be connected to mobile hotspot using —
SSID & Password
IP only
Token
USB cable
To start serial communication, command used is —
Serial.begin(9600)
WiFi.begin()
Start.Serial()
print.Serial()
In IoT, a client is —
Data sending device
Cloud server
Router
Gateway
In IoT, a server is —
Data receiver and processor
Display
Sensor
Buzzer
IoT communication uses —
Internet
Cable
FM
Infrared
The ESP library used for web client connection —
WiFiClient.h
EEPROM.h
Motor.h
SPI.h
IoT server mostly runs on —
Cloud platform
USB
Local folder
GSM
HTTP uses port —
80
1883
22
21
HTTPS uses port —
443
80
23
20
MQTT protocol works on port —
1883
8080
22
110
MQTT with SSL uses port —
8883
443
8080
21
FTP uses ports —
A) 20 and 21
B) 25 and 26
C) 443
D) 80
SMTP protocol is used for —
Sending emails
File transfer
Printing
Voice
DNS operates on port —
53
80
1883
443
Telnet runs on port —
A) 23
B) 25
C) 110
D) 22
MQTT is used in IoT for —
Device communication
Image transfer
Video streaming
Data backup
Port 1883 is reserved for —
MQTT
HTTP
CoAP
FTP
Access Point (AP) mode means —
NodeMCU creates its own Wi-Fi
Connects to router
Works offline
No Wi-Fi
Station (STA) mode means —
NodeMCU connects to router
Acts as router
Shuts Wi-Fi
Offline
AP + STA combined mode is called —
SoftAP + Station
DoubleNet
Wi-Net
HotSpot
WiFi.softAP() is used for —
Start Access Point
Station mode
Send data
Stop Wi-Fi
WiFi.begin() is used for —
Connect to router
Stop Wi-Fi
Display IP
None
WiFi.status() checks —
Connection status
LED
Battery
Display
In AP mode, maximum clients —
4
8
10
2
Combined AP + STA mode helps —
Monitor and stay connected
Disconnect internet
Save power
Reset
WiFi.softAPdisconnect() is used to —
Stop AP mode
Send file
Turn on AP
Reset chip
WiFi.localIP() gives —
Device IP address
Router IP
DNS
SSID
NodeMCU can host webpage using —
WebServer library
EEPROM
SPI
Timer
HTML webpage is used to —
Control devices via browser
Connect Bluetooth
Upload code
Debug
HTML file is stored in —
Flash (SPIFFS)
RAM
EEPROM
Cloud
To send webpage data, we use —
server.send()
WiFi.send()
HTML.push()
data.send()
The function to start web server —
server.begin()
WiFi.begin()
net.start()
HTML.run()
Webpage controls LED via —
HTTP requests
SMS
Bluetooth
Serial
NodeMCU IP for webpage is shown on —
Serial Monitor
LCD
Mobile app
USB
IoT web interface enables —
Real-time device control
Image edit
Music play
Charging
CSS in IoT webpage is used for —
Design and layout
Connection
Uploading code
None
Webpage communication method —
HTTP
SMTP
FTP
POP3
Blynk is used for —
IoT mobile app
Debugging
Memory test
Printing
Firebase is a —
Real-time cloud database
Sensor
Hardware
Server IC
ThingsBoard provides —
Dashboard & monitoring
Music
Video
Display
Blynk connects hardware via —
Auth Token
Password
MAC
OTP
Firebase is developed by —
Microsoft
Amazon
IBM
Blynk communication uses —
TCP/IP
UDP
CoAP
None
ThingsBoard supports —
MQTT, HTTP, CoAP
Only MQTT
Only HTTP
None
Blynk app available on —
Android & iOS
Windows
Web only
Linux only
Firebase dataformat —
JSON
XML
HTML
TXT
Open-source IoT platforms are —
Free & customizable
Paid
Offline only
Closed
66. MQTT stands for —
A) Message Queue Telemetry Transport
B) Multi Query Transfer Tool
C) Message Quick Transfer Type
D) None
MQTT follows —
Publish/Subscribe model
Client/Server
Serial link
Mesh
CoAP stands for —
Constrained Application Protocol
Common Access Protocol
Cloud Application
None
CoAP uses —
UDP
TCP
HTTP
FTP
MQTT works on —
TCP
UDP
GSM
SMS
WebSocket allows —
Two-way communication
One-way only
Text only
Audio
XMPP is mainly used for —
Messaging
Power control
Sensors
Video
HTTP is —
Request-Response protocol
Streaming
UDP
None
QoS in MQTT means —
Quality of Service
Queue of System
Quick Operation Setup
Query of Server
75. MQTT Broker example—
Mosquitto
Firebase
SQL
NodeJS
CoAP is used in —
Low-power IoT devices
Gaming
Video calling
Large servers
HTTP vs MQTT — MQTT is —
Faster and lightweight
Heavy
Complex
None
WebSocket default port —
80
8080
21
22
MQTT data flow is —
Publisher → Broker → Subscriber
Client → Server
Peer → Peer
None
MQTT broker acts as —
Middle layer
End device
Display
Router
QoS level 0 means —
At most once
At least once
Exactly once
Never
QoS level 2 means —
Exactly once
Once only
At most once
None
HTTP heavier than MQTT because —
Large header
More delay
High power use
All
MQTT best for —
Low bandwidth networks
LAN
Local PC
Printer
MQTT packet type —
PUBLISH
SUBSCRIBE
CONNECT
All
IoT stands for —
Internet of Things
Interface of Tech
Input of Transmission
None
IoT allows —
Device-to-device communication
Human chat
Bluetooth only
None
Example of IoT system —
Smart Home
Calculator
TV Remote
Lamp
IoT enables —
Remote monitoring
Manual work
Paper data
None
IoT device uses —
Sensor
Mouse
Keyboard
Printer
Data in IoT is stored in —
Cloud
USB
CD
RAM
ESP8266 connects to —
Wi-Fi network
LAN wire
USB
Bluetooth
Arduino IDE is used for —
Writing & uploading code
Designing circuits
Testing sensors
Wi-Fi connection
IoT communication is —
Machine to Machine
Human to Human
File to File
None
Smart dustbin is an example of —
IoT project
Motor driver
Sensor
Cloud
IoT device requires —
Internet connection
Fuel
Optical disk
SIM only
ESP boards are programmed via —
USB
LAN
GSM
SD card
IoT is part of —
Industry 4.0
Web 1.0
Manual tech
None
Cloud in IoT used for —
Data storage & processing
Power
Motor
Network
IoT sensors convert
Physical data to digital
Digital to audio
Text to speech
None
