DBIT306  OBJECT ORIENTED ANALYSIS AND DESIGN.

UNIVERSITY EXAMINATIONS: 2017/2018
EXAMINATION FOR THE DIPLOMA IN INFORMATION
TECHNOLOGY/DIPLOMA IN BUSINESS INFORMATION
TECHNOLOGY
DBIT306 OBJECT ORIENTED ANALYSIS AND DESIGN
DATE: AUGUST 2018 TIME: 11
/2 HOURS
INSTRUCTIONS: ATTEMPT QUESTION ONE AND ANY OTHER TWO QUESTIONS.

QUESTION ONE
a) Define the following terms. [5 Marks]
i. Object orientation
ii. Class
iii. Object
iv. Use case
v. Programming
b) Explain four types of relationships that exist between objects. [8 Marks]
c) Describe the characteristics of an object as used in OOP. [6 Marks]
d) Explain three objects used in robustness analysis. [3 Marks]
e) Explain three types of visibility specifiers used in class diagrams. [6 Marks]
f) With examples differentiate abstract object from real objects. [2 Marks]
QUESTION TWO
a) Explain steps involved in object oriented program development process. [10 Marks]
b) With the aid of diagrams discuss the following UML diagrams. [10 Marks]
i. Use case diagram
ii. Class diagram
iii. Deployment diagram
iv. Collaboration diagram
v. Class diagram
QUESTION THREE
a) 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
b) Explain any four notations used in activity diagrams [4 Marks]
c) Explain the benefits of robustness analysis [5 Marks]
d) Explain FIVE advantages of object oriented approach to software development. [5 Marks]
QUESTION FOUR
a) Draw a use case diagram for the following [5Marks]
A student wants to register for the course leader. The course leader assists the student
to select their modules. The modules that are selected are recorded by the
school administrator in the registration file.
b) Discuss the limitations of structured approach to software development that led to OOP.
[5 Marks]
c) Using a suitable diagram explain the parts of a class diagram. [5 Marks]
d) Using diagrams discuss FIVE inheritance types. [5 Marks]
QUESTION FIVE
a) What is multiplicity as used in UML? [1 mark]
b) With aid of diagrams explain the three main types of multiplicities. [6 Marks]
c) Differentiate between the following terms. [4 Marks]
i. Super class and sub class
ii. Abstraction and encapsulation
d) ABC restaurant consists of one chef, a customer and one waiter. The chef is responsible
for order of all the food ingredients, preparation of the food and doing washing up. The
waiter is responsible for taking the customer order, preparing the bill and taking the
payment made by the customer. The customer browses the menu, orders the food,
consumes the food, orders the bill and pays the bill. Draw the use case diagram for the
restaurant showing the role of chef, waiter and customer. [6 Marks]
e) Explain any three symbols of a sequence diagram. [3 Marks]

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

Written by