NPTEL

Introduction to Internet of Things Week 5 Quiz Answer

In this article i am gone to share NEPTEL Course Introduction to Internet of Things Unit 7 – Week 5 Assignment Quiz Answer with you.

Also visit: Introduction to Internet of Things Week 4 Quiz Answer

 

Introduction to Internet of Things Week 5 Quiz Answer

Unit 7 – Week 5 Quiz Answer


Assignment 5

Question 1)
Why interoperability is required in Internet of Things?
  • Different control models
  • Different programming languages 
  • Heterogeneous wireless communication protocols 
  • All of the above
Question 2)
Unique identification codes associated with device interoperability are:</b >
  • Universal Product Code (UPC) 
  • Electronic Product Code (EPC) 
  • Uniform Resource Identifier (URI) 
  • All of these
Question 3)
The interoperability between devices and device users in terms of syntax is termed as:</b >
  • Synthetic interoperability
  • Syntactic interoperability 
  • Both a and b 
  • None of these
Question 4)
The UMB-A adaptor:
  • Convert physical devices into virtually abstracted ones 
  • converts local middleware’s message into global metadata’s message 
  • both a and b 
  • none of these
Question 5)
Arduino UNO supports output supply voltage of:
  • 5V 
  • 9V
  • 3.3 V
  • 5V, 3.3V
Question 6)
What is the servo library command to move the shaft of Servo motor back and forth?</b >
  • Knob
  • detach
  • Sweep 
  • write 
Question 7)
An Arduino UNO has following number of analog inputs:
  • 2
  • 4
  • 6
  • 8
Question 8)
What is the functionality of the following code?
void setup() { 
Serial.begin(9600);
}
void loop( { 
int sensor Value = analogRead(A0); </i >
Serial.println(sensorValue); </i >
delay(1);
}
  • Reads analog values from A0 only.
  • Reads analog values from A0 and prints on the serial port/terminal only.
  • Reads analog values from A0 and prints on the serial port over and over again after delay of 1 millisec.</span >
  • None of these.
Question 9)
What is the functionality of the following code?
#include <Servo.h>
Servo myservo; 
int potpin = 0; // potentiometer value initialization </i >
int val; 
void setup() { 
myservo.attach(9);
}
void loop( { 
val = analogRead(potpin); </i >
myservo.write(val); 
delay(15);
}
  • Writes values to servo motors only.
  • Reads potentiometer values on A0 only. 
  • Reads potentiometer values on A0 and writes to servo controller in a loop after a delay 15 milliseconds.</span >
  • None of these
Question 10)
Pin 4 of a DHT sensor is connected to which pin of Arduino?
  • 5V 
  • AO 
  • DO
  • GND
Question 11)
The function random(max) in Arduino gives:
  • A random number between 1 and max.
  • A random number between 0 and max. </span >
  • A random number sequence of length equal to max. 
  • None of these.
Question 12)
ISR in Arduino stands for:
  • Interrupt service route
  • Interrupt service routine </span >
  • Information service route
  • Information server route
Question 13)
Which of the following is not a valid arithmetic operator in Arduino?</b >
  • *
  • x</span >
  • +
Question 14)
The function delay(xx) counts the values of delay in:
  • Hours
  • Seconds
  • Minutes
  • Milliseconds
Question 15)
The number of digital I/O pins in Arduino UNO is:
  • 6
  • 4
  • 8
  • 14