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