MISM5104  MDA5104  OBJECT ORIENTED TECHNOLOGIES KCA Past Paper

UNIVERSITY EXAMINATIONS: 2018/2019
EXAMINATION FOR THE DEGREE OF MASTER OF SCIENCE IN INFORMATION SYSTEMS
MANAGEMENT/ DATA ANALYTICS
MISM5104 MDA5104 OBJECT ORIENTED TECHNOLOGIES
DATE: APRIL 2019 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.

QUESTION ONE
(a) Describe two benefits of using object technologies to develop information systems (2 Marks)
(b) Briefly explain the following terms as used of object oriented technologies.
Draw well labelled diagram to illustrate each concept (8 Marks)
(i) Composition
(ii) Aggregation
(iii) Dependency
(iv) Inheritance
(c) Consider the following ATM withdraw scenario
A session is started when a customer inserts an ATM card into the card reader slot of the machine.
The ATM pulls the card into the machine and reads it. If the reader cannot read the card due to
improper insertion or a damaged stripe, the card is ejected, an error screen is displayed, and
the session is aborted. The customer is asked to enter his/her PIN, and is then allowed to perform
one or more transactions, choosing from a menu of possible types of transaction in each case.
After each transaction, the customer is asked whether he/she would like to perform another. When
the customer is through performing transactions, the card is ejected from the machine and the
session ends. If a transaction is aborted due to too many invalid PIN entries, the session is also
aborted, with the card being retained in the machine. The customer may abort the session by
pressing the Cancel key when entering a PIN or choosing a transaction type.
Use the following techniques to specify the above ATM withdraw scenario
(i) Table format of Use case (5 Marks)
(ii) Use case Diagram (5 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 each process
(3 Marks)
(b) Briefly explain Importance of using the following techniques in object oriented technologies
(i) Sequence diagram (1 Mark)
(ii) Class diagram (1 Mark)
(c) Suppose you are designing a data entry system. The primary actor is the data entry worker, who will enter
information into a user interface to create and update records for the client. During a Requirements Workshop, a
typical data entry worker is interviewed and describes the following process:
“The System displays a screen that allows the User to enter an invoice number. The System accesses the
sales record and displays the current information in the record to the User, highlighting fields that are
related to payment. The User types information into the fields and submits the updated record. The System
updates the sales record”.
(d) Draw a well labelled sequence diagram to specify the above process (5 Marks)
(e) Draw a well labelled class diagram to design the above process (5 Marks)
QUESTION THREE
(a) Describe the purpose of using Class-Responsibility- Collaboration Cards (CRC) in object oriented
technologies (1 Mark)
(b) Discuss the Steps of developing Object-oriented design (5 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 (5 Marks)
(ii) Draw a Class-Responsibility- Collaboration Cards (CRC) to represent the above description
(4 Marks)
QUESTION FOUR
(a) Discuss four approaches of implementing multiple inheritances java programming
(4 Marks)
(b) Briefly explain the following object oriented concepts and write a sample java code to demonstrate
implementation of each type.
(i) Overloading (2 Marks)
(ii) Overriding (2 Marks)
(iii) Multiple inheritance (2 Marks)
(c) Write a java program that demonstrates how the following class diagram can be implemented using object
oriented programming methodology (5 Marks)

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

Written by