BIT 2107 OBJECT ORIENTED ANALYSIS  DESIGN III (1) KCA Past Paper

UNIVERSITY EXAMINATIONS: 2013/2014
ORDINARY EXAMINATION FOR THE BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT 2107 OBJECT ORIENTED ANALYSIS & DESIGN
DATE: APRIL, 2014 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and any other TWO

QUESTION ONE
(a) Outline three limitations of the structured approach to software development. (3 Marks)
(b) Define the following object oriented concepts:
(i) Guard condition
(ii) Pre-condition
(iii) polymorphism
(iv) Abstract data type
(v) message passing
(5 Marks)
(c) Explain the main stages involved in object oriented software development. (6 Marks)
(d) Using appropriate notations, discuss the following components of a use case diagram, giving an
example of each one of them
(i) Actor
(ii) Use case (4 Marks)
(e) (i) Define the term class as used in object orientation. (1 Mark)
(ii) With the use of a diagram, explain the main parts of a class diagram. (5 Marks)
(iii) Write an example of program in C++ to show how a class declaration is achieved.
(3 Marks)
(iv) Outline three advantages of modeling in systems development. (3 Marks)
QUESTION TWO
(a) Differentiate between the following class relationships:
(i) Generalization and specialization
(ii) Aggregation and composition
(iii)Association and realization
(6 Marks)
(b) Define the term multiplicity, giving any three examples of multiplicities (4 Marks)
(c) Read the following carefully then answer the questions that follow:
“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.”
Identify suitable classes and draw the corresponding class diagrams that include appropriate
relationships and multiplicities. Justify each of the relationships identified. (10 Marks)
QUESTION THREE
(a) Describe the role of interaction diagrams in object-oriented design. (2 Marks)
(b) Sequence and collaboration diagrams are examples of interaction diagrams. Briefly discuss the
differences between these two types of diagrams. (6 Marks)
(c) (i) Outline the role of activity diagrams in object orientation. (2 Marks)
(ii) With the use of suitable notations, explain the functions of any five components of an
activity diagram. (10 Marks)
QUESTION FOUR
(a) Define the term Unified Modeling Language (UML) and describe its main components.
(4 Marks)
(b) (i) Explain the benefits of the Unified Software Development Process (USDP)
(4 Marks)
(ii) Using a diagram discuss in details, the main phases of USDP. (10 Marks)
(c) State the difference between an activity and an action in UML. (2 Marks)
QUESTION FIVE
(a) (i) Differentiate between deployment and component diagrams. (4 Marks)
(ii) Show the main notations used in each of the above diagrams. (4 Marks)
(b) (i) Briefly explain the three major modeling categories used in object orientation.
(3 Marks)
(ii) Provide an example model for each of the categories mentioned above. (6 Marks)
(c) (i) State the significance of inheritance in object orientation. (1 Mark)
(ii) Give any two types of inheritance. (2 Marks)

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

Written by