1.4.
Which UML diagram shows how the system reacts to internal and external events?
a) Class diagram
b) Sequence diagram
c) State diagram
d) Use case diagram
[1 Mark]
1.5. A component model is a definition of standards for component implementation, documentation
and deployment. Which of the following is an example of a component model.
[1 Mark]
a) EJB model (Enterprise Java Beans)
b) Class model
c) Use case
d) None of the above
Question 2 [25 Marks]
2.1
Define object orientation concept? And how does it differ from the traditional procedural
approach?
[3 Marks]
2.2
Consider the scenario below and answer the questions that follows.
The Electoral Commission of Namibia (ECN) want an online voter registration system to enable
prospective voters to register online. Voter’s Information such as name, identification
number, date of birth, citizenship and constituency should be captured by the system. The
registration officer (RO) is responsible for verifying the captured records by viewing the
records and also, he/she should be able to print reports of registered voters. To access the
system, users should be able to register with the system. You are hired to develop this online
voter registration system to replace the existing system.
a) Identify two (2) actors who will be interacting with the online voter registration system
above.
[2 Marks]
b) Identify and describe one use case for each actor identified in (a) above.
[4 Marks]
c) Draw ause case diagram for the online voter registration system.
[6 Marks]