Q2. The primary purpose of the Internet of Things (IoT) is to:
Correct Answer: A | Marks: 1
Explanation:
IoT connects physical objects with sensing, processing and communication so that data can be collected and useful actions can be performed.
Q3. Which IoT component primarily converts a physical quantity into an electrical signal?
Correct Answer: B | Marks: 1
Explanation:
A sensor or transducer detects a physical quantity such as temperature or pressure and produces a corresponding electrical signal.
Q4. Which characteristic is most closely associated with IoT?
Correct Answer: C | Marks: 1
Explanation:
Connectivity is fundamental to IoT because devices exchange data with gateways, networks, cloud services or other devices.
Q5. In a typical IoT system, the sensing layer is mainly responsible for:
Correct Answer: D | Marks: 1
Explanation:
The sensing/perception layer interfaces with the physical world through sensors and transducers.
Q6. Which layer commonly provides IP networking and data transport in an IoT architecture?
Correct Answer: A | Marks: 1
Explanation:
The network layer carries sensor data between edge devices, gateways and processing/cloud systems using communication technologies.
Q7. An actuator in an IoT system is used to:
Correct Answer: B | Marks: 1
Explanation:
An actuator converts an electrical/control command into a physical action, such as opening a valve or switching a motor.
Q8. Which device is commonly used to measure temperature electronically?
Correct Answer: C | Marks: 1
Explanation:
A thermistor changes resistance with temperature and is widely used for temperature sensing.
Q9. A thermocouple works primarily on the:
Correct Answer: D | Marks: 1
Explanation:
A thermocouple generates a thermoelectric voltage due to a temperature difference between its junctions, known as the Seebeck effect.
Q10. A piezoelectric transducer is particularly suitable for measuring:
Correct Answer: A | Marks: 1
Explanation:
Piezoelectric materials generate charge when mechanically stressed, making them useful for vibration and dynamic force measurements.
Q11. Which is an example of an active transducer?
Correct Answer: B | Marks: 1
Explanation:
A thermocouple is self-generating: its temperature difference produces a thermoelectric voltage without an external excitation supply.
Q12. Arduino Uno is commonly based on which microcontroller?
Correct Answer: C | Marks: 1
Explanation:
The classic Arduino Uno R3 uses the ATmega328P 8-bit AVR microcontroller.
Q13. Which Arduino function is normally executed repeatedly after setup()?
Correct Answer: D | Marks: 1
Explanation:
Arduino sketches normally contain setup(), which runs once, and loop(), which executes repeatedly.
Q14. Which Arduino function configures a pin as INPUT or OUTPUT?
Correct Answer: A | Marks: 1
Explanation:
pinMode(pin, mode) configures a digital pin for INPUT, OUTPUT, or related modes.
Q15. Which Arduino function reads the logic state of a digital input?
Correct Answer: B | Marks: 1
Explanation:
digitalRead() returns the logic state of a digital input pin.
Q16. Which Arduino function drives a digital output HIGH or LOW?
Correct Answer: C | Marks: 1
Explanation:
digitalWrite() sets a digital output to HIGH or LOW.
Q17. On a typical Arduino Uno, analogRead() uses a:
Correct Answer: D | Marks: 1
Explanation:
The Uno's ADC is 10-bit, giving 1024 quantization levels, normally represented from 0 to 1023.
Q18. A microcontroller generally integrates:
Correct Answer: A | Marks: 1
Explanation:
Microcontrollers integrate a processor core with memory and peripherals such as GPIO, timers and communication interfaces.
Q19. A microprocessor differs from a typical microcontroller mainly because it:
Correct Answer: B | Marks: 1
Explanation:
A conventional microprocessor is primarily a CPU and generally uses external memory and peripheral chips, whereas a microcontroller integrates many of them.
Q20. GPIO stands for:
Correct Answer: C | Marks: 1
Explanation:
GPIO means General Purpose Input/Output and refers to configurable digital pins used to interface with external circuits.
Q21. Which communication interface is commonly used for a single master with multiple addressed peripheral devices using two wires?
Correct Answer: D | Marks: 1
Explanation:
I2C uses SDA and SCL and supports addressed devices on a shared two-wire bus.
Q22. ESP32 is widely known for integrating:
Correct Answer: A | Marks: 1
Explanation:
Many ESP32 variants integrate Wi-Fi and Bluetooth/BLE, making them popular for connected embedded applications.
Q23. Which feature is generally associated with ESP32 rather than the classic Arduino Uno?
Correct Answer: B | Marks: 1
Explanation:
ESP32 devices provide integrated wireless connectivity, while the classic Uno does not have built-in Wi-Fi or Bluetooth.
Q24. A relay in a home-automation circuit is commonly used to:
Correct Answer: C | Marks: 1
Explanation:
A relay provides electrical isolation and allows a low-power controller output to control a higher-power circuit, within its ratings.
Q25. A smart irrigation system most directly uses soil-moisture data to:
Correct Answer: D | Marks: 1
Explanation:
Soil-moisture sensing provides feedback that can be used to start or stop irrigation based on the moisture threshold.
Q26. A smart health-care IoT device may commonly monitor:
Correct Answer: A | Marks: 1
Explanation:
Wearable and remote-monitoring devices can collect physiological variables such as heart rate, temperature and oxygen saturation.
Q27. A smart lighting system often uses a light sensor to:
Correct Answer: B | Marks: 1
Explanation:
Ambient-light sensing can be used to switch or dim lights according to available natural illumination.
Q28. Smart parking systems commonly use sensors to determine:
Correct Answer: C | Marks: 1
Explanation:
Parking sensors detect vehicle presence in individual spaces and can report availability to a controller or application.
Q29. MQTT is widely used in IoT because it is:
Correct Answer: D | Marks: 1
Explanation:
MQTT uses a lightweight publish/subscribe model suited to devices and networks with limited resources.
Q30. In MQTT, a broker primarily:
Correct Answer: A | Marks: 1
Explanation:
The MQTT broker receives published messages and forwards them to subscribers according to topics.
Q31. Edge computing in IoT means:
Correct Answer: B | Marks: 1
Explanation:
Edge computing places computation near devices, reducing latency, bandwidth use and dependence on remote processing.
Q32. Which is an example of an IoT gateway function?
Correct Answer: C | Marks: 1
Explanation:
A gateway can aggregate sensor data and translate between local device protocols and IP/cloud protocols.
Q33. A transducer that converts electrical energy into mechanical motion is generally an:
Correct Answer: D | Marks: 1
Explanation:
Actuators convert electrical/control energy into physical effects such as motion.
Q34. An LDR changes its resistance mainly with:
Correct Answer: A | Marks: 1
Explanation:
A light-dependent resistor changes resistance with illumination and is therefore useful for light sensing.
Q35. An ultrasonic sensor estimates distance using:
Correct Answer: B | Marks: 1
Explanation:
The sensor sends an ultrasonic pulse and determines distance from the echo time and known speed of sound.
Q36. A PIR sensor is primarily used to detect:
Correct Answer: C | Marks: 1
Explanation:
PIR sensors detect changes in infrared radiation from warm moving objects and are common in occupancy/security systems.
Q37. In an IoT architecture, why is a gateway often placed between constrained sensor nodes and the cloud?
Correct Answer: D | Marks: 1
Explanation:
A gateway can aggregate data, translate protocols, provide security functions and perform local processing before forwarding information to cloud services.
Q38. Which statement best distinguishes a sensor from a transducer?
Correct Answer: A | Marks: 1
Explanation:
Sensor and transducer are often used interchangeably in IoT, but transducer emphasizes energy/quantity conversion while a sensor emphasizes detection/measurement.
Q39. For a resistive sensor used with an ADC, a voltage-divider interface is useful because it:
Correct Answer: B | Marks: 1
Explanation:
A voltage divider maps resistance changes to voltage changes, allowing a microcontroller ADC to quantify the sensor output.
Q40. A 10-bit ADC has how many distinct output codes?
Correct Answer: C | Marks: 1
Explanation:
An N-bit ADC has 2^N codes. For 10 bits, 2^10 = 1024 codes, normally numbered 0 through 1023.
Q41. If an Arduino input is configured with INPUT_PULLUP, an externally connected pushbutton to ground will normally read:
Correct Answer: D | Marks: 1
Explanation:
The internal pull-up biases the input HIGH; pressing a switch connected to ground pulls it LOW.
Q42. Why is debouncing required for a mechanical pushbutton?
Correct Answer: A | Marks: 1
Explanation:
Contact bounce creates several rapid HIGH/LOW transitions, which software or hardware debouncing filters into one intended event.
Q43. Which ESP32 capability is especially useful for a sensor node that must connect directly to a wireless LAN?
Correct Answer: B | Marks: 1
Explanation:
Integrated Wi-Fi lets many ESP32 boards communicate with an access point without a separate Wi-Fi module.
Q44. A finite-state machine is useful in home automation because it:
Correct Answer: C | Marks: 1
Explanation:
States such as HOME, AWAY and NIGHT can have explicit transition rules based on occupancy, time or commands.
Q45. For battery-powered IoT nodes, deep sleep is primarily used to:
Correct Answer: D | Marks: 1
Explanation:
Deep-sleep modes turn off or reduce many functions so the device consumes much less energy while inactive.
Q46. A common reason to perform edge filtering before cloud transmission is to:
Correct Answer: A | Marks: 1
Explanation:
Filtering can suppress noise and event detection can prevent redundant samples from consuming bandwidth and cloud resources.
Q47. In a smart irrigation system, hysteresis around a moisture threshold helps to:
Correct Answer: B | Marks: 1
Explanation:
If separate ON and OFF thresholds are used, small fluctuations near one threshold do not cause repeated pump switching.
Q48. For safe control of a water pump, a controller output should generally drive:
Correct Answer: C | Marks: 1
Explanation:
Microcontroller GPIO pins cannot safely supply typical pump current. A rated driver stage provides current capability and protection.
Q49. Which communication pattern is native to MQTT?
Correct Answer: D | Marks: 1
Explanation:
MQTT uses topics with publishers sending messages and subscribers receiving messages through a broker.
Q50. If a smart-health sensor loses network connectivity, a robust design can:
Correct Answer: A | Marks: 1
Explanation:
Local buffering prevents data loss during temporary network outages and supports delayed synchronization.
Q51. Why is galvanic isolation useful when a microcontroller controls a mains load?
Correct Answer: B | Marks: 1
Explanation:
Isolation reduces the direct electrical connection between low-voltage electronics and hazardous/high-energy circuits; appropriate protection is still required.
Q52. An Arduino Uno 10-bit ADC uses a 5.0 V reference. What digital code is approximately obtained for an input of 2.5 V?
Correct Answer: C | Marks: 1
Explanation:
For an ideal 10-bit ADC, code ≈ Vin/Vref × 1023 = 2.5/5 × 1023 ≈ 512.
Q53. A digital temperature sensor sends 20 samples per second. How many samples are produced in 5 minutes?
Q54. An IoT node transmits 80 bytes every 10 seconds. Ignoring protocol overhead, how many bytes are transmitted in 1 hour?
Correct Answer: A | Marks: 1
Explanation:
There are 360 ten-second intervals in an hour, so 80 × 360 = 28,800 bytes.
Q55. A soil-moisture sensor outputs 1.0 V at dry condition and 3.0 V at wet condition. If the ADC input is 2.0 V and the relation is linear, the normalized moisture fraction is:
Correct Answer: B | Marks: 1
Explanation:
The fraction is (2.0−1.0)/(3.0−1.0)=1/2=0.50.
Q56. A 12-bit ADC has a 3.3 V reference. What is the approximate voltage represented by code 2048 using code/Vref × Vref approximation?
Correct Answer: C | Marks: 1
Explanation:
2048 is approximately half of 4096 codes, so the corresponding input is about 3.3/2 = 1.65 V.
Q57. A smart light is rated 12 W and operates for 10 hours per day. What energy does it consume per day?
Correct Answer: D | Marks: 1
Explanation:
Energy = power × time = 12 W × 10 h = 120 Wh.
Q58. A 5 V sensor draws 20 mA. What is its electrical power consumption?
Correct Answer: A | Marks: 1
Explanation:
P = VI = 5 × 0.020 = 0.10 W.
Q59. A battery has a nominal capacity of 2000 mAh. An IoT node draws 100 mA continuously. Ignoring losses, its ideal operating time is:
Correct Answer: B | Marks: 1
Explanation:
Ideal time = capacity/current = 2000 mAh / 100 mA = 20 h.
Q60. A parking sensor reports an occupied space every 4 seconds. How many reports are generated in 30 minutes?
Correct Answer: C | Marks: 1
Explanation:
Thirty minutes is 1800 s. Reports = 1800/4 = 450.
Q61. An ESP32 application samples a sensor at 100 Hz. How many samples are collected in 2.5 minutes?
Correct Answer: D | Marks: 1
Explanation:
2.5 min = 150 s. Samples = 100 × 150 = 15,000.
Q62. A 16-channel smart-light controller uses 2 bits to encode each of four lighting states. How many bits are needed for one complete state record of all 16 channels?
Correct Answer: A | Marks: 1
Explanation:
Each channel needs 2 bits, so 16 × 2 = 32 bits.
Q63. An ultrasonic sensor measures an echo time of 5.8 ms. If the speed of sound is 340 m/s, what is the approximate one-way distance?
Correct Answer: B | Marks: 1
Explanation:
The pulse travels to the object and back, so d = vt/2 = 340 × 0.0058 / 2 ≈ 0.986 m.
Q64. A relay coil is driven from 5 V and draws 70 mA. What is the coil power?
Correct Answer: C | Marks: 1
Explanation:
P = VI = 5 × 0.070 = 0.35 W.
Q65. An ADC has 1024 codes over 0–5 V. What is its approximate voltage resolution per code?
Correct Answer: D | Marks: 1
Explanation:
Resolution ≈ 5/1024 V = 0.0048828 V ≈ 4.88 mV per code.
Q66. A smart irrigation pump runs for 6 minutes each hour. Over 8 hours, how many minutes does it operate?
Q75. For an IoT system controlling a safety-critical actuator, which architecture best limits dependence on cloud availability?
Correct Answer: B | Marks: 1
Explanation:
Time-critical and safety-related actions should have local control and fail-safe behavior; the cloud can support monitoring, history and higher-level analytics.
Q76. A sensor network experiences packet loss that is correlated with high motor current. The most appropriate first engineering investigation is:
Correct Answer: C | Marks: 1
Explanation:
Motor switching can create conducted/radiated EMI and supply disturbances. Checking wiring, grounding, decoupling and physical separation is an appropriate first diagnosis.
Q77. In MQTT, QoS 1 provides:
Correct Answer: D | Marks: 1
Explanation:
QoS 1 uses acknowledgement and can result in duplicate delivery; applications should tolerate or handle duplicates where necessary.
Q78. A retained MQTT message is useful when:
Correct Answer: A | Marks: 1
Explanation:
A retained message lets a new subscriber obtain the latest retained state immediately after subscribing.
Q79. A smart-health wearable sends personally identifiable measurements to a cloud service. Which control most directly protects confidentiality in transit?
Correct Answer: B | Marks: 1
Explanation:
TLS can provide encryption and endpoint authentication for data transmitted between device/gateway and service, when correctly configured.
Q80. A sensor has random noise but negligible bias. Averaging repeated independent measurements generally:
Correct Answer: C | Marks: 1
Explanation:
For independent random noise, averaging N samples reduces the standard deviation of the mean by approximately sqrt(N), while systematic bias remains.
Q81. A control loop for irrigation has a very slow moisture response. Increasing controller sampling frequency alone will not necessarily improve performance because:
Correct Answer: D | Marks: 1
Explanation:
The plant-soil system has slow dynamics. Control design must consider process response, hysteresis, delays and actuator constraints, not just sample rate.
Q82. A smart-lighting system uses occupancy and ambient light. During daylight, an occupied room should remain dim unless illumination falls below a threshold. This is an example of:
Correct Answer: A | Marks: 1
Explanation:
The decision combines multiple sensor conditions to determine the lighting command, which is a simple form of sensor fusion and rule-based control.
Q83. A 3.3 V microcontroller GPIO is not 5 V tolerant. Directly connecting a 5 V digital output can:
Correct Answer: B | Marks: 1
Explanation:
A non-5-V-tolerant input should not be driven above its specified voltage. A suitable level shifter or divider/interface should be used.
Q84. For an analog sensor connected to an ADC, aliasing can occur when:
Correct Answer: C | Marks: 1
Explanation:
Sampling above the Nyquist requirement is necessary but not sufficient; an anti-aliasing low-pass filter is commonly used to attenuate higher-frequency components.
Q85. A smart parking system uses multiple sensors whose clocks drift relative to each other. For reliable event correlation, it is useful to:
Correct Answer: D | Marks: 1
Explanation:
Common or corrected time bases allow events from different nodes to be aligned for occupancy and analytics.
Q86. A cloud-connected irrigation system loses WAN connectivity but still has local sensor and actuator access. A resilient design should:
Correct Answer: A | Marks: 1
Explanation:
Local autonomy provides continuity during network outages, while later synchronization restores cloud visibility.
Q87. An IoT device uses a bootloader to support firmware updates. A secure update mechanism should include:
Correct Answer: B | Marks: 1
Explanation:
Authenticity and integrity checks help prevent unauthorized or corrupted firmware from being installed.
Q88. A strain-gauge bridge has a very small differential output. A high common-mode rejection instrumentation amplifier is useful because:
Correct Answer: C | Marks: 1
Explanation:
Instrumentation amplifiers are designed for accurate differential amplification with high input impedance and high common-mode rejection.
Q89. A transducer's static sensitivity is defined as:
Correct Answer: D | Marks: 1
Explanation:
Sensitivity is the slope of the input-output characteristic, i.e., change in output divided by change in measurand.
Q90. A high common-mode rejection ratio (CMRR) is especially important when:
Correct Answer: A | Marks: 1
Explanation:
High CMRR allows an amplifier to reject common-mode components while accurately amplifying the desired differential signal.
Q91. Why is an anti-aliasing filter placed before an ADC?
Correct Answer: B | Marks: 1
Explanation:
The filter limits the analog bandwidth before sampling so unwanted high-frequency components do not fold into lower frequencies.
Q92. A smart parking algorithm should distinguish sensor uncertainty from occupancy logic because:
Correct Answer: C | Marks: 1
Explanation:
Separating measurement processing from decision logic allows filtering, hysteresis and confidence rules to reduce false detections.
Q93. For an IoT system with intermittent connectivity, store-and-forward means:
Correct Answer: D | Marks: 1
Explanation:
Store-and-forward preserves locally collected data and forwards it after connectivity is restored.
Q94. A secure boot mechanism is intended primarily to:
Correct Answer: A | Marks: 1
Explanation:
Secure boot establishes a chain of trust so unauthorized firmware is rejected before execution.
Q95. In a distributed IoT system, least privilege means:
Correct Answer: B | Marks: 1
Explanation:
Least privilege limits the impact of credential compromise or software faults by minimizing unnecessary permissions.
Q96. A Kalman filter is conceptually useful when:
Correct Answer: C | Marks: 1
Explanation:
Kalman filtering combines a system model and noisy observations to estimate hidden states under suitable assumptions.
Q97. A smart-health system should separate raw sensor data from clinical interpretation because:
Correct Answer: D | Marks: 1
Explanation:
Raw measurements require technical validation, while clinical interpretation requires appropriate domain validation, safety controls and context.
Q98. A home-automation system uses a local controller for door locks while the cloud provides analytics. This architecture primarily demonstrates:
Correct Answer: A | Marks: 1
Explanation:
Local control keeps time-critical functions available during network outages while cloud services provide storage and analytics.
Q99. A smart irrigation valve requires 500 mA but an MCU GPIO can safely source only 12 mA. The appropriate engineering solution is:
Correct Answer: B | Marks: 1
Explanation:
A power driver stage supplies the valve current while the MCU controls it. Inductive loads also require suitable transient/flyback protection.
Q100. A 3.3 V, 12-bit ADC measures 2.475 V. The ideal ADC code is approximately:
Correct Answer: C | Marks: 1
Explanation:
The fraction of full scale is 2.475/3.3 = 0.75. Thus code ≈ 0.75×4095 ≈ 3071.
Q101. A sensor node draws 10 mA continuously and 90 mA for 1 second every 30 seconds. Its average current is approximately:
Correct Answer: D | Marks: 1
Explanation:
Average current = 10 + (90−10)×(1/30) = 10 + 2.667 = 12.67 mA.