You are on page 1of 2

KIMATHI UNIVERSITY COLLEGE OF TECHNOLOGY

University Examination 2010/2011

STAGE II EXAMINATION FOR THE DIPLOMA IN INFORMATION TECHNOLOGY

DIT 0204: INTRODUCTION TO OBJECT ORIENTATION

DATE: 18TH NOVEMBER 2010 TIME: 11.00 AM – 12.30 PM

INSTRUCTIONS:

Answer Question 1 (compulsory - 30 marks) and any other TWO Questions (15 marks each).

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)
ii. Describe four types of classification (8mks)
b. Name, explain and illustrate three objects in subsystems stated in robustness analysis (6mks)

Page 1 of 2
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)

Page 2 of 2

You might also like