Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

_________ specifies the function that will be called on an error event.(a) Callback(b) Error(c) Connect(d) ReconnectThe question was asked by my school principal while I was bunking the class.Query is from Sending and Receiving Data in Real Time Through Internet in portion Working with the Cloud of IOT

Answer»

The correct answer is (B) Error

Easy explanation: The call to this message specifies MANY methods DECLARED in the MessageChannel class

Error: specifies the function that will be CALLED on an error event.

52.

MQTT is _________ protocol.(a) Machine to Machine(b) Internet of Things(c) Machine to Machine and Internet of Things(d) Machine ThingsThe question was asked during an interview.This key question is from Sending and Receiving Data in Real Time Through Internet topic in chapter Working with the Cloud of IOT

Answer»

Correct OPTION is (C) MACHINE to Machine and Internet of Things

The explanation: The MQTT protocol is a machine to machine and Internet of thing connectivity protocol.

53.

Which application allows us to build data source against many types of data?(a) Dashzen(b) Ducksboard(c) Klipfolio(d) LeftronicThe question was asked in an interview for job.I need to ask this question from Building a Web- based Dashboard in section Working with the Cloud of IOT

Answer» CORRECT option is (c) Klipfolio

For explanation I WOULD SAY: Unlike other products, Klipfolio doesn’t just link up to existing APIs. It ALSO allows us to build data source against many TYPES of data, including Excel, CSV.
54.

________ Command is used to retrieve the latest dweet made for our thing.(a) HTTP(b) HTTPie(c) cURL(d) RESTful APIThe question was posed to me in an online interview.This interesting question is from Publishing Data to the Cloud with Dweepy in chapter Working with the Cloud of IOT

Answer»

Correct answer is (b) HTTPIE

The best I can EXPLAIN: HTTPie command in any COMPUTER or device to retrive the latest DWEET made for our THING.

55.

Do we run our program in the same computer where we have written?(a) True(b) False(c) May or may not(d) Cannot be determinedThe question was asked during an interview.This intriguing question originated from Publishing Messages with Commands topic in portion Working with the Cloud of IOT

Answer»

The correct answer is (c) MAY or may not

To explain I would SAY: In case you don’t run the example in the same computer in which you are running the MQTT SERVER, remember to CHANGE the value for the mqttServerHost string in the main method of the Main CLASS.

56.

Which command displays messages published to a topic?(a) rostopic bw(b) rostopic delay(c) rostopic echo(d) rostopic hzI have been asked this question in quiz.I need to ask this question from Publishing Messages with Commands in portion Working with the Cloud of IOT

Answer»

Correct choice is (C) ROSTOPIC echo

For explanation: Rostopic echo DISPLAYS messages PUBLISHED to a TOPIC. Rostopic is implemented in python.

57.

_________ specifies the function that will be called when a successful re-connection is completed.(a) Callback(b) Error(c) Connect(d) ReconnectThis question was addressed to me in an online quiz.This intriguing question originated from Sending and Receiving Data in Real Time Through Internet topic in portion Working with the Cloud of IOT

Answer»

Correct ANSWER is (d) Reconnect

To ELABORATE: The call to this message specifies MANY METHODS declared in the MessageChannel class

Reconnect: specifies the function that will be called when a successful re-connection is completed with the PubNub cloud.

58.

Dweepy is a simple python client for dweet.io.(a) False(b) TrueI had been asked this question in homework.This intriguing question comes from Publishing Data to the Cloud with Dweepy topic in portion Working with the Cloud of IOT

Answer» RIGHT option is (b) True

To elaborate: Dweepy is a SIMPLE PYTHON client for dweet.io that allows us to easily publish data to dweet.io with python.