stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
C++ and IoT Trivia Flashcards | StudBud
Explore
/
C++ and IoT Trivia
C++ and IoT Trivia
23 terms
·
StudBud Administration
·
8 plays
Test your knowledge on C++ programming and Internet of Things concepts with this engaging quiz
Flashcards
23 cards
F
Practice quiz
P
Host live
L
Questions
23
Answers
1
True or false: Debugging is unnecessary in programming
True
False
2
What is a common mistake in C++?
Forgetting semicolons
Naming variables poorly
Using too many comments
Overusing functions
3
True or false: IoT stands for Internet of Things
False
True
4
Which library is essential for Arduino Wi-Fi?
HTTP.h
WiFi.h
Ethernet.h
SPI.h
5
What is the main advantage of using NodeMCU?
Low cost
Limited features
High power
Complex setup
6
True or false: C++ supports object-oriented programming
False
True
7
What is a common use of NodeMCU?
Gaming
Graphic design
Home automation
Video editing
8
What is a common debugging tool in Arduino?
Serial Monitor
Command Prompt
Event Viewer
Task Manager
9
What is a common error in IoT projects?
Memory leak
Network timeout
Permission denied
File not found
10
Which function is used to initialize Wi-Fi?
WiFi.start()
WiFi.connect()
WiFi.setup()
WiFi.begin()
11
Which error indicates a missing library?
Stack overflow
Segmentation fault
Undefined reference
Null pointer
12
What is a common feature of IoT devices?
Limited connectivity
No user interface
High power consumption
Remote control
13
Which protocol is commonly used in IoT?
SMTP
HTTP
FTP
MQTT
14
True or false: C++ is a low-level language
True
False
15
True or false: Arduino can only be programmed in C++
False
True
16
True or false: C++ is case-sensitive
True
False
17
What is the purpose of error checking?
Ensure reliability
Reduce code size
Increase speed
Improve performance
18
True or false: NodeMCU can connect to Wi-Fi
False
True
19
Which function is used to read analog values?
readAnalog()
getAnalog()
digitalRead()
analogRead()
20
Which error indicates a syntax issue?
Compilation error
Connection error
Logical error
Runtime error
21
True or false: Arduino IDE supports C++
True
False
22
What does NodeMCU primarily use?
Java
Lua
C#
Python
23
Which is a common error in Arduino?
Syntax error
Runtime error
Compilation error
Logic error