Embedded Systems Quiz – Questions with Choices and Correct Answers
1.
What is the core definition of an embedded system?
A. A network of cloud servers optimized for data analytics.
B. A microcontroller-based computing system designed to perform a dedicated
function within a larger mechanical or electrical system.
C. A general-purpose desktop computer running Linux.
D. A multi-purpose device prioritizing high performance.
2.
The necessity for an embedded system to respond to inputs within strict time
constraints is known as:
A. Power Efficiency
B. Autonomous Operation
C. Dedicated Task
D. Real-Time Operation
3.
A key difference between an IoT device and a traditional computer is that IoT devices
prioritize:
A. High performance and versatility.
B. Minimal or no traditional user interface and energy efficiency.
C. Running a full operating system like Windows or macOS.
D. Executing a wide variety of software applications.
4.
Which hardware component acts as the input device that measures physical
phenomena in an embedded system?
A. Actuators
B. Microcontroller Unit (MCU)
C. Power Supply
D. Sensors
5.
Which type of memory is fast, volatile, and used for runtime data such as variables
and the stack?
A. Flash Memory
B. EEPROM
C. SRAM
D. External Hard Drive
6.
What term refers to the low-level code that controls hardware directly and initializes
peripherals?
A. Application Logic
B. RTOS
C. Firmware
D. Hardware Abstraction Layer (HAL)
7.
Analog Inputs typically utilize which component of the Microcontroller Unit (MCU)
for sensor readings?
A. GPIO
B. ADC (Analog-to-Digital Converter)
C. UART
D. SPI
8.
Which high-speed, synchronous communication protocol uses a master-slave
architecture with four wires (MOSI, MISO, SCK, CS)?
A. I²C
B. UART
C. GPIO
D. SPI
9.
Which communication interface is characterized by being asynchronous (no clock)
and using only two wires (TX/RX)?
A. I²C
B. SPI
C. UART
D. GPIO
10. -
What system type is defined by missing a deadline resulting in catastrophic
consequences, such as an automotive airbag deployment system?
A. Soft Real-Time Systems
B. Medium-Scale Systems
C. Complex Systems
D. Hard Real-Time Systems
11. •
An occasional dropped frame in a video conference that causes performance degradation
but avoids catastrophic failure defines which system type?
A. Hard Real-Time Systems
B. Soft Real-Time Systems
C. Critical System
D. Complex System
12. •
Which device integrates the CPU, RAM, Flash, and peripherals onto a single chip,
optimizing it for control tasks?
A. Microprocessor (MPU)
B. Microcontroller (MCU)
C. Desktop CPU
D. Graphics Processing Unit (GPU)
13. •
Which popular MCU platform is highly recommended for IoT projects due to its
integrated Wi-Fi and Bluetooth capabilities at a low cost?
A. Arduino UNO (ATmega328P)
B. STM32 (ARM Cortex-M)
C. ESP32
D. Raspberry Pi
14. •
Which layer is responsible for running the operating system (RTOS), device drivers, and
communication stacks?
A. Hardware Layer
B. Application Layer
C. Firmware Layer (Middleware)
D. Sensing and Device Layer
15. •
Systems characterized by having multiple processors/cores, large memory (MB to GB),
and running sophisticated RTOS or embedded Linux are classified as:
A. Small-Scale Systems
B. Medium-Scale Systems
C. Complex Systems
D. Soft Real-Time Systems
16. • -
The Arduino-based traffic light controller that cycles through red-yellow-green states
using simple timing logic is an example of which system type?
A. Complex System
B. Medium-Scale System
C. Small-Scale System
D. Hard Real-Time System
17. •
Which RTOS mechanism ensures that multiple independent functions are executed
concurrently by allocating CPU time based on importance?
A. Serial Monitor Output
B. Interrupt Service Routines
C. Bare-metal firmware
D. Priority-Based Scheduling
18. •
What process occurs during the 'Compile' phase of the embedded software development
workflow?
A. Uploading the binary to Flash memory.
B. Translating C/C++ code into machine code specific to the target MCU.
C. Connecting sensors and actuators.
D. Monitoring serial output for debugging.
19. •
What communication protocol is limited in distance but provides fast, full-duplex
communication using four dedicated wires?
A. I²C
B. UART
C. SPI
D. GPIO
20. • -
The design constraint that limits algorithm complexity due to strict timing requirements is
known as:
A. Cost vs. Performance
B. Speed vs. Power Consumption
C. Real-Time vs. Complexity
D. Memory vs. Features
21. •
Which characteristic is essential for a device to be considered "IoT," differentiating it
from a standard computer?
A. High computational performance
B. Physical World Interface (sensors and actuators)
C. Rich graphical interface
D. Full operating system (Linux, Windows)
22. •
The ability for computational hardware to fit anywhere while delivering sophisticated
functionality, like a smartwatch, is enabled by:
A. Moore's Law and the Cost Revolution.
B. Miniaturization and Performance Growth.
C. The Connectivity Explosion.
D. Long-Range Wide-Area Networks (LPWAN).
23. •
The cost of a powerful microcontroller dropping below $5 is an example of which
enabling trend?
A. Performance Growth
B. Cost Revolution
C. Miniaturization
D. 5G Enablement
24. •
What diagnostic instrument measures voltage, current, and resistance, making it
indispensable for troubleshooting electronic systems?
A. Oscilloscope
B. Soldering Iron
C. Multimeter
D. Logic Analyzer
25.
Which component in a quadcopter is the sophisticated embedded system that serves as
the central nervous system, executing flight algorithms in real-time?
A. GPS Module
B. Brushless Motors
C. Electronic Speed Controls (ESCs)
D. Flight Controller
26. In logistics and supply chain management, what technology allows bulk scanning of
multiple items without line-of-sight?
A. Traditional Barcodes
B. GPS
C. RFID Tags
D. Wi-Fi
27.
What is the primary risk associated with the reliance on smart home systems that may fail
during power outages or internet disruptions?
A. Social isolation
B. Data storage overflow
C. Technology dependence
D. Reduced carbon footprint
28.
Which type of personal information collected by IoT devices reveals conversations near
them and user schedules?
A. Location Tracking
B. Health Information
C. Home Activity
D. Social Connections
29.
Which security challenge stems from IoT devices shipping with default passwords and
lacking encryption?
A. DDoS Bot Recruitment
B. Limited Update Mechanisms
C. Weak Security by Design
D. Network Eavesdropping
30.
What practical security measure involves placing IoT devices on a separate network from
computers to limit damage if the device is compromised?
A. Regular Firmware Updates
B. Network Segmentation
C. Changing Default Credentials
D. Manual Data Encryption
31.
The fact that thermostats or light bulbs "don't look like technology" often leads to what
problem, according to the sources?
A. Users implementing strong security measures.
B. False confidence and overlooking device vulnerabilities.
C. Devices being completely isolated from the internet.
D. Manufacturers providing continuous updates.
32.
The Application Layer is the layer where IoT data becomes valuable to end users,
delivering services such as:
A. Sensing physical parameters.
B. Managing device credentials.
C. Web dashboards and mobile applications.
D. Ensuring reliable data transmission.
33.
What function does the Data and Processing Layer perform to remove noise and invalid
readings from sensor streams?
A. Aggregation
B. Storage
C. Visualization
D. Filtering
34.
Which short-range wireless standard offers high data throughput, supporting video
streaming, but has high power consumption?
A. Bluetooth Low Energy (BLE)
B. LoRaWAN
C. Wi-Fi (802.11)
D. Zigbee/Z-Wave
35.
Which short-range protocol is optimized for home automation systems, creates self-
healing mesh networks, and supports 100+ devices?
A. Wi-Fi
B. BLE
C. LoRaWAN
D. Zigbee/Z-Wave
36.
What is the main drawback of cellular technologies (LTE-M, NB-IoT) for embedded
systems compared to other LPWAN options?
A. Extremely low range
B. Ongoing subscription costs for SIM cards and data plans
C. Insufficient coverage
D. Inability to transfer firmware updates
37.
What is the lightweight, publish/subscribe messaging protocol engineered to work
efficiently on unreliable networks with minimal bandwidth?
A. HTTP/REST
B. CoAP
C. MQTT
D. TCP
38.
In MQTT, the device or sensor that generates and sends data to specific topics is called
the:
A. Broker
B. Subscriber
C. Client
D. Publisher
39.
The MQTT Quality of Service (QoS) level that guarantees delivery with
acknowledgment, but duplicates are possible, is:
A. QoS 0 (At Most Once)
B. QoS 1 (At Least Once)
C. QoS 2 (Exactly Once)
D. QoS 3
40.
What is the primary drawback of using HTTP/REST for constant sensor data
transmission on a constrained IoT device?
A. It is asynchronous.
B. It requires a compact binary format.
C. It requires continuous polling and creates significant protocol overhead.
D. It uses the publish/subscribe model.
41.
Which protocol is known as "HTTP for IoT" because it provides RESTful semantics
using UDP and a compact binary format?
A. MQTT
B. SPI
C. CoAP
D. UART
42.
Which cloud platform offers "device twins" and seamless integration with Azure's
analytics and AI tools?
A. AWS IoT Core
B. Google Cloud IoT
C. Azure IoT Hub
D. ThingSpeak
43.
Running machine learning models directly on the microcontroller to detect hand gestures
from accelerometer data is an example of:
A. Predictive Maintenance
B. Cloud Analytics
C. Edge AI and TinyML
D. V2X Communication
44.
Energy Harvesting relies on sources like solar cells, piezoelectric generators, and
thermoelectric generators to achieve what goal?
A. High-speed data transfer
B. Eliminating battery replacement
C. Running embedded Linux
D. Complex computer vision
45.
When designing embedded systems, which criterion is often considered more important
than raw performance?
A. External storage size
B. Cost-effectiveness and power efficiency
C. Maximum clock speed
D. Graphical interface complexity
46.
In the Automatic Hand Sanitizer, the servo motor performs which function?
A. Measuring distance
B. Controlling the pump mechanism
C. Processing data
D. Transmitting data to the cloud
47.
The code example for the temperature-controlled fan uses which component to read the
temperature input?
A. GPIO
B. LM35 temperature sensor (A0)
C. FAN_PIN
D. Status LED
48.
In the Getting Started Tips, what tool is recommended as the essential "window into the
embedded system's operation" for debugging?
A. Logic Analyzer
B. Breadboards
C. Serial monitor
D. Oscilloscope
49.
What innovation is expected to shift healthcare from reactive to predictive by enabling
continuous glucose monitoring and early cancer detection?
A. AI-Powered Edge Systems
B. Advanced Biomedical Wearables
C. Smart Cities Infrastructure
D. Sustainable Computing
50.
What combination of sensors is used in smartwatches for activity classification and step
counting?
A. GPS and Barometer
B. PPG and Barometer
C. Accelerometer & Gyroscope (6-axis IMU)
D. Ambient light sensor and GPS
51. What is the core philosophical difference defining an embedded system, as opposed to a
general-purpose computer?
A. It prioritizes a rich graphical interface.
B. It runs a full operating system like Windows or Linux.
C. It is purpose-built for a specific, dedicated function.
D. It requires constant human intervention to perform tasks.
52. Which hardware component in an embedded system is described as the "brain containing
processor, memory, and I/O" residing on a single chip?
A. Microprocessor Unit (MPU)
B. Actuator
C. Microcontroller Unit (MCU)
D. Field Programmable Gate Array (FPGA)
53. In the context of the IoT, which characteristic is essential for a device to be classified as
"IoT," differentiating it from a traditional computer?
A. High Performance and complex interface
B. Physical world interface through sensors and actuators
C. Multi-purpose and flexible functionality
D. Requirement of high-wattage power consumption
54. In which category of real-time systems does missing a deadline cause system failure or
catastrophic consequences?
A. Soft Real-Time Systems
B. Non-Real-Time Systems
C. Hard Real-Time Systems
D. Complex Systems
55. Which communication protocol is often referred to as the "Star Protocol of IoT" because
it uses a Publish/Subscribe model and is known for its minimal overhead for constrained
devices?
A. HTTP/REST
B. SPI (Serial Peripheral Interface)
C. UART (Universal Asynchronous Receiver-Transmitter)
D. MQTT (Message Queuing Telemetry Transport)
56. In the memory architecture of an embedded system, what is the primary function of Flash
Memory?
A. Fast volatile storage for runtime variables (SRAM)
B. Small non-volatile storage for configuration data (EEPROM)
C. Storage for firmware and constant data permanently
D. Storage exclusively for communication APIs
57. Which LPWAN wireless technology is ideal for applications requiring exceptional range
(up to 15 km) while consuming minimal power, despite having an extremely low data
transfer rate?
A. Wi-Fi (802.11)
B. Bluetooth Low Energy (BLE)
C. LoRaWAN (Long Range Wide Area Network)
D. 5G Cellular
58. In the three-layer embedded system architecture model, which layer contains the business
logic, user interface code, and data processing algorithms?
A. Hardware Layer
B. Application Layer
C. Firmware Layer (Middleware)
D. Sensing and Device Layer
59. The historical trend where a microcontroller with high computational power can be
purchased for under $5, allowing intelligence to be embedded in everyday objects, is
primarily known as which enabling factor for IoT?
A. The Connectivity Explosion
B. Edge AI Integration
C. The Cost Revolution
D. Increased Regulation
60. Which diagnostic instrument is used to measure voltage, current, and resistance in an
electronic circuit, making it indispensable for troubleshooting electronic systems?
A. Oscilloscope
B. Soldering Iron
C. Logic Analyzer
D. Multimeter
61.
What strategy do smartwatches use to save power regarding sensor data?
A. Continuous logging to external storage.
B. Aggressive sleep modes between sensor readings.
C. Running the display continuously.
D. Disabling Bluetooth entirely.
62.
The risk that compromised IoT devices are used to attack infrastructure (e.g., Mirai) is
known as:
A. Firmware Manipulation
B. Network Eavesdropping
C. DDoS Bot Recruitment
D. Unauthorized Access
63.
What must users largely rely on concerning the security of data collected by their IoT
devices?
A. Manual encryption
B. The integrity of the data-collecting agencies
C. Auditing the data flow
D. Legal contracts
64.
What risk is associated with sensor noise and disturbances in healthcare monitoring
systems, potentially leading to unnecessary patient anxiety?
A. Data loss
B. False Positives
C. Social Isolation
D. Technology dependence
65.
Which electrical properties do most IoT sensors measure changes in?
A. Voltage, frequency, and phase
B. Mass, velocity, and pressure
C. Resistance, capacitance, or inductance
D. Power, impedance, and current
66.
In 2016, how much did the manufacturing industry spend on IoT, making it the market
leader?
A. $10 billion
B. $67.7 billion
C. $178 billion
D. $5 million
67.
Precision agriculture was historically limited to big agribusinesses due to high costs, but
is now affordable due to:
A. LoRaWAN range.
B. IoT sensors and big data calculation.
C. Low power consumption of BLE.
D. GPS module failure scenarios.
68.
For efficiency and direct hardware access, embedded software is typically written in
which languages?
A. Python or JavaScript
B. Java or C#
C. C or C++
D. HTML or CSS
69.
What does the Hardware Layer provide in the embedded system architecture?
A. Business logic
B. Raw computational and interfacing capabilities
C. Task scheduling
D. Network protocols
True or false
1. Embedded systems are computing engines that typically prioritize running a variety of
applications, similar to a laptop. False
2. Timing is critical for system success and safety in real-time operation. True
3. Flash Memory is volatile memory used for storing runtime data such as the stack. False
4. Embedded software is typically written in C or C++ for efficiency and direct hardware
access. True
5. The Anti-lock Braking System (ABS) is a classic example of a Soft Real-Time System.
False
6. Microcontrollers typically require external components for memory and I/O devices,
unlike microprocessors. False
7. The STM32 family offers high performance, excellent power efficiency, and a steep
learning curve. True
8. I²C is generally slower than SPI but allows 128 devices using 7-bit addressing with only
2 wires. True
9. Choosing components based on maximum specifications is recommended for embedded
systems mastery. False
10. Monitoring serial output and using debuggers are essential parts of the Test & Debug
phase. True
11. Using vTaskDelay() in FreeRTOS tasks ensures precise timing without external hardware
timers. False
12. A dedicated smart speaker is considered less efficient and more costly than using a full
computer for playing music. False
13. The widespread availability of internet infrastructure and wireless technologies
transformed isolated smart devices into an interconnected ecosystem. True
14. The soldering iron is fundamental for assembling electronic components and
creating permanent electrical connections. True
15. The Barometer measures atmospheric pressure to calculate altitude with precision.
True
16. Traditional barcodes can be read from a distance without line-of-sight, unlike RFID
tags. False
17. IoT devices controlling life-critical systems, such as medical equipment, may lead
to severe or fatal consequences if they malfunction. True
18. Wearable health devices collect intimate health metrics like heart rate and sleep
patterns. True
19. IoT devices are commonly vulnerable because manufacturers prioritize security
mechanisms over cost minimization. False
20. The installation of manufacturer-provided firmware updates is the single most
effective action users can take to maintain device security. True
21. Due to resource constraints, running traditional anti-virus software is feasible for
most IoT devices. False
22. The Network and Transport Layer ensures reliable data transmission from devices to
gateways or the cloud. True
23. Bluetooth Low Energy (BLE) offers high data transfer rates, making it suitable for
video streaming applications. False
24. LoRaWAN is suitable for applications requiring large data payloads and frequent
updates. False
25. MQTT was designed specifically to work on unreliable networks with minimal
bandwidth. True
26. In the MQTT model, the Broker is responsible for logging incoming data and
triggering alerts. False
27. QoS 2 (Exactly Once) has the highest overhead but guarantees delivery with no
duplicates for critical commands. True
28. CoAP is heavier and less efficient than HTTP because it uses TCP connections.
False
29. Cloud platforms offer only basic data storage and do not provide advanced device
management or security services. False
30. Running Edge AI models increases latency because data must travel to the cloud for
processing. False
31. Predictive Maintenance uses ML algorithms to predict equipment failures, reducing
unplanned downtime by 50%. True
32. The use of hysteresis in control logic is implemented to prevent rapid on/off cycling
of an actuator. True
33. The code provided for the temperature-controlled fan uses the map() function to
adjust fan speed based on temperature. True
34. Autonomous Drone Control is an example of a Complex System requiring multi-
microprocessors and sensor fusion. True
35. The Raspberry Pi is a general-purpose computer running a full OS (like Linux), not a
pure embedded system that runs a single program repeatedly. False
36. Soft Real-Time systems tolerate some deadline misses. Hard Real-Time systems are
used for safety-critical applications where a missed deadline is catastrophic. False
37. Embedded software is typically written in C or C++ for efficiency, not Java or Python.
False
38. MQTT is generally more bandwidth-efficient than HTTP/REST due to its minimal
headers and publish/subscribe model. False
39. Engineers select MCUs that are just powerful enough for the task to minimize cost
and power consumption, not the most powerful ones. False
40. An oscilloscope is for visualizing electrical signals. A soldering iron is used for
assembly. False
41. Network segmentation is a highly recommended security practice to isolate
potentially vulnerable IoT devices. True
42. In MQTT, publishers and subscribers never communicate directly; they always
connect through a central broker. False
43. Edge AI (TinyML) runs ML models on the device itself, reducing or eliminating the
need for cloud connectivity. True
44. The Sensing and Device Layer is for raw data collection. Complex tasks like
aggregation and analytics happen in higher layers (Data and Processing Layer).
False
45. GPIO pins are used for complex protocols like I²C and SPI. False
46. Sensor Fusion techniques combine multiple sensor inputs to achieve high accuracy
in activity classification. True
47. Early detection of cardiac irregularities and fitness tracking are impacts of Wearable
Heart Rate Monitors. True
48. Traffic caused by drivers searching for parking spots accounts for less than 10% of
city traffic. False
49. Smart parking systems use LoRaWAN connectivity because of its short-range, high-
bandwidth capability. False
50. The annual cost of falls in the US was expected to reach $67.7 billion by 2020. True
51. Precision agriculture relies heavily on intuition rather than detailed data about soil
and crop health. False
52. Smart Packaging systems perform active functions, such as monitoring freshness,
beyond passive containment. True
53. Capacitors excel at measuring short distances with very good absolute accuracy.
True
54. Microcontrollers are generally more power-efficient than microprocessors. True
55. The ESP32 is characterized by utilizing the 32-bit Tensilica Xtensa architecture. True
56. Location tracking by connected cars and smartphones creates detailed maps of
everywhere a user goes. True
57. Users can manually encrypt their collected IoT data before the device sends it to the
cloud. False
58. The Perception Layer is mainly responsible for sensing and data collection from the
environment. True
59. LTE-M and NB-IoT offer worse power efficiency than traditional 4G cellular networks.
False
60. The request-response model of HTTP/REST allows efficient push-based updates,
conserving bandwidth. False