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. Compiling desktop applications
B. Creating offline text documents
C. Designing mechanical components
D. Collecting and visualizing sensor data

2 Where is data commonly stored within a ThingSpeak account?

Introduction to Thingspeak IoT server Easy
A. A channel
B. A widget
C. A circuit
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 NFC
B. Built-in HDMI
C. Built-in GPS
D. Built-in Wi-Fi

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

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

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

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

6 Which Blynk feature displays device information to a user?

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

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. Gauge widget
D. Image 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 laser printer
C. A satellite dish
D. A DVD drive

9 Where does edge computing process data?

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

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

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

11 What is an autonomous system designed to do?

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

12 Which component helps an autonomous system detect its surroundings?

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

13 Which device in a robot produces physical movement?

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

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

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

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

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

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

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

17 Which sensor is commonly used in smart irrigation systems?

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

18 How can IoT help a farmer manage crops?

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

19 Which is an example of an IoT healthcare device?

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

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. Manufacturing hospital furniture
D. Printing medical textbooks

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 three channels with one field each
B. Use one field with three API keys
C. Use one channel for each timestamp
D. Use three fields within one channel

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 the NodeMCU the Write API key and the dashboard the Read API key
B. Give both systems only the ThingSpeak account password
C. Give the NodeMCU the Read API key and the dashboard the Write API key
D. Give both systems only the Wi-Fi network password

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. Restart the sensor before every measurement and continue sending
B. Change the Read API key after every disconnection
C. Replace the channel ID whenever a transmission fails
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. Create a new ThingSpeak channel before each upload
B. Call the channel read function once for each field
C. Call the channel write function once after setting both fields
D. Reconnect to Wi-Fi separately for each configured field

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 firmware delay assigned to an event code
B. A dashboard color assigned to an API key
C. A Wi-Fi password assigned to a GPIO pin
D. A datastream assigned to a virtual pin

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 automation and replace all device firmware
B. Create one event and treat each sensor as a notification
C. Create one template and instantiate each device from it
D. Create one virtual pin and use it as every device identity

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. Forward the received value to the analog input pin
B. Use the received value as the Wi-Fi network name
C. Convert the received value into the required relay GPIO state
D. Store the received value as the device authentication token

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. Toggle the relay repeatedly until the dashboard widget changes
C. Initialize the relay off, connect to Blynk, and synchronize its datastream
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 historical reporting server
B. On the remote cloud dashboard
C. On the internet service provider router
D. On the local edge controller

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. Reduce the Wi-Fi password length before transmission
B. Upload every video frame without local processing
C. Count people locally and upload minute-level totals
D. Store each frame in a separate cloud account

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. Reject the reading and move to a predefined safe operating state
B. Disable all future sensor validation and continue normally
C. Average the reading with the actuator's supply voltage
D. Accept the reading and run the pump at maximum power

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 shorter device name to improve sensor precision
B. Use a larger dashboard widget to stabilize the relay
C. Use separate on and off thresholds to create hysteresis
D. Use a second cloud account to duplicate each command

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. Upload the reading before changing motor output
B. Reset the robot's identity before turning sideways
C. Increase motor speed before taking another reading
D. Stop the drive motors before planning another path

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 on the sensor's inactive-to-active transition
B. Trigger whenever the cloud dashboard refreshes
C. Trigger continuously while the sensor remains active
D. Trigger only when the network address changes

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. Refresh the cloud dashboard between sensor measurements
B. Keep Wi-Fi connected and poll the sensor continuously
C. Wake, measure, connect, upload, and return to deep sleep
D. Restart repeatedly while keeping the radio fully active

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. Apply a settling delay before evaluating moisture again
B. Ignore all moisture readings and irrigate continuously
C. Start a second irrigation cycle without another reading
D. Increase the sensor update rate during every pump cycle

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. Store sensor values locally but require cloud approval for every valve action
B. Run irrigation rules locally and synchronize records when connectivity returns
C. Send commands continuously without checking sensor or network status
D. Run all irrigation rules in the cloud and stop during disconnections

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. Discard offline readings and upload only the latest measurement
B. Pause sensing until a dashboard user reconnects the device
C. Replace missing readings with a fixed normal heart rate
D. Timestamp readings locally, buffer them, and upload them after reconnection

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 public channels with descriptive patient identifiers
B. Use longer sampling intervals without device authentication
C. Use plain HTTP with frequently changing dashboard colors
D. Use encrypted transport with authenticated endpoints

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 entries whose sequential IDs differ by at most 45
C. Compute the average over the latest 45 entries returned by the channel feed
D. Compute the average over all entries received during the latest bulk upload

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 all four field values in one channel update request
B. Send four requests and assign them an identical client timestamp
C. Write each value to a separate channel at the same second
D. Send four separate field updates with the same status text

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. Use bounded exponential backoff with jitter and retain unsent samples in a finite queue
B. Block indefinitely inside the HTTP routine until the current sample is accepted
C. Retry at a fixed one-second interval and discard each sample after three failures
D. Restart the NodeMCU after every failed request and resend the latest sample

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 HTTP exchange succeeded, but ThingSpeak rejected the channel update
B. The sensor value was stored as zero because decimal values are unsupported
C. The Wi-Fi connection failed before ThingSpeak processed the HTTP request
D. The channel update succeeded and created an entry whose identifier is zero

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 directly selects the third ADC channel and must be read with analogRead
B. V3 is a logical datastream endpoint and must be handled through Blynk callbacks or writes
C. V3 is an encrypted GPIO alias that becomes physical after device provisioning
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. Create one dashboard widget per unit while embedding the template identifier as its token
B. Use one device identity and rotate its token whenever any individual unit is revoked
C. Use one template but provision a distinct device identity and token for every unit
D. Use one shared device token and distinguish units only through virtual pin numbers

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. Poll a Blynk virtual pin continuously and close only when the cloud value becomes zero
B. Start a local nonblocking timeout on the controller and treat Blynk as supervisory control
C. Use a mobile-app timer that sends a close command exactly 10 minutes after opening
D. Reconnect to Blynk every minute and reset the valve whenever authentication succeeds

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. Always accept the physical switch because local inputs have lower communication latency
B. Always accept the cloud value because Blynk is the authoritative user interface
C. Attach versions or timestamps to state changes and apply a defined conflict-resolution rule
D. Alternate priority between cloud and physical commands after each reconnection

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

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. Run all navigation locally and disable remote monitoring whenever the network becomes intermittent
B. Run obstacle detection in the cloud while caching only the most recent steering command locally
C. Keep motor control local but wait for cloud confirmation before every emergency stop
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. Assign each command a unique ID and store the IDs of commands already executed
B. Acknowledge each command before validating its parameters or executing its movement
C. Increase motor speed so a repeated command finishes before the retry is delivered
D. Discard any command whose target position differs from the arm's current position

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. Increase camera resolution while leaving timing and motion estimation unchanged
B. Average all object coordinates received since the conveyor was initially started
C. Timestamp observations and predict object position at the planned actuation time
D. Use the latest received position as though it were measured at actuation time

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. Increase transmit power so each of the ten packets completes more quickly
D. Transmit each reading separately at a lower application-layer sampling precision

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. Replace threshold control with fixed-duration irrigation at the same time every afternoon
C. Raise the raw moisture threshold until afternoon irrigation events become less frequent
D. Calibrate moisture against temperature and soil type, then apply compensated thresholds

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 later timestamp, because it conservatively represents the freshest possible reading
B. The gateway arrival timestamp, because it records when the controller first saw the data
C. The sampling timestamp, combined with an explicit maximum acceptable measurement age
D. The average of both timestamps, because it compensates for variable network delay

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. Upload every raw sample and allow only the cloud model to decide whether an alert is necessary
B. Store all samples locally and postpone both analysis and notification until the next successful upload
C. Reduce the sampling rate during disconnection so the network can recover before analysis resumes
D. Detect critical rhythms locally, alert the wearer locally, and synchronize records when connectivity returns

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. Shared device type, server processing time, packet size, and retry counter
B. Patient name, dashboard arrival time, current oxygen value, and room number
C. Patient-scoped device ID, measurement timestamp, sequence number, and unique message ID
D. Ward identifier, latest displayed value, connection state, and alarm priority