100% found this document useful (1 vote)
104 views24 pages

Firmware Developmentand Systems Automation

The document is a question and answers booklet for the TSS National Examinations, Level 5, for the academic year 2024-2025. It focuses on the subject of Firmware Development and Systems Automation with PLC, and is scheduled to take place on July 16, 2025, from 8:30 AM to 11:30 AM. The exam duration is three hours, and it consists of multiple questions with a total of 100 marks.

Uploaded by

abayo billy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
104 views24 pages

Firmware Developmentand Systems Automation

The document is a question and answers booklet for the TSS National Examinations, Level 5, for the academic year 2024-2025. It focuses on the subject of Firmware Development and Systems Automation with PLC, and is scheduled to take place on July 16, 2025, from 8:30 AM to 11:30 AM. The exam duration is three hours, and it consists of multiple questions with a total of 100 marks.

Uploaded by

abayo billy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

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

TSS NATIONAL EXAMINATIONS, LEVEL 5, 2024-2025

TRADE: COMPUTER SYSTEM AND ARCHITECTURE (CSA)

SUBJECT: 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 A: Fourteen (14) questions which are Compulsory. 55 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

2024 - 2025 NESA (National Examination and School Inspection Authority) 3


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

SECTION A: Attempt all questions (55 marks)


______________________________________________________________________________
01. i. Among the following, circle a letter corresponding to a (4 marks)
fundamental element of firmware architecture.
a) User interface design.
b) Device drivers.
c) Database management.
d) Web page layout.
ii. Which of these is an example of firmware?
a) Windows 10.
b) Microsoft Word.
c) BIOS.
d) Google Chrome.

02. Match the following terms in Column A with their correct (4 marks)
descriptions in Column B.

Term Description Answer

A. Fixed 1. A system that allows changes in


automation. programming for different A=……..
products.
[Link] 2. A system designed for high-
automation. volume production with little B=……..
flexibility.
[Link] 3. The process of studying an
automation. existing system to improve its C=……..
performance.
[Link] 4. A system that can quickly adapt
analysis. to changes in product design. D=……..

2024 - 2025 NESA (National Examination and School Inspection Authority) 4


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

03. Circle the letter corresponding to the correct answer. (3 marks)


i. Which of the following is a type of Programmable Logic Controller
(PLC)?
a) The document does not specify types.
b) Relay PLC.
c) Network PLC.
d) Application PLC.
ii. Which tool is utilized for creating system architecture diagrams
among the following?
a) Drawing software.
b) Text editor.
c) Calculator.
d) Stopwatch.
[Link] of the following tools is commonly used to test hardware
connections in a PLC system?
a) Oscilloscope.
b) Soldering iron.
c) Wire stripper.
d) Multimeter.

04. Circle the letter corresponding to the correct answer. (4 marks)


[Link] is a rung in Ladder Diagram (LAD) programming language?
a) Defining system requirement.
b) Developing the logic flowchart.
c) Translating logic into rungs.
d) Program testing and debugging.
ii. What is the first step to take in developing a ladder diagram
program?
a) Program testing and debugging.
b) Translating logic into rungs.
c) Documentation and maintenance.
d) Defining system requirement.

2024 - 2025 NESA (National Examination and School Inspection Authority) 5


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

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
__________________________________.

07. For the following statements, answer by True or False: (4 marks)


a) According to the documentation of firmware architecture, the
key elements to identify while drawing firmware architecture
diagrams are, color schemes and styling………………….
b) According to the documentation of firmware architecture, the
key elements to identify while drawing firmware architecture
diagrams are, Firmware modules……………………………..
c) Hardware Abstraction Layer (HAL) provides a standard
interface between the hardware and the high level software
components…………………………..
d) JTAG programmers are used to interact with the code on the
target hardware………………………..

2024 - 2025 NESA (National Examination and School Inspection Authority) 6


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

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.
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..

10. For the following statements, answer by True or False: (4 marks)


a) To transfer or upload the validated program to the PLC
hardware, we use TIA Portal software manufactured by
SIEMENS………………..
b) Actuators are connected to the input and output of a PLC……….
c) Testing and debugging are performed before
commissioning………………

2024 - 2025 NESA (National Examination and School Inspection Authority) 7


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

d) To avoid communication failure, the PLC programmer should


ensure proper network configuration with correct addressing
and connection method………………….

11. i. If a firmware update fails due to incorrect application, which (4 marks)


