GkSeries.com

IOT Multiple Choice Questions and Answers – Sending and Receiving Data in Real Time Through Internet | IOT MCQs

(1) _________ allows us to control electronic components
[A] RETful API
[B] RESTful API
[C] HTTP
[D] MQTT
Answer: RETful API
(2) MQTT stands for _____________
[A] MQ Telemetry Things
[B] MQ Transport Telemetry
[C] MQ Transport Things
[D] MQ Telemetry Transport
Answer: MQ Telemetry Transport

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

(3) MQTT is better than HTTP for sending and receiving data.
[A] True
[B] False
Answer: True
(4) MQTT is _________ protocol.
[A] Machine to Machine
[B] Internet of Things
[C] Machine to Machine and Internet of Things
[D] Machine Things
Answer: Machine to Machine and Internet of Things
(5) Which protocol is lightweight?
[A] MQTT
[B] HTTP
[C] CoAP
[D] SPI
Answer: MQTT
(6) PubNub publishes and subscribes _________ in order to send and receive messages.
[A] Network
[B] Account
[C] Portal
[D] Keys
Answer: Keys
(7) By clicking which key the PubNub will display public, subscribe, and secret keys.
[A] Pane
[B] Demo Keyset
[C] Portal
[D] Network
Answer: Demo Keyset
(8) The messageChannel class declares the _________ class attribute that defines the key string.
[A] command_key
[B] command-key
[C] commandkey
[D] Key_command
Answer: command_key
(9) _________ method saves the received arguments in three attributes.
[A] __Init
[B] Init__
[C] __Init__
[D] _init_
Answer: __Init__
(10) _________ and _________ saves the publish and subscribe keys that we have generated with the PubNub Admin portal.
[A] public_key and subscribe_key
[B] Public-key and subscribe-key
[C] publickey and subscribekey
[D] Key_public and key_subscribe
Answer: public_key and subscribe_key
(11) _________ specifies the function that will be called when there is a new message received from the channel.
[A] Reconnect
[B] Error
[C] Connect
[D] Callback
Answer: Callback
(12) _________ specifies the function that will be called on an error event.
[A] Callback
[B] Error
[C] Connect
[D] Reconnect
Answer: Error
(13) _________ Specifies the function that will be called when a successful connection with the PubNub cloud.
[A] Callback
[B] Error
[C] Connect
[D] Reconnect
Answer: Connect
(14) _________ specifies the function that will be called when a successful re-connection is completed.
[A] Callback
[B] Error
[C] Connect
[D] Reconnect
Answer: Reconnect
(15) ___________ specifies the function that will be called when the client disconnects.
[A] Callback
[B] Error
[C] Connect
[D] Disconnect
Answer: Disconnect

Please share this page

Click Here to Read more questions

Teacher Eligibility Test