Firmware Developmentand Systems Automation
Firmware Developmentand Systems Automation
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
N
am
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
es
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
:..
NESA
In
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
NATIONAL EXAMINATION
de
AND SCHOOL INSPECTION
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
x
AUTHORITY
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
nu
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
CSA - Firmware Development and
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
be
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
r
Systems Automation with PLC
...
:..
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
T2-027
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
Wednesday, 16 July 2025
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
8:30 AM to 11:30 AM
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
...
...
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
TSS NATIONAL EXAMINATIONS, LEVEL 5, 2024-2025
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
QUESTIONS and ANSWERS BOOKLET
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
TRADE (s): COMPUTER SYSTEM ARCHITECTURE (CSA)
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
SUBJECT: FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
PLC
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
DURATION: 3 Hours
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Read carefully the instructions on page 3 TOTAL MARKS.........../100
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
FOR EXAMINER’S USE ONLY
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
QUESTIONS 1 2 3 4 5 6 7 8 9 10 Total
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Marks
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
QUESTIONS 11 12 13 14 15 16 17 18 19 20 Total
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Marks
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
QUESTIONS 21 22 23 24 25 26 27 28
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 29 30 Total
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Marks
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
2024 - 2025 NESA (National Examination and School Inspection Authority) 1
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
2024 - 2025 NESA (National Examination and School Inspection Authority) 2
T2-027_Firmware Development and Systems Automation with PLC
DURATION: 3 HOURS
INSTRUCTIONS TO CANDIDATES:
1. This Exam paper is composed of three sections (A, B and C). Follow the
instructions given below and answer the indicated questions for a total of
100 marks.
Section B: Among the five (5) questions, attempt any three (3). 30 marks
Section C: Among the two (2) questions, attempt anyone (1). 15 marks
2. Fill in your actual names and Index number on the provided space(Cover).
3. Do not remove or tear any page or part of this Questions and Answers Booklet.
4. Answer in the language in which the Examination is set (English).
5. In section A, answer questions in the provided space. In case of multiple
choice questions, just circle the letter corresponding to the correct option.
6. In section B and C, answer questions in the provided space after section C
questions.
7. Allowed materials:
- Blue or Black pen.
- Geometrical Instruments
- Silent non-programmable calculators
02. Match the following terms in Column A with their correct (4 marks)
descriptions in Column B.
05. For all the following statements, state whether it is True or false: (4 marks)
a) PLC stands for Programmable Logic Computer…………………..
b) SCL stands for Structured Control Logic. ……………………..
c) TIA Portal is an example of PLC simulation software………..
d) Rungs are the basic building blocks of a Function Block
Diagram……………….
06. Fill in the blanks with the appropriate terms in the following (4 marks)
statements:
a) The software tool used for PLC programming and simulation is
called____________________________.
b) The PLC programming language that represents control logic
using graphical rungs and symbols, similar to relay logic
circuits is called __________________________.
c) The PLC programming language that represents functions and
logic connections using graphical blocks, similar to relay logic
circuits is called __________________________.
d) PLC programming language which is a text-based and similar
to high-level programming languages like C is called
__________________________________.
08. Match the test-related terms in column A with their descriptions in (4 marks)
column B.
Term Description Answer
A. Test Plan. 1. A predefined sequence of steps
for executing a test. A=……..
B. Test Case. 2. A document that outlines the
scope, strategy, and schedule of B=……..
testing.
C. Test Criteria. 3. The conditions that determine C=…….
test success or failure.
D. Test 4. A specific scenario designed to
Execution Script. verify system functionality. D=………
09. Recall the steps listed below for creating a test plan and arrange (4 marks)
them in the correct sequence.
1. Prepare test data.
2. Identify test cases.
3. Allocate resources.
4. Identify test techniques.
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
13. Fill in the gaps with appropriate term chosen from the given list: (4 marks)
Data acquisition, Power management, heap, Memory, data,
Abstraction layers.
a) In embedded systems, the segment of memory holding variables
that are initialized with a specific value at compile-time is called
___________________________________________________.
b) When writing a driver for an embedded system, it is essential to
encapsulate hardware-specific details by providing
___________________________________________________.
14. You are requested to program a PLC to automate a conveyor belt (4 marks)
system used in packaging industry. Arrange the following tasks in
the correct order.
1. Count number of items passing through the conveyor and
display to HMI.
2. Start the conveyor belt when start button is pressed.
3. Implement an emergency stop that halts the system
immediately when necessary.
4. Detect an object using a proximity sensor and activate a
solenoid to push defective items out of the belt.
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………...
15. You have been tasked to design a firmware architecture for IoT system. (10 marks)
The system is required to support real time data acquisition from
sensors and necessary protocols for cloud connectivity.
For each of the items listed below, specify whether they belong to:
hardware component, software tools and/or design consideration.
a) Arduino IDE:
b) MQTT/Modbus Stack:
c) Secure data transmission:
d) Power efficiency:
e) LCD:
f) Current sensor:
g) GSM module:
h) ESP32:
i) Wireshank:
j) OLED:
16. i. Analyze how incomplete stakeholder expectations in an inception (10 marks)
report can lead to project failure and match the risks shown in table
of letters to the impacts shown in the table of numbers.
Risk Impact on Project
1. Ignoring technical or budget constraints,
a) Ambiguous Scope.
leading to project failure.
2. Product may not meet business needs,
b) Unclear Priorities.
causing project rejection.
3. Misunderstanding of project
c) Frequent Change
deliverables, leading to wasted
Requests.
resources.
d) Stakeholder 4. Increased cost, time delays, and
Dissatisfaction. frustrated development teams.
5. Teams focus on less critical features,
e) Infeasibility Issues.
delaying key requirements.
ii. From the above risks, what steps should be taken for risk
mitigation? Answer by matching steps to the corresponding
activities.
Steps to mitigate Activities
risk
1. Engage stakeholders early to gather clear
a) Review and
and complete expectations by using
Validate Inception
structured Questions and Answers
Report.
sessions to clarify doubts.
b) Conduct 2. Map each requirement to specific
Stakeholder stakeholders and test cases. Ensures no
Interviews & critical expectation is missed during
Workshops. development.
3. Verify clarity, completeness, and
c) Define Acceptance
feasibility of expectations. Ensure all
Criteria &
functional and non-functional
Priorities.
requirements are documented.
4. Establish clear acceptance criteria for
d) Use Requirement
features. Use MoSCoW prioritization
Traceability Matrix
(Must-have, Should-have, Could-have,
(RTM).
Won’t-have).
5. Analyze technical, economic, legal, and
e) Perform Feasibility operational risks. Use SWOT (Strengths,
& Risk Analysis. Weaknesses, Opportunities, Threats)
analysis.
17. Compare and contrast unit testing and system testing, explaining when (10 marks)
each should be applied in the PLC program deployment process by
considering the following:
a) Scope.
b) Purpose.
c) When Applied.
d) Testers.
e) Environment.
18. Evaluate the effectiveness of different communication protocols (UART, (10 marks)
SPI, I2C, USB) for an embedded system that requires real-time data
transfer between multiple sensors and a microcontroller. In the table,
explain the importance of the protocols and highlight the best.
Protocol UART SPI I2C USB
Speed
Number of Devices
Complexity
Data Integrity
Use Case
19. Evaluate the importance of selecting the correct PLC programming (10 marks)
language for a given automation task. Consider the following as
reference:
Task Complexity.
Developer Expertise.
Maintainability.
PLC Compatibility.
Industry Standards.
5. MQTT.
6. UART.
7. I2C.
8. SPI.
9. Response time.
10. Power consumption.
11. Memory constraints.
12. Smart lighting control.
13. Temperature monitoring.
14. Encryption methods.
15. Water flow monitoring system.
END
e) Environment.
18. Evaluate the effectiveness of different communication protocols (UART, (10 marks)
SPI, I2C, USB) for an embedded system that requires real-time data
transfer between multiple sensors and a microcontroller. In the table,
explain the importance of the protocols and highlight the best.
Protocol UART SPI I2C USB
Speed
Number of Devices
Complexity
Data Integrity
Use Case
e) Environment.
18. Evaluate the effectiveness of different communication protocols (UART, (10 marks)
SPI, I2C, USB) for an embedded system that requires real-time data
transfer between multiple sensors and a microcontroller. In the table,
explain the importance of the protocols and highlight the best.
Protocol UART SPI I2C USB
Speed
Number of Devices
Complexity
Data Integrity
Use Case
e) Environment.
18. Evaluate the effectiveness of different communication protocols (UART, (10 marks)
SPI, I2C, USB) for an embedded system that requires real-time data
transfer between multiple sensors and a microcontroller. In the table,
explain the importance of the protocols and highlight the best.
Protocol UART SPI I2C USB
Speed
Number of Devices
Complexity
Data Integrity
Use Case
e) Environment.
18. Evaluate the effectiveness of different communication protocols (UART, (10 marks)
SPI, I2C, USB) for an embedded system that requires real-time data
transfer between multiple sensors and a microcontroller. In the table,
explain the importance of the protocols and highlight the best.
Protocol UART SPI I2C USB
Speed
Number of Devices
Complexity
Data Integrity
Use Case