IOT Questions and Answers – Collecting Sensor Data

This set of IOT Multiple Choice Questions & Answers (MCQs) focuses on “Collecting Sensor Data”.

1. The temperature and humidity sensor values are printed in _________
a) OLED matrix
b) PIP
c) PYPI
d) SDK
View Answer

Answer: a
Explanation: When we read temperature and humidity values from the sensor, we printed the values in an OLED matrix and rotated a servo’s shaft to display the measured temperature expressed in degrees Fahrenheit with the shaft.

2. _________ installer we have to installer to make sure that the request package is installed.
a) PYPI
b) PIP
c) Python
d) SDK
View Answer

Answer: b
Explanation: The PIP installer was available to install additional python 2.7.3 package in the Yocto Linux that we are running on the board.

3. PIP stands for _________
a) Package Management System
b) Python Package Index
c) PIP installs packages
d) Python Management System
View Answer

Answer: c
Explanation: PIP is recursive acronyms that stand for either pip installs packages, or pip installs python. Alternatively, pip stands for “preferred installer program”.
advertisement
advertisement

4. PIP is _________ acronym.
a) Excursive
b) Recursive
c) Intrusive
d) Package
View Answer

Answer: b
Explanation: PIP is a recursive acronym that stands for either pip installs packages or pip installs python.

5. We will use pip installer to make sure that the _________ Package is installed.
a) Requests
b) SDK
c) IoT Accelerator
d) Maven
View Answer

Answer: a
Explanation: Now, we will use pip installer to make sure that the requests package is installed. This package is very popular HTTP library for python.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Requests package is very popular _________ Library.
a) MQTP
b) SMTP
c) CoAP
d) HTTP
View Answer

Answer: d
Explanation: The pip installer is used to make sure that the requests package is installed. This package is very popular HTTP library for python that allows us to easily build and send HTTP requests with an extremely easy to understand syntax.

7. Requests package is very popular HTTP library for _________
a) C
b) Embedded c
c) Python
d) Java
View Answer

Answer: c
Explanation: The pip installer is used to make sure that the requests package is installed. This package is very popular HTTP library for python that allows us to easily build and send HTTP requests with an extremely easy to understand syntax.
advertisement

8. What is the command to install packages?
a) pip install requests
b) pip_install_requests
c) pip-install-requests
d) Pip – install – requests
View Answer

Answer: a
Explanation: We need to run the following command in the SSH terminal to package:-
pip install requests

9. _________ is created to represent the interface to Intel IoT Analytics.
a) Intel_IoT_Analytics
b) IntelIoTAnalytics
c) Intel_Iot_Analytics
d) Intel Iot Analytics
View Answer

Answer: d
Explanation: An Intel Iot Analytics class to represent the interface to Intel IoT Analytics and make it easy for us to publish observations for the three components.
advertisement

10. The class declares the ___________ method that receives the temperature.
a) public-observation
b) Public_observation
c) Public – observation
d) Public- Observation
View Answer

Answer: b
Explanation: The class declares the public_observation method that receives the temperature expressed in degrees Fahrenheit, the temperature expressed in degrees Celsius and the humidity level percentage.

Sanfoundry Global Education & Learning Series – IOT.

To practice all areas of IOT, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.