Object oriented Technologies  KCA Past Paper

Faculty of Computing and Information Management
Object oriented Technologies
Examination

Question One
a) Briefly explain the following concepts in the context of object oriented technologies.
Use at one example to illustrate each concepts (6 marks)
i) Class
ii) Object
iii) functional requirements
(b) Use the following requirement specifications techniques to describes how a bank Customer
can use an ATM to withdraw money from his/her bank account
i) Scenario (5 marks)
ii) Use case (5 marks)
iii) Use case Diagram (4 marks)
Question Two
(a) Discuss the interplay between object oriented analyses (OOA), object oriented design (OOD)
and object oriented programming (OOP). Use a practical example to illustrate your answer
(7 marks)
(b) Briefly describe the importance of sequence diagram during the development of information
systems (2 marks)

(b) Draw a well labelled sequence diagram of general login page (6 marks)
Question Three
(a) Discuss the Steps of developing Object-oriented design (5 marks)
(b) Describe the importance of class diagrams in object oriented technologies (2 marks).
(c) Consider the following description of a required system:
Owners of apartments fill in information forms about the rental units they have available (e.g.
Location, number of bedrooms, monthly rent), which are entered into a database.
Students can search through this database via the web to find apartment s that meet their needs
(e.g. A two bedroom apartment for $800 or less per month within ½ mile of campus)
They then contact the apartment owners directly to see the apartment and possibly rent it.
Apartment owners call the service to delete their listing when they have rented their
apartment(s)
(i) Draw a use case diagram to specify the above description (4 marks)
(ii) Draw a class diagram to design the above system (4 marks)
Question Four
(a) Briefly describe the meaning following concepts as used in object oriented technologies
(OOT). Describe one example and draw a UML diagram for each case (9 marks)
(i) Association
(ii) Composition
(iii) Aggregation
(b) Consider the following scenario:
The patient arrives at the hospital where he is checked in, and then admitted to the emergency
room. The patient is looked at by a doctor. If the doctor declares the patient to be healthy he is
released from the hospital. If the doctor finds the patient to be unhealthy, he is kept under
observation until considered to be healthy enough for release.
(i) Draw a class diagram to model a system that can implement the above scenario (3 Marks)
(ii) Convert the class diagram into a Class-Responsibility – Collaboration Cards (CRC)
(3 Marks)

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

Written by