Unit 6: IoT with Thingspeak - Practice Quiz

ECE237 — Architecting Smart Iot Devices 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is ThingSpeak mainly used for in IoT projects?

Introduction to Thingspeak IoT server Easy
A. Collecting and visualizing sensor data
B. Designing mechanical components
C. Compiling desktop applications
D. Creating offline text documents

2 Where is data commonly stored within a ThingSpeak account?

Introduction to Thingspeak IoT server Easy
A. A circuit
B. A widget
C. A channel
D. A compiler

3 Which communication feature allows a NodeMCU to connect directly to ThingSpeak?

Programming NodeMCU for Thingspeak IoT server Easy
A. Built-in Wi-Fi
B. Built-in HDMI
C. Built-in NFC
D. Built-in GPS

4 What credential is commonly used to write sensor data to a ThingSpeak channel?

Programming NodeMCU for Thingspeak IoT server Easy
A. Sensor model code
B. Device MAC label
C. Write API key
D. Wi-Fi channel number

5 What is the main purpose of the Blynk IoT application?

Introduction to Blynk IoT application Easy
A. Monitoring and controlling IoT devices
B. Replacing embedded device sensors
C. Building mechanical robot frames
D. Editing videos on mobile devices

6 Which Blynk feature displays device information to a user?

Introduction to Blynk IoT application Easy
A. Dashboard widget
B. Mechanical relay
C. Serial cable
D. Power adapter

7 Which Blynk widget is suitable for switching an LED on and off?

Creating smart device with Blynk application Easy
A. Button widget
B. Chart widget
C. Image widget
D. Gauge widget

8 What must a smart device generally have to exchange data with the Blynk cloud?

Creating smart device with Blynk application Easy
A. An internet connection
B. A DVD drive
C. A satellite dish
D. A laser printer

9 Where does edge computing process data?

edge computing Easy
A. Only in a distant cloud
B. Near the end user manual
C. Near the data source
D. Only inside a database

10 What is a common benefit of edge computing in IoT?

edge computing Easy
A. Larger device packaging
B. Higher screen resolution
C. Reduced response delay
D. Increased cable length

11 What is an autonomous system designed to do?

autonomous systems Easy
A. Work without any sensors
B. Store only handwritten records
C. Operate with limited human control
D. Require continuous manual control

12 Which component helps an autonomous system detect its surroundings?

autonomous systems Easy
A. Battery cover
B. Mounting screw
C. Sensor
D. Display frame

13 Which device in a robot produces physical movement?

robotics and automation Easy
A. Actuator
B. Database
C. Firewall
D. Dashboard

14 What does automation mainly reduce in a repetitive industrial task?

robotics and automation Easy
A. Storage capacity
B. Sensor accuracy
C. Network coverage
D. Manual intervention

15 Which technique can reduce the power consumption of a battery-operated IoT device?

energy efficient designs Easy
A. Increasing display brightness
B. Sending data continuously
C. Using sleep mode
D. Keeping Wi-Fi always active

16 Why are energy-efficient designs important for remote IoT sensors?

energy efficient designs Easy
A. They reduce data accuracy
B. They extend battery life
C. They enlarge sensor size
D. They increase wiring needs

17 Which sensor is commonly used in smart irrigation systems?

internet of things in agriculture Easy
A. Fingerprint sensor
B. Smoke alarm sensor
C. Barcode reader sensor
D. Soil moisture sensor

18 How can IoT help a farmer manage crops?

internet of things in agriculture Easy
A. By monitoring field conditions
B. By eliminating the need for water
C. By removing all farm equipment
D. By preventing every plant disease

19 Which is an example of an IoT healthcare device?

internet of things in healthcare Easy
A. Mechanical wall clock
B. Printed appointment book
C. Manual filing cabinet
D. Connected heart-rate monitor

20 What is a major use of IoT in remote patient care?

internet of things in healthcare Easy
A. Replacing every healthcare worker
B. Monitoring health data
C. Printing medical textbooks
D. Manufacturing hospital furniture