recovery method should you implement to effectively restore the
system? (Circle the right option)
a) Completely replacing the hardware.
b) Using a bootloader to revert to the previous firmware version.
c) Ignoring the problem and continuing with the current
firmware.
d) Manually reloading the firmware without any verification.
ii. You are requested to develop a firmware module for controlling
an LED. Arrange the following steps to design a HAL for the GPIO
pins connected to the LED:
(a) Implement GPIO Initialization, (b) Define Abstraction, (c)
Implement Control Functions Layer.
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..

12. Given a specific sensor (e.g., temperature sensor) connected to a (4 marks)


microcontroller via SPI, describe the steps you would take to write
a basic driver to read data from the sensor.
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..
…………………………………………………………………………………..

2024 - 2025 NESA (National Examination and School Inspection Authority) 8


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

…………………………………………………………………………………..
…………………………………………………………………………………..

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.
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………..
………………………………………………………………………………...

2024 - 2025 NESA (National Examination and School Inspection Authority) 9


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

Section B: Attempt any three (3) questions (30 marks)


______________________________________________________________________________

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.

2024 - 2025 NESA (National Examination and School Inspection Authority) 10


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

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.

2024 - 2025 NESA (National Examination and School Inspection Authority) 11


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

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

2024 - 2025 NESA (National Examination and School Inspection Authority) 12


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

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.

Section C: Attempt only one (1) question (15 marks)


______________________________________________________________________________

20. Develop an embedded firmware program in C to read temperature and (15marks)


humidity values from a DHT11 sensor using a microcontroller (e.g:
STM32 or Arduino). The system should display the sensor readings on
an LCD and send data over UART. Implement error handling for
sensor failures.
21. You are designing a firmware for a medical device. During the task (15marks)
preparation, you need to develop a plan with all the requirements.
According to the listed items in categories A and B, break them down
by proposing the corresponding information between category A and
category B.
Category A:
1. Performance metrics.
2. Security features.
3. Communication protocol.
4. Regulatory compliance.
5. Use cases studies.
Category B:
1. ISO 26262.
2. IEC6730.
3. Authentication protocols.
4. Secure boot mechanisms.

2024 - 2025 NESA (National Examination and School Inspection Authority) 13


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC

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

2024 - 2025 NESA (National Examination and School Inspection Authority) 14


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
T2-027_Firmware Development and Systems Automation with PLC
RESERVED SPACE FOR SECTION B AND C ANSWERS
Do not
19. Evaluate the importance of selecting the correct PLC programming (10 marks)
write in
this margin
language for a given automation task. Consider the following as
reference:
 Task Complexity.
 Developer Expertise.
 Maintainability.
 PLC Compatibility.
 Industry Standards.

Section C: Attempt only one (1) question (15 marks)


______________________________________________________________________________

20. Develop an embedded firmware program in C to read temperature and (15marks)


humidity values from a DHT11 sensor using a microcontroller (e.g:
STM32 or Arduino). The system should display the sensor readings on
an LCD and send data over UART. Implement error handling for
sensor failures.
21. You are designing a firmware for a medical device. During the task (15marks)
preparation, you need to develop a plan with all the requirements.
According to the listed items in categories A and B, break them down
by proposing the corresponding information between category A and
category B.
Category A:
1. Performance metrics.
2. Security features.
3. Communication protocol.
4. Regulatory compliance.
5. Use cases studies.
Category B:
1. ISO 26262.
2. IEC6730.
3. Authentication protocols.
4. Secure boot mechanisms.

2024 - 2025 NESA (National Examination and School Inspection Authority) 15


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC 7
2023-NESA (National Examination and School Inspection Authority)
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
d) Testers. this margin

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

2024 - 2025 NESA (National Examination and School Inspection Authority) 16


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
19. Evaluate the importance of selecting the correct PLC programming (10
thismarks)
margin

language for a given automation task. Consider the following as


reference:
 Task Complexity.
 Developer Expertise.
 Maintainability.
 PLC Compatibility.
 Industry Standards.

Section C: Attempt only one (1) question (15 marks)


______________________________________________________________________________

20. Develop an embedded firmware program in C to read temperature and (15marks)


