← Home
MECHANICAL ENGINEERING MCQ

Fundamentals of IoT and Sensors

IOT

Q1. Expand IOT
Correct Answer: A   |   Marks: 1
Q2. The primary purpose of the Internet of Things (IoT) is to:
Correct Answer: A   |   Marks: 1
Q3. Which IoT component primarily converts a physical quantity into an electrical signal?
Correct Answer: B   |   Marks: 1
Q4. Which characteristic is most closely associated with IoT?
Correct Answer: C   |   Marks: 1
Q5. In a typical IoT system, the sensing layer is mainly responsible for:
Correct Answer: D   |   Marks: 1
Q6. Which layer commonly provides IP networking and data transport in an IoT architecture?
Correct Answer: A   |   Marks: 1
Q7. An actuator in an IoT system is used to:
Correct Answer: B   |   Marks: 1
Q8. Which device is commonly used to measure temperature electronically?
Correct Answer: C   |   Marks: 1
Q9. A thermocouple works primarily on the:
Correct Answer: D   |   Marks: 1
Q10. A piezoelectric transducer is particularly suitable for measuring:
Correct Answer: A   |   Marks: 1
Q11. Which is an example of an active transducer?
Correct Answer: B   |   Marks: 1
Q12. Arduino Uno is commonly based on which microcontroller?
Correct Answer: C   |   Marks: 1
Q13. Which Arduino function is normally executed repeatedly after setup()?
Correct Answer: D   |   Marks: 1
Q14. Which Arduino function configures a pin as INPUT or OUTPUT?
Correct Answer: A   |   Marks: 1
Q15. Which Arduino function reads the logic state of a digital input?
Correct Answer: B   |   Marks: 1
Q16. Which Arduino function drives a digital output HIGH or LOW?
Correct Answer: C   |   Marks: 1
Q17. On a typical Arduino Uno, analogRead() uses a:
Correct Answer: D   |   Marks: 1
Q18. A microcontroller generally integrates:
Correct Answer: A   |   Marks: 1
Q19. A microprocessor differs from a typical microcontroller mainly because it:
Correct Answer: B   |   Marks: 1
Q20. GPIO stands for:
Correct Answer: C   |   Marks: 1
Q21. Which communication interface is commonly used for a single master with multiple addressed peripheral devices using two wires?
Correct Answer: D   |   Marks: 1
Q22. ESP32 is widely known for integrating:
Correct Answer: A   |   Marks: 1
Q23. Which feature is generally associated with ESP32 rather than the classic Arduino Uno?
Correct Answer: B   |   Marks: 1
Q24. A relay in a home-automation circuit is commonly used to:
Correct Answer: C   |   Marks: 1
Q25. A smart irrigation system most directly uses soil-moisture data to:
Correct Answer: D   |   Marks: 1
Q26. A smart health-care IoT device may commonly monitor:
Correct Answer: A   |   Marks: 1
Q27. A smart lighting system often uses a light sensor to:
Correct Answer: B   |   Marks: 1
Q28. Smart parking systems commonly use sensors to determine:
Correct Answer: C   |   Marks: 1
Q29. MQTT is widely used in IoT because it is:
Correct Answer: D   |   Marks: 1
Q30. In MQTT, a broker primarily:
Correct Answer: A   |   Marks: 1
Q31. Edge computing in IoT means:
Correct Answer: B   |   Marks: 1
Q32. Which is an example of an IoT gateway function?
Correct Answer: C   |   Marks: 1
Q33. A transducer that converts electrical energy into mechanical motion is generally an:
Correct Answer: D   |   Marks: 1
Q34. An LDR changes its resistance mainly with:
Correct Answer: A   |   Marks: 1
Q35. An ultrasonic sensor estimates distance using:
Correct Answer: B   |   Marks: 1
Q36. A PIR sensor is primarily used to detect:
Correct Answer: C   |   Marks: 1
Q37. In an IoT architecture, why is a gateway often placed between constrained sensor nodes and the cloud?
Correct Answer: D   |   Marks: 1
Q38. Which statement best distinguishes a sensor from a transducer?
Correct Answer: A   |   Marks: 1
Q39. For a resistive sensor used with an ADC, a voltage-divider interface is useful because it:
Correct Answer: B   |   Marks: 1
Q40. A 10-bit ADC has how many distinct output codes?
Correct Answer: C   |   Marks: 1
Q41. If an Arduino input is configured with INPUT_PULLUP, an externally connected pushbutton to ground will normally read:
Correct Answer: D   |   Marks: 1
Q42. Why is debouncing required for a mechanical pushbutton?
Correct Answer: A   |   Marks: 1
Q43. Which ESP32 capability is especially useful for a sensor node that must connect directly to a wireless LAN?
Correct Answer: B   |   Marks: 1
Q44. A finite-state machine is useful in home automation because it:
Correct Answer: C   |   Marks: 1
Q45. For battery-powered IoT nodes, deep sleep is primarily used to:
Correct Answer: D   |   Marks: 1
Q46. A common reason to perform edge filtering before cloud transmission is to:
Correct Answer: A   |   Marks: 1
Q47. In a smart irrigation system, hysteresis around a moisture threshold helps to:
Correct Answer: B   |   Marks: 1
Q48. For safe control of a water pump, a controller output should generally drive:
Correct Answer: C   |   Marks: 1
Q49. Which communication pattern is native to MQTT?
Correct Answer: D   |   Marks: 1
Q50. If a smart-health sensor loses network connectivity, a robust design can:
Correct Answer: A   |   Marks: 1
Q51. Why is galvanic isolation useful when a microcontroller controls a mains load?
Correct Answer: B   |   Marks: 1
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
Q53. A digital temperature sensor sends 20 samples per second. How many samples are produced in 5 minutes?
Correct Answer: D   |   Marks: 1
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
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
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
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
Q58. A 5 V sensor draws 20 mA. What is its electrical power consumption?
Correct Answer: A   |   Marks: 1
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
Q60. A parking sensor reports an occupied space every 4 seconds. How many reports are generated in 30 minutes?
Correct Answer: C   |   Marks: 1
Q61. An ESP32 application samples a sensor at 100 Hz. How many samples are collected in 2.5 minutes?
Correct Answer: D   |   Marks: 1
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
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
Q64. A relay coil is driven from 5 V and draws 70 mA. What is the coil power?
Correct Answer: C   |   Marks: 1
Q65. An ADC has 1024 codes over 0–5 V. What is its approximate voltage resolution per code?
Correct Answer: D   |   Marks: 1
Q66. A smart irrigation pump runs for 6 minutes each hour. Over 8 hours, how many minutes does it operate?
Correct Answer: A   |   Marks: 1
Q67. A 10-bit ADC with a 3.3 V reference receives 1.65 V. The ideal output code is approximately:
Correct Answer: B   |   Marks: 1
Q68. An ESP32 sends a 100-byte payload every 2 seconds for 10 minutes. Ignoring protocol overhead, total payload is:
Correct Answer: C   |   Marks: 1
Q69. A soil sensor has a 0–3.0 V output corresponding linearly to 0–100% moisture. At 2.1 V, the indicated moisture is:
Correct Answer: D   |   Marks: 1
Q70. A 3.3 V GPIO drives an LED through a 220-ohm resistor. Assuming an LED drop of 2.1 V, the current is approximately:
Correct Answer: A   |   Marks: 1
Q71. A sensor consumes 40 mA for 0.5 s every 10 s and is otherwise off. What is its average current, ignoring sleep current?
Correct Answer: B   |   Marks: 1
Q72. A smart-light network contains 24 lamps, each consuming 8 W when ON. If 75% are ON simultaneously, total power is:
Correct Answer: C   |   Marks: 1
Q73. An ultrasonic sensor returns an echo after 11.76 ms. With sound speed 340 m/s, the target distance is approximately:
Correct Answer: D   |   Marks: 1
Q74. A battery-powered node draws 120 mA for 2 minutes every 20 minutes and 2 mA otherwise. Its average current is approximately:
Correct Answer: A   |   Marks: 1
Q75. For an IoT system controlling a safety-critical actuator, which architecture best limits dependence on cloud availability?
Correct Answer: B   |   Marks: 1
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
Q77. In MQTT, QoS 1 provides:
Correct Answer: D   |   Marks: 1
Q78. A retained MQTT message is useful when:
Correct Answer: A   |   Marks: 1
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
Q80. A sensor has random noise but negligible bias. Averaging repeated independent measurements generally:
Correct Answer: C   |   Marks: 1
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
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
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
Q84. For an analog sensor connected to an ADC, aliasing can occur when:
Correct Answer: C   |   Marks: 1
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
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
Q87. An IoT device uses a bootloader to support firmware updates. A secure update mechanism should include:
Correct Answer: B   |   Marks: 1
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
Q89. A transducer's static sensitivity is defined as:
Correct Answer: D   |   Marks: 1
Q90. A high common-mode rejection ratio (CMRR) is especially important when:
Correct Answer: A   |   Marks: 1
Q91. Why is an anti-aliasing filter placed before an ADC?
Correct Answer: B   |   Marks: 1
Q92. A smart parking algorithm should distinguish sensor uncertainty from occupancy logic because:
Correct Answer: C   |   Marks: 1
Q93. For an IoT system with intermittent connectivity, store-and-forward means:
Correct Answer: D   |   Marks: 1
Q94. A secure boot mechanism is intended primarily to:
Correct Answer: A   |   Marks: 1
Q95. In a distributed IoT system, least privilege means:
Correct Answer: B   |   Marks: 1
Q96. A Kalman filter is conceptually useful when:
Correct Answer: C   |   Marks: 1
Q97. A smart-health system should separate raw sensor data from clinical interpretation because:
Correct Answer: D   |   Marks: 1
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
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
Q100. A 3.3 V, 12-bit ADC measures 2.475 V. The ideal ADC code is approximately:
Correct Answer: C   |   Marks: 1
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