21 A weather station must store temperature, humidity, and atmospheric pressure with the same timestamp. How should these measurements be organized in ThingSpeak?

Introduction to Thingspeak IoT server Medium
A. Use one channel for each timestamp
B. Use three channels with one field each
C. Use three fields within one channel
D. Use one field with three API keys

22 A developer wants a NodeMCU to upload data to a private ThingSpeak channel while allowing a dashboard to read the data. Which credential arrangement is appropriate?

Introduction to Thingspeak IoT server Medium
A. Give both systems only the ThingSpeak account password
B. Give both systems only the Wi-Fi network password
C. Give the NodeMCU the Read API key and the dashboard the Write API key
D. Give the NodeMCU the Write API key and the dashboard the Read API key

23 A NodeMCU reads a sensor successfully, but ThingSpeak receives repeated zero values whenever Wi-Fi briefly disconnects. What is the best program change?

Programming NodeMCU for Thingspeak IoT server Medium
A. Change the Read API key after every disconnection
B. Replace the channel ID whenever a transmission fails
C. Restart the sensor before every measurement and continue sending
D. Verify Wi-Fi connectivity before sending and retry after reconnection

24 A NodeMCU application calls ThingSpeak.setField(1, temperature) and ThingSpeak.setField(2, humidity). What should it do next to store both values as one channel entry?

Programming NodeMCU for Thingspeak IoT server Medium
A. Reconnect to Wi-Fi separately for each configured field
B. Call the channel write function once after setting both fields
C. Call the channel read function once for each field
D. Create a new ThingSpeak channel before each upload

25 In Blynk, a mobile dashboard widget must display a temperature value sent by a device. Which Blynk concept should connect the widget to the device value?

Introduction to Blynk IoT application Medium
A. A dashboard color assigned to an API key
B. A datastream assigned to a virtual pin
C. A Wi-Fi password assigned to a GPIO pin
D. A firmware delay assigned to an event code

26 Several identical soil-monitoring devices require the same Blynk datastreams and dashboard layout. Which setup minimizes repeated configuration?

Introduction to Blynk IoT application Medium
A. Create one template and instantiate each device from it
B. Create one automation and replace all device firmware
C. Create one virtual pin and use it as every device identity
D. Create one event and treat each sensor as a notification

27 A Blynk button uses virtual pin V1 to control a relay. What should the NodeMCU firmware do when a new value arrives on V1?

Creating smart device with Blynk application Medium
A. Convert the received value into the required relay GPIO state
B. Forward the received value to the analog input pin
C. Store the received value as the device authentication token
D. Use the received value as the Wi-Fi network name

28 A smart fan controlled through Blynk must remain switched off after the NodeMCU reboots until the latest dashboard state is obtained. Which approach best meets this requirement?

Creating smart device with Blynk application Medium
A. Initialize the relay on, delay briefly, and ignore the datastream
B. Initialize the relay off, connect to Blynk, and synchronize its datastream
C. Toggle the relay repeatedly until the dashboard widget changes
D. Write a random relay state before connecting to the network

29 A factory vibration monitor must stop a motor within milliseconds when dangerous vibration is detected, even if its cloud connection is unavailable. Where should the shutdown decision be made?

edge computing Medium
A. On the local edge controller
B. On the internet service provider router
C. On the remote cloud dashboard
D. On the historical reporting server

30 A camera produces far more data than an IoT gateway can upload. The cloud only needs the number of people entering each minute. Which edge strategy is most appropriate?

edge computing Medium
A. Upload every video frame without local processing
B. Store each frame in a separate cloud account
C. Count people locally and upload minute-level totals
D. Reduce the Wi-Fi password length before transmission

31 An autonomous irrigation controller receives a soil-moisture reading that is far outside the sensor's physical range. What is the most appropriate response?

autonomous systems Medium
A. Average the reading with the actuator's supply voltage
B. Accept the reading and run the pump at maximum power
C. Reject the reading and move to a predefined safe operating state
D. Disable all future sensor validation and continue normally

32 A greenhouse controller turns a fan on below a single temperature threshold and off above the same threshold, causing rapid switching near that value. Which change best solves the problem?

