You are on page 1of 2

DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY

University Examination 2015/2016


STAGE II EXAMINATION FOR THE DIPLOMA IN INFORMATION
TECHNOLOGY

DIT 0204: INTRODUCTION TO OBJECT ORIENTATION

DATE: 2ND APRIL 2016 TIME: 11.00AM-12.30PM

INSTRUCTIONS:

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

QUESTION ONE (30 Marks):

a. Define the following terms: (4mks)


i. Encapsulation
ii. Use case
iii. Association
iv. Inheritance

b. Name and explain three objects in subsystems stated in robustness (6mks)


c. State three advantages of UML (3mks)
d. List any three notations used in a sequence diagram
(3mks)
e. State the steps used in OOA (5 mks)
f. What is UML? (2mks)
g. Name and explain the three types of components in component diagrams (3mks)
h. Describe any two UML notations used in a state diagram (4mks)

QUESTION TWO (15 Marks):


a. Draw a use case diagram for a cafeteria system depicting the interaction between a
customer and the cafeteria. (6mks)
b. Name and explain three major relationships among use cases with examples (9mks)

Page 1 of 2
QUESTION THREE (15 Marks):
a. Explain the three prominent parts of a system's model (6mks)
b. Draw an activity diagram for a college registration system showing the activities that take
place during registration of students. (9mks)

QUESTION FOUR (15 Marks):


a. Differentiate between aggregation and composition with examples (6mks)
b. Name, explain and illustrate the three types of instant level relationship (9mks)

QUESTION FIVE (15 Marks):


a. What is UML? (2mks)
b. Explain four disadvantages of UML (8mks)
c. Draw a component diagram to represent the system. (5mks)
A system used for processing students results has an application made of a java file
which provides a GUI to the user and a flat file database(one table for holding the marks
and names of the students).

Page 2 of 2

You might also like