Assignment W6
Assignment W6
Introduction to
Internet of Things
Assignment-Week 6
TYPE OF QUESTION:MCQ/MSQ
Number ofquestions:15 Total marks: 15 X 1= 15
QUESTION 1:
Python doesn’t support strict rules for syntax and static variable declaration like C
a. True
b. False
QUESTION 2:
a. List
b. Tuple
c. Dictionary
d. All of these
QUESTION 3:
d. None of these
QUESTION 4:
QUESTION 5:
a. True
b. False
QUESTION 6:
a. image.show()
b. image.open()
c. image.name()
d. image.mode()
Correct Answer: a. image.show()
Detailed Solution: As per the basics of Python programming. (Please refer to lecture
INTRODUCTION TO PYTHON PROGRAMMING- II @ 18.26 )
QUESTION 7:
a. Client-server
b. P2P
c. All of these
d. None of these
Correct Answer: a. Client-server
Detailed Solution: In python programming, python provides network services for client-server
models. (Please refer to lecture INTRODUCTION TO PYTHON PROGRAMMING- II @
23:29 )
QUESTION 8:
In python, ”with” ensures the file is closed after the operation is completed, but not when an
exception occurs.
a. True
b. False
QUESTION 9:
a. True
b. False
QUESTION 10:
QUESTION 11:
Detailed Solution: Raspberry Camera can be configured using raspi-config. See lecture 29
@ 19:04
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 12:
Detailed Solution: Raspberry Camera can be configured using the Python camera module
python-picamera. See lecture 29 @ 19:59.
QUESTION 13:
a. Actuator
b. Raspberry Pi
c. All of these
d. None of these
QUESTION 14:
a. Mechanical switch
b. Electrochemical switch
c. None of these
d. All of these
QUESTION 15:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 15:
a. True
b. False
************END***********