autonomous systems Medium
A. Use a second cloud account to duplicate each command
B. Use a shorter device name to improve sensor precision
C. Use a larger dashboard widget to stabilize the relay
D. Use separate on and off thresholds to create hysteresis

33 A warehouse robot uses an ultrasonic sensor to avoid obstacles. The sensor reports a distance below the safety threshold while the robot is moving forward. What should the control loop do first?

robotics and automation Medium
A. Increase motor speed before taking another reading
B. Upload the reading before changing motor output
C. Stop the drive motors before planning another path
D. Reset the robot's identity before turning sideways

34 An automated conveyor must move exactly one item whenever a photoelectric sensor detects a new object. Holding the object in front of the sensor should not trigger repeated moves. Which logic is needed?

robotics and automation Medium
A. Trigger whenever the cloud dashboard refreshes
B. Trigger continuously while the sensor remains active
C. Trigger only when the network address changes
D. Trigger on the sensor's inactive-to-active transition

35 A battery-powered soil sensor measures moisture once every 30 minutes and needs Wi-Fi only for uploading. Which operating pattern will usually provide the longest battery life?

energy efficient designs Medium
A. Wake, measure, connect, upload, and return to deep sleep
B. Refresh the cloud dashboard between sensor measurements
C. Restart repeatedly while keeping the radio fully active
D. Keep Wi-Fi connected and poll the sensor continuously

36 An IoT node draws for seconds while transmitting and for the remaining seconds of each cycle. What is its approximate average current?

energy efficient designs Medium
A.
B.
C.
D.

37 A soil-moisture sensor reports dry soil immediately after irrigation because water has not yet spread through the root zone. Which control rule best prevents overwatering?

internet of things in agriculture Medium
A. Increase the sensor update rate during every pump cycle
B. Ignore all moisture readings and irrigate continuously
C. Apply a settling delay before evaluating moisture again
D. Start a second irrigation cycle without another reading

38 A remote farm has unreliable internet access, but its irrigation system must still protect crops. Which architecture is most suitable?

internet of things in agriculture Medium
A. Run all irrigation rules in the cloud and stop during disconnections
B. Run irrigation rules locally and synchronize records when connectivity returns
C. Send commands continuously without checking sensor or network status
D. Store sensor values locally but require cloud approval for every valve action

39 A wearable heart-rate monitor briefly loses internet access while measuring a patient's pulse. Which design best preserves the clinical record?

internet of things in healthcare Medium
A. Timestamp readings locally, buffer them, and upload them after reconnection
B. Pause sensing until a dashboard user reconnects the device
C. Discard offline readings and upload only the latest measurement
D. Replace missing readings with a fixed normal heart rate

40 A connected pulse oximeter sends patient readings to a cloud service. Which design most directly protects the data while it travels across the internet?

internet of things in healthcare Medium
A. Use longer sampling intervals without device authentication
B. Use public channels with descriptive patient identifiers
C. Use encrypted transport with authenticated endpoints
D. Use plain HTTP with frequently changing dashboard colors

41 A ThingSpeak channel receives temperature samples every 20 seconds. A MATLAB Analysis job computes a 15-minute moving average whenever a new sample arrives. After a network outage, the device uploads 45 buffered samples in rapid succession with their original timestamps. Which design best preserves the intended time-based average?

Introduction to Thingspeak IoT server Hard
A. Compute the average over samples whose timestamps fall within the preceding 15 minutes
B. Compute the average over all entries received during the latest bulk upload
C. Compute the average over the latest 45 entries returned by the channel feed
D. Compute the average over entries whose sequential IDs differ by at most 45

42 A gateway must update four measurements so that consumers never observe temperature from one sampling instant combined with humidity from another. Which ThingSpeak publishing strategy best satisfies this requirement?

Introduction to Thingspeak IoT server Hard
A. Send four separate field updates with the same status text
B. Write each value to a separate channel at the same second
C. Send all four field values in one channel update request
D. Send four requests and assign them an identical client timestamp

