NPTEL Introduction to Internet of Things Week 6 Assignment Answer 2024

Sanket
By Sanket

NPTEL Introduction to Internet of Things Week 6 Assignment Answer 2024

1. State True or False.
Statement: “Python is popular for embedded application development as it is a very lightweight programming language.”

a. True
b. False

Answer :- For Answers Click Here 

2. State True or False.
Statement: “Python does not support strict rules for syntax.”

a. True
b. False

Answer :- For Answers Click Here 

3. _________________is a software that is used to write codes, integrate several modules and libraries.

a. IDE
b. Module
c. API
d. None of these

Answer :- For Answers Click Here 

4. State True or False.
Statement: “To indicate different blocks of code, Python follows rigid indentation.”

a. True
b. False

Answer :- 

5.

w6a6q5
Answer :- 

6. Which of the following is a mode to open a file in Python?

a. Read mode
b. Write mode
c. Append mode
d. All of these

Answer :- For Answers Click Here 

7. State whether the following command to install the PIL library is correct or not.
sudo pip get pillow

a. Correct
b. Incorrect

Answer :- 

8. How many data types are these in Python?

a. 5
b. 7
c. 8
d. None of these

Answer :- 

9.

w6a6q9
Answer :- 

10. Can we configure Raspberry Pi as a Web Server?

a. Yes
b. No

Answer :- For Answers Click Here 

11. What is the frequency of the Raspberry Pi Zero CPU?

a. 2.1 GHz
b. 1.1 GHz
c. 3.1 Ghz
d. None of these

Answer :- 

12. What does the following line of code do?
sudo apt-get install python-rpi.gpio

a. It installs the Raspberry Pi GPIO hbrary
b. It installs the Python essentials for GPIO
c. Both (a) and (b)
d. Neither (a) nor (b)

Answer :- 

13. Which command Exits the nano editor?

a. Ctrl + X
b. Ctrl + O
c. Ctrl + K
d. None of these

Answer :- For Answers Click Here 

14. What does the following line of code do?
GPIO.output(11, True)

a. Sets GPIO 11 as output pin
b. Turns on GPIO pin 11
c. Neither (a) nor (b)
d. Both (a) and (b)

Answer :- 

15. What does the following line of code do?
raspistill -o image.jpg

a. Captures video feed
b. Captures still image
c. Both (a) and (b)|
d. None of these

Answer :- For Answers Click Here 
Share This Article
Leave a comment