Download PDF
Free download in PDF IOT (Internet of Things) Questions and Answers Multiple Choice Questions and Answers for competitive exams. These short objective type questions with answers are very important for Board exams as well as competitive exams like UPSC, NDA, SSC etc. These short solved questions or quizzes are provided by Gkseries./p>
(1)
_________ allows us to control electronic components
[A]
RETful API
[B]
RESTful API
[C]
HTTP
[D]
MQTT
(2)
MQTT stands for _____________
[A]
MQ Telemetry Things
[B]
MQ Transport Telemetry
[C]
MQ Transport Things
[D]
MQ Telemetry Transport
Answer: MQ Telemetry Transport
(3)
MQTT is better than HTTP for sending and receiving data.
(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
(6)
PubNub publishes and subscribes _________ in order to send and receive messages.
[A]
Network
[B]
Account
[C]
Portal
[D]
Keys
(7)
By clicking which key the PubNub will display public, subscribe, and secret keys.
[A]
Pane
[B]
Demo Keyset
[C]
Portal
[D]
Network
(8)
The messageChannel class declares the _________ class attribute that defines the key string.
[A]
command_key
[B]
command-key
[C]
commandkey
[D]
Key_command
(9)
_________ method saves the received arguments in three attributes.
[A]
__Init
[B]
Init__
[C]
__Init__
[D]
_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
(12)
_________ specifies the function that will be called on an error event.
[A]
Callback
[B]
Error
[C]
Connect
[D]
Reconnect
(13)
_________ Specifies the function that will be called when a successful connection with the PubNub cloud.
[A]
Callback
[B]
Error
[C]
Connect
[D]
Reconnect
(14)
_________ specifies the function that will be called when a successful re-connection is completed.
[A]
Callback
[B]
Error
[C]
Connect
[D]
Reconnect
(15)
___________ specifies the function that will be called when the client disconnects.
[A]
Callback
[B]
Error
[C]
Connect
[D]
Disconnect
Please share this page