humidity values from a DHT11 sensor using a microcontroller (e.g:
STM32 or Arduino). The system should display the sensor readings on
an LCD and send data over UART. Implement error handling for
sensor failures.
21. You are designing a firmware for a medical device. During the task (15marks)
preparation, you need to develop a plan with all the requirements.
According to the listed items in categories A and B, break them down
by proposing the corresponding information between category A and
category B.
Category A:
1. Performance metrics.
2. Security features.
3. Communication protocol.
4. Regulatory compliance.
5. Use cases studies.
Category B:
1. ISO 26262.
2. IEC6730.
3. Authentication protocols.
4. Secure boot mechanisms.

2024 - 2025 NESA (National Examination and School Inspection Authority) 17


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
d) Testers. this margin

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

2024 - 2025 NESA (National Examination and School Inspection Authority) 18


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
19. Evaluate the importance of selecting the correct PLC programming (10
thismarks)
margin

language for a given automation task. Consider the following as


reference:
 Task Complexity.
 Developer Expertise.
 Maintainability.
 PLC Compatibility.
 Industry Standards.

Section C: Attempt only one (1) question (15 marks)


______________________________________________________________________________

20. Develop an embedded firmware program in C to read temperature and (15marks)


humidity values from a DHT11 sensor using a microcontroller (e.g:
STM32 or Arduino). The system should display the sensor readings on
an LCD and send data over UART. Implement error handling for
sensor failures.
21. You are designing a firmware for a medical device. During the task (15marks)
preparation, you need to develop a plan with all the requirements.
According to the listed items in categories A and B, break them down
by proposing the corresponding information between category A and
category B.
Category A:
1. Performance metrics.
2. Security features.
3. Communication protocol.
4. Regulatory compliance.
5. Use cases studies.
Category B:
1. ISO 26262.
2. IEC6730.
3. Authentication protocols.
4. Secure boot mechanisms.

2024 - 2025 NESA (National Examination and School Inspection Authority) 19


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
d) Testers. this margin

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

2024 - 2025 NESA (National Examination and School Inspection Authority) 20


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
19. Evaluate the importance of selecting the correct PLC programming (10
thismarks)
margin

language for a given automation task. Consider the following as


reference:
 Task Complexity.
 Developer Expertise.
 Maintainability.
 PLC Compatibility.
 Industry Standards.

Section C: Attempt only one (1) question (15 marks)


______________________________________________________________________________

20. Develop an embedded firmware program in C to read temperature and (15marks)


humidity values from a DHT11 sensor using a microcontroller (e.g:
STM32 or Arduino). The system should display the sensor readings on
an LCD and send data over UART. Implement error handling for
sensor failures.
21. You are designing a firmware for a medical device. During the task (15marks)
preparation, you need to develop a plan with all the requirements.
According to the listed items in categories A and B, break them down
by proposing the corresponding information between category A and
category B.
Category A:
1. Performance metrics.
2. Security features.
3. Communication protocol.
4. Regulatory compliance.
5. Use cases studies.
Category B:
1. ISO 26262.
2. IEC6730.
3. Authentication protocols.
4. Secure boot mechanisms.

2024 - 2025 NESA (National Examination and School Inspection Authority) 21


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
Do not
write in
d) Testers. this margin

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

2024 - 2025 NESA (National Examination and School Inspection Authority) 22


2023-NESA (National Examination
CSA_FIRMWARE and SchoolAND
DEVELOPMENT Inspection
SYSTEMSAuthority)
AUTOMATION WITH PLC 7
T2-027_Firmware Development and Systems Automation with PLC
DRAFT
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.

Section C: Attempt only one (1) question (15 marks)


______________________________________________________________________________

20. Develop an embedded firmware program in C to read temperature and (15marks)


humidity values from a DHT11 sensor using a microcontroller (e.g:
STM32 or Arduino). The system should display the sensor readings on
an LCD and send data over UART. Implement error handling for
sensor failures.
21. You are designing a firmware for a medical device. During the task (15marks)
preparation, you need to develop a plan with all the requirements.
According to the listed items in categories A and B, break them down
by proposing the corresponding information between category A and
category B.
Category A:
1. Performance metrics.
2. Security features.
3. Communication protocol.
4. Regulatory compliance.
5. Use cases studies.
Category B:
1. ISO 26262.
2. IEC6730.
3. Authentication protocols.
4. Secure boot mechanisms.

2024 - 2025 NESA (National Examination and School Inspection Authority) 23


CSA_FIRMWARE DEVELOPMENT AND SYSTEMS AUTOMATION WITH PLC
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

You might also like