Student Name: Title: Iot-Course-Assessment - 2 Department: Year / Sec: Date
Student Name: Title: Iot-Course-Assessment - 2 Department: Year / Sec: Date
Student Name: Title: Iot-Course-Assessment - 2 Department: Year / Sec: Date
Answer:
21. Standard ports of MQTT are __________
a) I2C b) SSL
c) USART d) TCP/IP
Answer:
22. In a Publish/Subscribe model publish doesn’t know who is subscribing.
a. True b. False
Answer:
23. An QTT broker can use any port, but by default it uses port 1883?
a. True b. False
Answer:
Answer:
Ans:
26. How many digital I/O pins are there in arduino Uno?
A) 13 B)14
C) 5 D) 40
Answer:
Ans:
27. What is this line of code:
void loop() {
(A) A statement (B) A single line comment
(C) Part of a function definition (D) A banana
Ans:
28. delay(5000); stands for
a) wait 5 minutes b) wait 5 seconds
c) wait 50 seconds d)wait 5000 seconds
Ans:
29. What is wrong with the following:
int led = 13;
void setup() {
pinMode(led, INPUT);
}
void loop() {
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}
Ans:
30.Baud rate is
a) Symbol or signal per seconds b) bits per seconds
c) Byte per seconds d) None of the above
Ans: