Assignment W5
Assignment W5
Introduction to
Internet of Things
Assignment-Week 5
QUESTION 1:
When different processing logic are applied to the same IoT networked devices or applications, it gives
rise to?
b. Semantic conflicts
Detailed Solution: When different processing logic are applied to the same IoT networked devices or
applications, it gives rise to Semantic conflicts.
QUESTION 2:
QUESTION 3:
QUESTION 4:
Statement: “Use of different programming languages such as JavaScript, Python, JAVA, and others is an
example of heterogeneity in IoT. This brings in the need for interoperability.”
a. False
b. True
Detailed Solution: Use of different programming languages such as JavaScript, Python, JAVA, and others
is an example of heterogeneity in IoT. This brings in the need for interoperability
QUESTION 5:
Statement: “The interoperability between devices and device users in terms of message
formats is called Syntactic Interoperability.”
a. True
b. False
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Detailed Solution: The interoperability between devices and device users in terms of
message formats is called Syntactic Interoperability.
QUESTION 6:
d. None of these
QUESTION 7:
a. Pin 2
b. Pin 4
QUESTION 8:
a. MEGA 3370
b. MEGA 2570
c. MEGA 9980
d. None of these
Detailed Solution: Arduino MEGA microcontroller board is also known as MEGA 2560.
QUESTION 9:
a. Solenoid Valve
b. Relay
c. Servo Motor
d. None of these
Detailed Solution: A Servo Motor provides high-precision rotary motion of o to 180 degrees.
QUESTION 10:
What does the following code snippet do in interfacing a servo motor with the Arduino MEGA
board?
d. None of these
Detailed Solution: int servoPin = 12; Declares pin for connecting servo motor.
QUESTION 11:
d. None of these
Detailed Solution: The line delay(1000); in an Arduino sketch introduces a delay of 1 second.
QUESTION 12:
Statement: “Additional hardware is required to load a program into the Arduino Uno board using
a computer.”
a. True
b. False
Detailed Solution: No additional hardware is required to load a program into the Arduino Uno
board using a computer.
QUESTION 13:
a. 9
b. 4
c. 8
d. None of these
QUESTION 14:
What must be inserted in the place of ‘??’ within the second pinMode() function in void setup()?
a. INPUT
b. OUTPUT
c. None of these
d. Anyone of these is okay
Detailed Solution: Since pin ‘g’ is writing digital values, it is required to set in OUTPUT mode. Refer
Lecture 22-23.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 15:
Statement: “The “Verify” option in the Arduino IDE checks the code for compilation errors.”
a. True
b. False
Detailed Solution: The “Verify” option in the Arduino IDE checks the code for compilation errors.
************END***********