1. Why interoperability is required in Internet of Things?
a. Heterogeneous wireless communication protocols
b. Different programming languages
c. Different control models
d. All of the above
Ans: d
2. Unique identification codes associated with device interoperability are:
a. Electronic Product Code
b. Universal Product Code
c. Uniform Resource Identifier
d. All of these
Ans: d
3. The interoperability between the devices and device users in terms of syntax is termed as:
a. Syntactic interoperability
b. Synthetic interoperability
c. Both a and b
d. None of these
Ans: c
4. The UMB-A adapter:
a. Convert physical devices into virtually abstracted ones
b. Converts
c. Both a and b
d. None of these
Ans: c
5. Arduino UNO supports output supply voltage of:
a. 5V
b. 3.3V
c. 9V
d. 5V, 3.3V
Ans: d
6. What is the servo library command to move the shaft of Servo motor back and forth?
a. Knob()
b. Sweep()
c. write()
d. detach()
Ans: c
7. An Arduino UNO has following number of analog inputs:
a. 2
b. 4
c. 6
d. 8
Ans: c
8. What is the functionality of the following code?
void setup() {
Serial begin(9600);
}
void loop() {
int sensorValue=analogRead(A0);
Serial.println(sensorValue);
delay(1);
}
a. Reads analog values from A0 only.
b. Reads analog values from A0 and prints on the serial port/terminal only.
c. Reads analog values from A0 and prints on the serial port over and over again after a delay of 1millisec.
d. None of these.
Ans: c
9. What is the functionality of the following code?
#include<Servo.h>
Servo myservo;
int potpin=0; //potentiometer value initialization
int val;
void setup() {
myservo.attach(9);
}
void loop() {
val=analogRead(potpin);
myservo.write(val);
delay(15);
}
a. Reads potentiometer values on A0 only.
b. Reads potentiometer values on A0 and writes to servo controller in a loop after a delay of 15 milliseconds.
c. Writes values to servo motors only.
d. None of these.
Ans: b
10. Pin 4 of a DHT sensor is connected to which pin of Arduino?
a. 5V
b. GND
c. A0
d. D0
Ans: b
11. The function random(max) in Arduino gives:
a. A random number between 1 and max.
b. A random number between 0 and max.
c. A random number sequence of length equal to max.
d. None of these.
Ans: b
12. ISR in Arduino stands for:
a. Interrupt service routine.
b. Information service route.
c. Interrupt service route.
d. Information server route.
Ans: a
13. Which of the following is not a valid arithmetic operator in Arduino?
a. *
b. x
c. +
d. -
Ans: b
14. The function delay(xx) counts the values of delay in:
a. Seconds
b. Minutes
c. Milliseconds
d. Hours
Ans: c
15. The number of digital I/O pins in Arduino UNO is:
a. 6
b. 4
c. 8
d. 14
Ans: d
a. Heterogeneous wireless communication protocols
b. Different programming languages
c. Different control models
d. All of the above
Ans: d
2. Unique identification codes associated with device interoperability are:
a. Electronic Product Code
b. Universal Product Code
c. Uniform Resource Identifier
d. All of these
Ans: d
3. The interoperability between the devices and device users in terms of syntax is termed as:
a. Syntactic interoperability
b. Synthetic interoperability
c. Both a and b
d. None of these
Ans: c
4. The UMB-A adapter:
a. Convert physical devices into virtually abstracted ones
b. Converts
c. Both a and b
d. None of these
Ans: c
5. Arduino UNO supports output supply voltage of:
a. 5V
b. 3.3V
c. 9V
d. 5V, 3.3V
Ans: d
6. What is the servo library command to move the shaft of Servo motor back and forth?
a. Knob()
b. Sweep()
c. write()
d. detach()
Ans: c
7. An Arduino UNO has following number of analog inputs:
a. 2
b. 4
c. 6
d. 8
Ans: c
8. What is the functionality of the following code?
void setup() {
Serial begin(9600);
}
void loop() {
int sensorValue=analogRead(A0);
Serial.println(sensorValue);
delay(1);
}
a. Reads analog values from A0 only.
b. Reads analog values from A0 and prints on the serial port/terminal only.
c. Reads analog values from A0 and prints on the serial port over and over again after a delay of 1millisec.
d. None of these.
Ans: c
9. What is the functionality of the following code?
#include<Servo.h>
Servo myservo;
int potpin=0; //potentiometer value initialization
int val;
void setup() {
myservo.attach(9);
}
void loop() {
val=analogRead(potpin);
myservo.write(val);
delay(15);
}
a. Reads potentiometer values on A0 only.
b. Reads potentiometer values on A0 and writes to servo controller in a loop after a delay of 15 milliseconds.
c. Writes values to servo motors only.
d. None of these.
Ans: b
10. Pin 4 of a DHT sensor is connected to which pin of Arduino?
a. 5V
b. GND
c. A0
d. D0
Ans: b
11. The function random(max) in Arduino gives:
a. A random number between 1 and max.
b. A random number between 0 and max.
c. A random number sequence of length equal to max.
d. None of these.
Ans: b
12. ISR in Arduino stands for:
a. Interrupt service routine.
b. Information service route.
c. Interrupt service route.
d. Information server route.
Ans: a
13. Which of the following is not a valid arithmetic operator in Arduino?
a. *
b. x
c. +
d. -
Ans: b
14. The function delay(xx) counts the values of delay in:
a. Seconds
b. Minutes
c. Milliseconds
d. Hours
Ans: c
15. The number of digital I/O pins in Arduino UNO is:
a. 6
b. 4
c. 8
d. 14
Ans: d
Digital electronics assignment 5 ?
ReplyDeleteAnswers posted
DeleteANTENNAS 5TH ASSIGNMENT
ReplyDeleteAntennas 5th assignment
ReplyDeleteIot assignment 6?
ReplyDeleteIOT ASSIGNMENT 3?
ReplyDeleteintroduction to iot assignment 4??
ReplyDeleteyozgat
ReplyDeletetunceli
hakkari
zonguldak
adıyaman
2OJ
https://titandijital.com.tr/
ReplyDeleteağrı parça eşya taşıma
maraş parça eşya taşıma
muğla parça eşya taşıma
uşak parça eşya taşıma
432A
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
ZBZJ2
00C61
ReplyDeleteRize Lojistik
Bitfinex Güvenilir mi
Çerkezköy Motor Ustası
Silivri Cam Balkon
Tunceli Şehirler Arası Nakliyat
Çerkezköy Fayans Ustası
Afyon Parça Eşya Taşıma
Çankaya Parke Ustası
Şırnak Evden Eve Nakliyat
92AC0
ReplyDeleteKaspa Coin Hangi Borsada
Manisa Lojistik
Eryaman Alkollü Mekanlar
Ağrı Evden Eve Nakliyat
Ordu Evden Eve Nakliyat
Osmaniye Şehirler Arası Nakliyat
Bingöl Parça Eşya Taşıma
Dxgm Coin Hangi Borsada
Ünye Petek Temizleme
F45F4
ReplyDeleteorder steroids
buy boldenone
Şırnak Evden Eve Nakliyat
Konya Evden Eve Nakliyat
Çerkezköy Evden Eve Nakliyat
Elazığ Evden Eve Nakliyat
Eryaman Alkollü Mekanlar
buy clenbuterol
clenbuterol for sale
1EEC3
ReplyDeleteInstagram Beğeni Satın Al
Görüntülü Sohbet Parasız
Twitter Trend Topic Satın Al
Binance Referans Kodu
Tumblr Takipçi Hilesi
Nexa Coin Hangi Borsada
Bitcoin Giriş Nasıl Yapılır
Periscope Takipçi Hilesi
Görüntülü Sohbet
شركة مكافحة حشرات بالهفوف SJfWDfyJtS
ReplyDelete9E229352A5
ReplyDeletetiktok takipçi satın al