You are on page 1of 2

DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY

UNIVERSITY EXAMINATION 2014/2015

SUPPLEMENTARY/SPECIAL EXAMINATIONS FOR STAGE II OF THE DIPLOMA IN


INFORMATION TECHNOLOGY

DIT 0204: OBJECT ORIENTATION


DATE: 18TH FEBRUARY 2015 TIME: 8.30AM-10.00AM

INSTRUCTIONS:

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

QUESTION ONE (30 Marks):

a)
i. Define the term Multiplicity (2mks)
ii. State four UML notations to represent Multiplicity (4mks)
b) Using examples, explain the difference between Composite objects and Component
objects (4mks)
c) Identify, explain and illustrate four types of relationships between objects (10mks)
d) What is a class diagram? (2mks)
e) Name, illustrate and explain four UML notations of state diagram (8mks)

QUESTION TWO (15 Marks)

a) Identify and explain four risks considered during UML development process (8mks)
b) Explain two ways to specify objects responsible for the activities in activity diagram
(2mks)
c) Draw a state diagram of an order processing system (5mks)

QUESTION THREE (15 Marks)

a)
i. Define Inheritance (2mks)
ii. Name and explain three types of inheritance (9mks)
b) Differentiate between Extends and Includes as used in use case diagram (2mks)
c) Explain the term encapsulation (2mks)

Page 1 of 2
QUESTION FOUR (15 Marks):

a) Define the term Class (2mks)


b) Identify and explain three characteristics of an object (6mks)
c) Draw a use case diagram of a restaurant subsystem (7mks)

QUESTION FIVE (15 Marks):

a) Define package diagram (2mks)


b) Illustrate, name and explain four UML notations of deployment diagram (8mks)
c) The object oriented development process stages include: Inception, Elaboration,
Construction and Transition. Explain five activities carried out during Transition phase
(5mks)

Page 2 of 2

You might also like