DBIT 306  OBJECT ORIENTED ANALYSIS AND DESIGN.

UNIVERSITY EXAMINATIONS: 2015/2016
EXAMINATION FOR THE DIPLOMA IN BUSINESS INFORMATION
TECHNOLOGY
DBIT 306 OBJECT ORIENTED ANALYSIS AND DESIGN
DATE: AUGUST 2016 TIME: 1½HOURS
INSTRUCTIONS: Answer Any THREE Questions.

QUESTION ONE
a) Using an example, define an object and discuss its components (6 Marks)
b) Explain the meaning of information hiding (3 Marks)
c) Define class hierarchy (4 Marks)
d) Write briefly about inheritance and explain two types of inheritance (7 Marks)
QUESTION TWO
a) Explain the meaning of polymorphism (3 Marks)
b) Briefly explain the waterfall approach. (5 Marks)
c) Define the term prototype and briefly explain how prototypes can be useful during system
development. (5 Marks)
d) Briefly discuss meaning and purpose of Use Case Diagrams. (4 Marks)
e) What is the purpose of object oriented analysis? (3 Marks)
QUESTION THREE
a) Why is documentation an important part of analysis? (4 Marks)
b) Give the guidelines for naming a class. (4 Marks)
c) Using an example, explain the meaning of association (4 Marks)
d) Explain what a generalization hierarchy is, using an example. (4 Marks)
e) Explain what aggregation is, using an example. (4 Marks)
QUESTION FOUR
a) Explain the features targeted by the following implementation models. Use examples.
(8 Marks)
(i) Component diagram
(ii) Deployment diagram
b) What is an attribute? Give example. (2 Marks)
c) What is cardinality in an association? Use an example. (2 Marks)
d) Draw a use case diagram for the scenario below: (8 Marks)
Inventory System:
In order to generate an invoice a clerk must log in. If a clerk is a first time user, one must have
themselves registered. There should be an option for a user to register oneself within the login
page. Any user can use the system to view products online. The option of login is also provided
when a user views products online.
QUESTION FIVE
a) State four advantages of modeling (4 Marks)
b) Describe the purpose of the following UML diagrams: (4 Marks)
(i) Activity Diagram
(ii) State Diagram
c) Explain when the following associations are used: (4 Marks)
(i) ‘Extends’
(ii) ‘Includes’
d) Discuss the similarity and difference between sequence diagrams and collaboration diagrams.
Use an example to explain you answer. (8 Marks)

(Visited 98 times, 1 visits today)
Share this:

Written by