UNIVERSITY EXAMINATIONS: 2012/2013
SECOND YEAR EXAMINATION FOR THE BACHELOR OF SCIENCE
IN INFORMATION TECHNOLOGY
BIT 2107 OBJECT ORIENTED ANALYSIS & DESIGN
DATE: AUGUST, 2013 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and any other TWO Questions
QUESTION ONE (30 Marks)
(a) Differentiate between the following object oriented terms:
(i) Model vs Diagram
(ii) Activity vs Action
(iii) Class diagram vs Package diagram (6 Marks)
(b)
Outline any four characteristics of the object oriented approach to systems
development. (4 Marks)
Highlight any three limitations of the structured approach to software development.
(3 Marks)
Explain the steps followed in the analysis and design stages of the object-oriented approach to
systems development. (6 Marks)
State significance of the Unified Modeling Language (UML) in object orientation and describe
its main building blocks. (6 Marks)
(e) Define activity diagram and show symbols used to draw them.
(5 Marks)
QUESTION TWO (20 MARKS)
(a) Differentiate between a model and a diagram. (2 Marks)
(b)
Using suitable symbols, describe the main parts of a use case diagram. (6 Marks)
Describe the following use case relationships, giving an example scenario of each one
of them. (6 Marks)
i) Includes
ii) Extends
iii) Uses
(iii) Draw a suitable use case diagram based on the description given below: (6 Marks)
You are asked to model a system for a video library. The librarian stocks both DVDs
and video tapes. When a potential client visits the shop, the librarian checks in the
database to establish whether the client is registered or not. If the client is not
registered, he/she is advised by the librarian to register with the library first before any
services could be rendered. Once a client has been registered, he/she is eligible to
borrow at most one library item per week. The item borrowed must be returned before
any other item can be borrowed. If the client does not return the item within a month,
he/she is surcharged a certain amount per day up to the time he/she returns the item.
QUESTION THREE (20 MARKS)
(a) The terms visualization and documentation are some of the elements achieved via the use of
UML. Explain the meaning of these two terms. (4 Marks)
(b) (i)
(ii)
Explain the benefits of the Unified Software Development Process (USDP).
(4 Marks)
Using a diagram explain the main phases of USDP. (10 Marks)
(c) State the difference between a product and a project in software development. (2 Marks)
QUESTION FOUR (20 MARKS)
(a) Sequence and collaboration diagrams are the two main types of interaction diagrams. Using
suitable diagrams distinguish between these two types of diagrams. (6 Marks)
(b) (i) Explain two advantages of inheritance as used in object orientation. (2 Marks)
(c)
(ii) Write a suitable program using C++ to illustrate the concept of inheritance.
(6 Marks)
Explain the following types of models, giving an example diagram for each one of them:
(i) static models
(ii) behavioural models
(iii) dynamic models
(6 Marks)
QUESTION FIVE (20 MARKS)
Systems analysis is a term commonly used in the systems development.
Compare and contrast this term as used in both the structured and the object oriented
approaches. (6 Marks)
In the context of analysis, discuss the concept of robust analysis. (3 Marks)
State what you understand by a class diagram. (2 Marks)
Using a suitable diagram, explain the parts of a class diagram. (5 Marks)
State what you understand by the term multiplicity as used in UML ( 1 Mark)
Explain any three types of such multiplicities (3 Marks)