# NPTEL Introduction To Internet Of Things Assignment 6 Answers 2022

Are you looking for the Answers to NPTEL Introduction To Internet Of Things Assignment 6? This article will help you with the answer to the National Programme on Technology Enhanced Learning (NPTEL) Course “NPTEL Introduction To Internet Of Things Assignment 65

## What is Introduction To Internet Of Things?

Introduction To Internet Of Things is a fun-filled course where Domain Certification helps learners to gain expertise in a specific Area/Domain. This can be helpful for learners who wish to work in a particular area as part of their job or research or for those appearing for some competitive exam or becoming job ready or specialising in an area of study.

Every domain will comprise Core courses and Elective courses. Once a learner completes the requisite courses per the mentioned criteria, you will receive a Domain Certificate showcasing your scores and the domain of expertise.

## CRITERIA TO GET A CERTIFICATE

Average assignment score = 25% of the average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF THE AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

Below you can find the answers for NPTEL Introduction To Internet Of Things Assignment 6

## NPTEL Introduction To Internet Of Things Assignment 6 Answers:-

Q1. What is the output for the following piece of Python code?
x = [32, ‘u’, ‘i’, 8, ’34’]
x = x[0:]
print(x)

a) [32]
b) [’34’]
c) [‘u’, ‘i’, 8, ’34’]
d) [32, ‘u’, ‘i’, 8, ’34’]

Q2. How many GPIO (General Purpose Input Output Pin) pins are there in Raspberry Pi 4?

a) 30
b) 14
c) 40
d) 41

Q3. Which of the following is NOT an example of Python IDE?

a) Sublime Text
b) PyCharm
c) Spider
d) None of the above

Q4. What is the value of ‘x’ in the following expression in Python programming?
x = 3^3

a) 0
b) 9
c) -2
d) Will raise an exception

Q5. In python programming, which of the following is a null statement?

a) Pass
b) Continue
c) Break
d) Skip

Q6. Which of the following is an unordered data type in Python?

a) List
b) Dictionary
c) Both List and Dictionary
d) Tuple

For Online programming test help and final exam preparation material Click Me

Q7. What is the value of ‘x’ in the following expression in Python programming?
x = 2**3^3**1

a) 11
b) 0
c) Will raise an error
d) Will raise an exception

Q8. Which of the following symbol is used to comment out multiple lines at once in python?

a) \$
b) #
c) %
d) None of these

Q9. With on-board Raspberry Pi camera, which one of the following is NOT correct for image related operations in Python?

a) from PIcamera import PiCamera
b) from picamera import PyCamera
c) from pycamera import PiCamera
d) All of these

Q10. Which of the following bit processor is used in Raspberry Pi Zero 2 W?

a) 64
b) 32

c) Both 64 & 32
d) 128

Q11. Which of the following shortcut exits the nano editor?

a) Ctrl + E
b) Ctrl + O
c) Ctrl + X
d) None of these

Q12. What of the following syntax is correct for networking in python?

a) s = socket.socket(socket.AF_NET, socket.SOCK_STRAM)
b) s = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
c) s = socket.socket(socket.AF_UNX, socket.SOCK_TCP)
d) s = socket.socket(socket.AF)INET, socket.SOCK_UDP)

Q13. Which of the following is correct to open a text file for write mode?

a) open(‘file.txt’, ‘w’)
b) open(‘file.txt’, ‘+w’)
c) open(‘file.txt, ‘w+’)
d) open(‘file.txt’, ‘o+w’)

Q14. Which of the following is an immutable data type in Python?

a) String
b) Tuple
c) Bool
d) All of these

Q15. Does python follow rigid indentation?

a) Yes
b) No
c) Not Applicable