You are on page 1of 2

DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY

UNIVERSITY EXAMINATIONS 2015/2016

STAGE II SPECIAL/ SUPPLEMENTARY EXAMINATION FOR THE DIPLOMA IN


INFORMATION TECHNOLOGY

DIT 0204 OBJECT ORIENTATION


DATE:18th November 2015 TIME: 2:00PM-3.30PM

INSTRUCTIONS: Answer question ONE and any other Two Questions

QUESTION ONE (30 Marks):

a. Define the following terms: (3mks)


i. Encapsulation
ii. Use case
iii. Association
b. State two ways to specify objects responsible for all activities in an activity diagram (2mks)
c. Describe three types of inheritance (9mks)
d. Differentiate between Package diagram and Deployment diagram (2mks)
e. List any three notations used in a sequence diagram (3mks)
f. Name and explain three characteristics of an object (6mks)
g.
i. Define multiplicity (2mks)
ii. List any three notations to represent multiplicity (3mks)

QUESTION TWO (15 Marks):


a. Describe six components of an activity diagram (6mks)
b. Describe any three UML notations used in a state diagram (6mks)
c. Name and explain any three levels of access used to encapsulate data (3mks)

QUESTION THREE (15 Marks):


a.
i. Define classification (1mk)
i. Describe four types of classification (8mks)
b. Name, explain and illustrate three objects in subsystems stated in robustness analysis (6mks)
QUESTION FOUR (15 Marks):
a. Differentiate between aggregation and composition (4mks)
b. In object oriented development process, there are Inception, Elaboration, Construction and
Transition phases.
i. List and explain four types of risks system analyst should put into consideration during
elaboration stage. (8mks)
ii. Identify three activities carried out during transition (3mks)

QUESTION FIVE (15 Marks):


a. Draw a sequence diagram to represent the information below (10mks)
“The ACTOR send message PickOrder to ORDER object. ORDER object respond by sending
PickItem message to the ORDERITEM object. The ORDERITEM respond to this message by
sending StockSelected message to STOCK object. The STOCK object responds by sending itself
UpdateStock message.”

b. Draw a collaboration diagram from the above scenario (5mks)

You might also like