43 A NodeMCU publishes data using HTTP. Its loop immediately retries whenever an update fails, causing watchdog resets and repeated rate-limit errors during an outage. Which retry policy is most robust?

Programming NodeMCU for Thingspeak IoT server Hard
A. Restart the NodeMCU after every failed request and resend the latest sample
B. Retry at a fixed one-second interval and discard each sample after three failures
C. Block indefinitely inside the HTTP routine until the current sample is accepted
D. Use bounded exponential backoff with jitter and retain unsent samples in a finite queue

44 A NodeMCU sends GET /update?api_key=K&field1=27.4 and receives an HTTP success response, but the response body is 0. What should the firmware conclude?

Programming NodeMCU for Thingspeak IoT server Hard
A. The sensor value was stored as zero because decimal values are unsupported
B. The channel update succeeded and created an entry whose identifier is zero
C. The Wi-Fi connection failed before ThingSpeak processed the HTTP request
D. The HTTP exchange succeeded, but ThingSpeak rejected the channel update

45 In Blynk, a temperature widget is mapped to virtual pin V3. The firmware mistakenly treats V3 as a physical GPIO number. Which statement correctly describes the fault?

Introduction to Blynk IoT application Hard
A. V3 is a logical datastream endpoint and must be handled through Blynk callbacks or writes
B. V3 is an encrypted GPIO alias that becomes physical after device provisioning
C. V3 directly selects the third ADC channel and must be read with analogRead
D. V3 identifies the third dashboard widget and cannot exchange firmware data

46 A manufacturer creates 500 identical Blynk-based devices. Each device must appear separately, retain its own state, and be revocable without affecting the others. Which identity model is appropriate?

Introduction to Blynk IoT application Hard
A. Use one device identity and rotate its token whenever any individual unit is revoked
B. Create one dashboard widget per unit while embedding the template identifier as its token
C. Use one shared device token and distinguish units only through virtual pin numbers
D. Use one template but provision a distinct device identity and token for every unit

47 A Blynk-controlled irrigation valve must close automatically after 10 minutes even if Wi-Fi disconnects immediately after the user opens it. Which architecture provides the required safety property?

Creating smart device with Blynk application Hard
A. Use a mobile-app timer that sends a close command exactly 10 minutes after opening
B. Start a local nonblocking timeout on the controller and treat Blynk as supervisory control
C. Reconnect to Blynk every minute and reset the valve whenever authentication succeeds
D. Poll a Blynk virtual pin continuously and close only when the cloud value becomes zero

48 A physical relay switch and a Blynk button can both change the same lamp. After reconnection, an old cloud value sometimes overwrites a newer physical action. Which synchronization design best resolves the conflict?

Creating smart device with Blynk application Hard
A. Attach versions or timestamps to state changes and apply a defined conflict-resolution rule
B. Alternate priority between cloud and physical commands after each reconnection
C. Always accept the cloud value because Blynk is the authoritative user interface
D. Always accept the physical switch because local inputs have lower communication latency

49 A vibration sensor samples at with 16-bit resolution. Sending raw data continuously exceeds the link budget, but bearing faults must be detected within 200 ms. Which edge strategy best meets both constraints?

edge computing Hard
A. Buffer a full day of raw samples and upload the data during a scheduled maintenance window
B. Compute short-window spectral features locally and transmit features plus anomalous segments
C. Transmit only the arithmetic mean of each hour and trigger alarms from long-term drift
D. Downsample uniformly to one sample per minute and perform all classification in the cloud

50 An edge classifier has false-negative probability per independent inference. The system raises an alarm if any of three consecutive inferences detects the event. Assuming the event persists and errors are independent, what is the probability that the event is missed by the entire three-inference rule?

edge computing Hard
A.
B.
C.
D.

51 An autonomous warehouse vehicle receives cloud-generated routes but must avoid collisions during network loss. Which allocation of responsibilities is most defensible?

autonomous systems Hard
A. Keep motor control local but wait for cloud confirmation before every emergency stop
B. Run all navigation locally and disable remote monitoring whenever the network becomes intermittent
C. Run obstacle detection in the cloud while caching only the most recent steering command locally
D. Keep collision avoidance and emergency stopping local while using the cloud for route optimization

