Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

CoSc521 – Final Examination

Haramaya University
College of Computing and Informatics
Department of Computer Science

Embedded System
September 7, 2020
--------------------------------- Final Exam ----------------------------------

Student Name:
Student ID:

INSTRUCTIONS

1. This is an OPEN BOOK exam. You may refer to your textbook, notes, the Internet etc.
However, group work is not allowed. Individual knowledge and understanding is targeted to
this test.
2. You should complete and return this exam and return it via email to
courses.dag@gmail.com , on or before September 8, 2020.
3. There are 2 parts with a total of 30 marks. You are expected to work each question as per
the given instruction.
4. Complete the work with word processor and make sure that the file is computer readable in
MS Windows platform.
5. AVOID VERBATIM CONTENT!!!
6. NOTE EACH SUBMISSION WILL BE CKECKED FOR DUBLICATION PLAGERISM CHECKER
SYSTEM. ALL DUPLICATED WORKS WILL BE NULLIFIED.

Good luck!

------------- For Instructor use only -------------------------------------------------------------------------

Total Mark Remark

________
30

Page 1 of 3
CoSc521 – Final Examination

PART 1. Solving a Problem (10pts)


1. You are asked to develop a software module to control the an automatic gate that opens whenever there is a
nearby object and close itself if no object is near. What are the possible components you need to build the
system? Show the block diagram of the required system? NOTE: Since the gate is placed on public space,
no restriction to whom enter and leave the compound.

2. Suppose you have to develop a traffic light system for only two way road meeting at a corner of a road how
many wires do you need to control the light? Show the circuit connection on Proteus and develop the code
to be embedded in the board.

Solution for Diagram Solution for Code

Page 2 of 3
CoSc521 – Final Examination

PART 2. Knowledge Test


1. What are the major phases during an embedded system development? (3pts)

2. Which of the phase in the embedded system development lifecycle focus on understanding the user
requirement (4pts)

3. Suppose you have to schedule three tasks (T1, T2 and T3) where they need to appear every 2,3 and 7
minutes respectively; how many time would T1 appears before T3 appears for the second time?
Consider list slack-time method and show your calculation? (5pts)

4. What is a utilization factor and when do we need it (3pts)?

5. Suppose a utilization factor for solving a critical system is calculated to be greater than one but if the
system has to be implemented using clock-drive algorithm, what solution do you propose (5pts)

Page 3 of 3

You might also like