BIT2107  BBIT109 BAC1302  OBJECT ORIENTED ANALYSIS  DESIGN. KCA Past Paper

UNIVERSITY EXAMINATIONS: 2016/2017
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT2107 BBIT109 BAC1302 OBJECT ORIENTED ANALYSIS & DESIGN
SPECIAL/SUPPLEMENTARY EXAMINATION
DATE: JULY, 2017 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.

QUESTION ONE – Compulsory (Total Marks: 30)
(a) Give the meaning of the following terms in relations to Object Oriented field: (12 marks)
i. Object
ii. Class
iii. Association
iv. Aggregation
v. Encapsulation
vi. Inheritance
(b) Highlight any three limitations of the structured approach to software development.
(3 Marks)
(c) Explain the steps followed in the analysis and design stages of the object-oriented approach
to systems development. (4 Marks)
(d) Define Unified Modeling Language (UML) in object orientation and describe its main
building blocks. (4 Marks)
(e) Define sequence diagram and show symbols used to draw them. (4 Marks)
(f) Describe the three views used in UML to explain all 7 diagrams. (3 Marks)
QUESTION TWO – (Total Marks: 20)
(a) Discuss the following visibility types with the use of an appropriate symbol: (6 Marks)
(i) Private
(ii) Public
(iii) Protected
(b) (i) What do you understand with the term multiplicity? (2 Marks)
(ii) Outline any four types of multiplicities (4 Marks)
(c) Explain any two common uses of interaction diagrams (4 Marks)
(d) Discuss any two situations where activity diagrams are suitable. (4 Marks)
QUESTION THREE – (Total Marks: 20)
(a) In my local food kiosk, you find the following items: Maize, bananas, beans and Oranges.
Draw a hierarchical class diagram to illustrate the kiosk. (4 Marks)
(b) Study the scenario below and answer the questions that follow:
When a student arrives at KCA University, Admission clerk register them at their desk. The
registration is done by a way of entering the student details in the registry. Since admission
clerk is interested in the student, academic level in the university among other details they
records includes names, academic level, town, age and contacts. After registration, the student
is handed over to the faculty. The faculty staff then helps the student to become a faculty
member where they learn until the graduate.
(i) Identify possible actors (3 Marks)
(ii) Identify the possible use cases (3 Marks)
(iii) Draw a use case diagram showing clearly how actors interact with the use cases as
you have stated in (i) and (ii) above. (7 Marks)
(iv) What is the significant of use cases in the Object oriented analysis and design
(3 Marks)
QUESTION FOUR – (Total Marks: 20)
(a) (i) What is a state diagram? (2 Marks)
(ii) Create a state diagram for this scenario. (10 Marks)
The washing machine has 2 major states : pause and runnable. A washing machine in the
runnable state cycles around the following substates – stopped, filling, washing and spinning.
The machine can only start running if the door is closed and the machine will pause
immediately the door is opened. The washing machine runs to a program. The machine
will restart the program each time it re-enters the runnable state
(b) What do you understand by the following terms as used in Object oriented concepts?
(i) Prototyping (2 Marks)
(ii) Spiral Model (2 Marks)
(iii) Inception (2 Marks)
(iv) Transition (2 Marks)
QUESTION FIVE – (Total Marks: 20)
(a) Consider the following scenario.
“Nurses work on a particular ward. Doctors are assigned a number of patients and
during their rounds visit a number of different wards. If a doctor needs advice he/she
may consult with a specialist consultant regarding a particular patient. The specialist
may see the patient. Specialists are basically senior doctors.”
Draw the class diagram to include any inheritance, aggregation or composition and
multiplicities where possible. (12 Marks)
(b) A student in KCA University intends to go for a class. Draw his possible activity diagram.
Remember to include swim lanes, forks, joins among others.
(8 Marks)

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

Written by