DBIT306  OBJECT ORIENTED ANALYSIS AND DESIGN.

UNIVERSITY EXAMINATIONS: 2016/2017
EXAMINATION FOR THE DIPLOMA IN BUSINESS INFORMATION
TECHNOLOGY
DBIT306 OBJECT ORIENTED ANALYSIS AND DESIGN
DATE: AUGUST, 2017 TIME: 2 HOURS
INSTRUCTIONS: Answer question ONE and any other TWO questions.

QUESTION ONE (30 MARKS) – COMPULSORY
(a) Explain the meaning of abstraction as used in OOP (3 Marks)
(b) Briefly discuss meaning and purpose of Use Case Diagrams. (4 Marks)
(c) What is the purpose of object oriented analysis? (3 Marks)
(d) Using an example, define an object and discuss its components (6 Marks)
(e) Explain the meaning of inheritance (3 Marks)
(f) Explain four types of messages that objects can send (4 Marks)
(g) Write briefly about inheritance and explain two types of inheritance (7 Marks)
QUESTION TWO (20 MARKS)
(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 design? (3 Marks)
QUESTION THREE (20 MARKS)
(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 (20 MARKS)
(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 (20 MARKS)
(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 95 times, 1 visits today)
Share this:

Written by