Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

ELECTRICAL ENGINEERING

DEPARTMENT

THEORY TEST

DEC50132 INTERNET BASED


CONTROLLER

PROGRAM : DTK

CLO1 : apply knowledge of basic concept, structure and component of Internet of


Things in electrical and electronic engineering field

Prepared by: Checked by: Approved by:

Name: Name: Name:

Date: 7 March 2022 Date: Date:


30/01/2023
DEPARTMENT OF ELECTRICAL ENGINEERING
Name: Reg. No:

Course Code : DEC50132 Course Name : INTERNET


BASED
CONTROLLER
Theory Test: 1 Marks :
(CLO1/PLO1) / 50
INSTRUCTION:
This section consists of PART A TEN (10) Objective Questions, PART B FIVE (5)
Subjective questions and PART C TWO (2) Essay Question. Answer ALL questions.

PART A (10 Objective Questions)

QUESTION 1

CLO1 MQTT stands for _____________


C1 A. MQ Telemetry Things
B. MQ Transport Telemetry
C. MQ Transport Things
D. MQ Telemetry Transport
[1 marks]

QUESTION 2

CLO1 MQTT is _________ protocol.


C1 A. Machine to Machine
B. Internet of Things
C. Machine to Machine and Internet of Things
D. Machine Things
[1 marks]

QUESTION 3

CLO1 Delay (1000);


C2 1000 in delay is equivalent to how many second?
A. 10s
B. 2s
C. 60s
D. 1s
[1 marks]

QUESTION 4
Choose which protocol is lightweight?
CLO1 A. MQTT
C2 B. HTTP
C. CoAP
D. SPI [1 marks]
QUESTION 5

CLO1 digitalWrite (LED1,HIGH);


C1 delay(1000);
digitalWrite(LED1,LOW);
What does the program do?
A. LED switch off at the beginning, wait for 60s and then switch ON
B. LED switch ON at the beginning, wait for 10s and then switch OFF
C. LED switch ON at the beginning, wait for 1s and then switch ON
D. LED switch ON at the beginning, wait for 1s and then switch OFF
[1 marks]

QUESTION 6

CLO1 Choose how many times SETUP function runs in Arduino IDE;
C2 A. None of the below
B. 10
C. 2
D. 1
[1 marks]

QUESTION 7

CLO1 The programming language used by the Arduino microprocessor is _______ ?


C2 A. Java
B. C++
C. Python
D. PHP
[1 marks]
QUESTION 8
CLO1 CHOOSE the FALSE statement about basic concepts of IoT ;
C2
i) Standardization and openness of the communication standards used, from layers
interfacing with the physical world (ie, tags and sensors), to the communication layers
between nodes and with the Internet.
ii) Ubiquitous connectivity is a crucial requirement of IoT, and, to fulfill it, applications
need to support a diverse set of devices and communication protocols, from tiny sensors.
iii) Object addressability (direct IP address) and multifunctionality (ie, the possibility that a
network built for one application.
iv) Integration of people and devices to converge the physical realm with human-made
virtual environments, creating the so- called Internet of Things (IoT) utopia.

A. i and ii C. i , ii , and iv
B. i , ii and iii D. i , ii , iii and iv
[1 marks]
CLO1 QUESTION 9
C2 The internet of things offers several benefits to organizations. Some benefits are industry-
specific, and some are applicable across multiple industries. CHOOSE the TRUE
common benefits of IoT enable businesses from list below:
i) Monitor their overall business processes;
ii) Improve the customer experience;
iii) Data overload & accuracy;
iv) Save time and money;

A. i and ii C. i , ii , and iv
B. i , ii and iii D. i , ii , iii and iv

[1 marks]
QUESTION 10
CLO1 CHOOSE the TRUE statement about basic of MQTT;
C1 i) Client - The device that connects to broker to send or receive information.
ii) Publish - Clients that send information to the broker to distribute to interested clients
based on the topic name.
iii) Subscribe - Clients that publish, subscribe, or do both to a topic.
iv) Topic - Clients tell the broker which topic(s) they're interested in.

A. i and ii C. i , ii , and iv
B. i , ii and iii D. i , ii , iii and iv
[1 marks]

PART B (Structure Questions)

CLO1 QUESTION 1
C2 List FOUR (4) Internet of Things (IoT) concepts.
[4 marks]

CLO1 QUESTION 2
C2 Explain how connectivity of IoT in healthcare can be beneficial for human being,
and state the example of connectivity protocol used.

[5 marks]

QUESTION 3
CLO1 List the THREE (3) application of IOT in the Automotive Industry.
C1 [3 marks]
QUESTION 4
CLO1
C2
“An actuator's function is to provide thrust and positioning in machines used for
production or testing and widely used in IoT application.”

List FOUR (4) examples of an actuator.

[2 marks]

CLO1 QUESTION 5
C3
Explain the different between LORA and Zig Bee Technology and gives TWO (2)
advantages of LORA instead of Zig Bee.

[6 marks]

PART C (Essay Questions)

QUESTION 1

Figure 1 : ESP32 Push Button Connection

CLO1 a) Figure 1 show the connection of Push button (PB) and LED (D1) connected to ESP32
C3 Module. Write the programming to show the state of LED will turn ON when button pressed.
And the LED will OFF when button is released.
[5 marks]
b) Disconnect the Push Button and Change the LED above with DS18B20 Temperature
CLO1 Sensor. Write the programming to get the temperature reading in Celcius using the given
C3 function:

OneWire oneWire(oneWireBus);
DallasTemperature sensors(&oneWire);
float celsius = sensors.getTempCByIndex(0);
[5 marks]

CLO1 QUESTION 2
C3 Wireless sensor network (WSN) is A network of devices that can communicate the information
gathered from a monitored field through wireless links. The data is forwarded through multiple
nodes, and with a gateway, the data is connected to other networks.

a) Sketch and explain the application of Wireless sensor network (WSN) in


Medical Application.
[5 marks]

b) Design an application with Wireless SensorNetwork (WSN) topologies that can be


implemented in your polytechnic such as in Hostel Buildings and area.

[5 marks]

You might also like