52 Two sensors independently report obstacle probabilities and . Assuming conditional independence and treating each value as the probability that its sensor correctly detects the present obstacle, what is the probability that at least one sensor detects it?

autonomous systems Hard
A.
B.
C.
D.

53 A cloud-connected robotic arm may receive the same motion command twice because the broker retries after an acknowledgment timeout. Which command design best prevents unintended duplicate motion?

robotics and automation Hard
A. Discard any command whose target position differs from the arm's current position
B. Assign each command a unique ID and store the IDs of commands already executed
C. Acknowledge each command before validating its parameters or executing its movement
D. Increase motor speed so a repeated command finishes before the retry is delivered

54 A pick-and-place robot uses an IoT camera for object localization. End-to-end image processing latency varies unpredictably between 40 ms and 500 ms. The conveyor moves continuously. Which change most directly reduces placement error caused by this jitter?

robotics and automation Hard
A. Timestamp observations and predict object position at the planned actuation time
B. Use the latest received position as though it were measured at actuation time
C. Increase camera resolution while leaving timing and motion estimation unchanged
D. Average all object coordinates received since the conveyor was initially started

55 A battery-powered sensor consumes for 2 seconds while measuring and transmitting, then during 298 seconds of deep sleep. Ignoring battery self-discharge, what is its approximate average current over one cycle?

energy efficient designs Hard
A.
B.
C.
D.

56 An IoT node currently sends one packet for each of ten sensor readings. Radio startup consumes more energy than transmitting several additional bytes. Latency permits all ten readings to be delayed. Which redesign most likely saves the most energy?

energy efficient designs Hard
A. Maintain the radio connection continuously to eliminate repeated authentication messages
B. Aggregate ten readings and transmit them during one radio connection
C. Transmit each reading separately at a lower application-layer sampling precision
D. Increase transmit power so each of the ten packets completes more quickly

57 A soil-moisture probe reads unusually dry every afternoon because soil temperature affects its output. Irrigation based directly on the raw threshold causes systematic overwatering. Which solution best addresses the root cause?

internet of things in agriculture Hard
A. Average the moisture readings across the entire day before opening the irrigation valve
B. Raise the raw moisture threshold until afternoon irrigation events become less frequent
C. Calibrate moisture against temperature and soil type, then apply compensated thresholds
D. Replace threshold control with fixed-duration irrigation at the same time every afternoon

58 A farm gateway receives delayed soil measurements after connectivity returns. Each message contains both a sensor sampling timestamp and a gateway arrival timestamp. Which timestamp should primarily determine whether the measurement is valid for immediate irrigation control?

internet of things in agriculture Hard
A. The average of both timestamps, because it compensates for variable network delay
B. The sampling timestamp, combined with an explicit maximum acceptable measurement age
C. The gateway arrival timestamp, because it records when the controller first saw the data
D. The later timestamp, because it conservatively represents the freshest possible reading

59 A wearable heart monitor uploads alerts to an IoT platform. The network may fail for several minutes, but dangerous rhythms require an immediate response. Which architecture best manages this risk?

internet of things in healthcare Hard
A. Detect critical rhythms locally, alert the wearer locally, and synchronize records when connectivity returns
B. Store all samples locally and postpone both analysis and notification until the next successful upload
C. Upload every raw sample and allow only the cloud model to decide whether an alert is necessary
D. Reduce the sampling rate during disconnection so the network can recover before analysis resumes

60 A hospital dashboard receives pulse-oximeter data through an at-least-once delivery channel, so some records arrive more than once and others arrive out of order. Which record structure best supports correct reconstruction of each patient's time series?

internet of things in healthcare Hard
A. Patient-scoped device ID, measurement timestamp, sequence number, and unique message ID
B. Shared device type, server processing time, packet size, and retry counter
C. Patient name, dashboard arrival time, current oxygen value, and room number
D. Ward identifier, latest displayed value, connection state, and alarm priority