BIT 2107 OBJECT-ORIENTED ANALYSIS AND DESIGN KCA Past Paper

UNIVERSITY EXAMINATIONS: 2012/2013
SECOND YEAR EXAMINATION FOR THE BACHELOR OF
SCIENCE IN INFORMATION TECHNOLOGY
BIT 2107 OBJECT-ORIENTED ANALYSIS AND DESIGN
DATE: DECEMBER, 2012 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and any other TWO

QUESTION ONE
a) Define the following terms clearly showing the relationship between the
(6 Marks)
i. Object-oriented analysis
ii. Object-oriented design.
iii. Object-oriented programming
b) Differentiate between Structured Analysis and Design and Object-Oriented
Analysis and Design (4 Marks)
c) Discuss the generic steps in OOAD (6 Marks)
d) By use of appropriate examples and in UML Define the following relationships
that exist between classes. (6 Marks)
i. Association.
ii. Inheritance
iii. Aggregation
e) By use of the UML notation describe the elements of a use case diagram.
(4 Marks)
f) Discuss four advantages of designing systems as OO Paradigm as opposed to
Structured Analysis and Design Methodology. (4 Marks)
QUESTION TWO
a) Using a Student as an example, and in UML notation describe the following
concepts (6 Marks)
i. Object
ii. Class
b) Describe a class diagram. (1 Marks)
c) Read the narrative below and answer the questions that follow
United States International University has persons who co-exist with each other as
a fraternity. The persons include staff and students. Among the staff body we
have some persons who are lecturers and other are managers. Managers are of
different categories e.g. strategic managers, department managers and project
managers. Students who are doing with post graduates studies at United States
International University are allowed to lecture undergraduate students under the
supervision of the more seasoned lecturers- they are usually referred to assistant
lecturers.
Required:
i. Identify all the classes in the narrative given above. (4 Marks)
ii. Draw a class diagram showing the various relationships from the narrative
(8 Marks)
iii. Describe the kind of relationship that exists between the Lecturer Class and
Student Class and Assistant Lecturer Class (1 Mark)
QUESTION THREE
a) In the context of OOAD define the concepts of INTERFACE and
IMPLEMENTATION highlighting the importance of the two concepts. (4 Marks)
b) Explain your understanding of the concept known as Responsibility Driven
Design (RDD) and how it is employed in OOAD. (4 Marks)
c) By use of a diagram, describe a CRC (Class collaboration Card) stating its use
during design. (4 Marks)
d) Read the following narrative then answer the questions that follow
A student is registered once his certificates have been verified to conform to the
admission criteria for the university admission. After that a student is either on
session, on academic leave or graduate. A student is on session once he is
registered for a new semester and has paid the full fees for tat semester, otherwise
on academic leave once the leave application has been granted. A graduate
student is one who has successfully completed all the required course units, has
passed and finished all the fee requirements.
i. Describe a state diagram (2 Marks)
ii. Draw a state diagram (6 Marks)
QUESTION FOUR
a) Define the following terms in the context of OOAD (4 Marks)
i. Model
ii. Abstraction
b) As a result of inheritance there emerge two relationships known as generalization
and specialization. Differentiate the two showing when each is applicable in
OOAD (4 Marks)
c) Discuss two motivations that necessitated the transition from structured analysis
and design to OOAD (4 Marks)
d) Read the narrative below and answer the questions that follow
A video library stocks the both DVDs and video tapes. When a potential client
visits the shops, the librarian checks in the database to establish whether the client
is registered or not. If the client is not registered, he/she is advised by the librarian
to register with the library first before any services could be rendered. Once a
client has been registered, he/she is eligible to borrow at most one library item per
week. The item borrowed must be returned before any other item can be
borrowed. If the client does not return the item within a month, he/she is
surcharged a certain amount per day up to the time he/she returns the item.
Required:
i. Identify the actors in the scenario above (2 Marks)
ii. Draw a use case diagram to model the video library system. (6 Marks)
QUESTION FIVE
a) Define the term UML (2 Marks)
b) State and briefly explain four benefits modeling (4 Marks)
c) Using appropriate diagrams describe the two types of interaction diagrams.
(6 Marks)
d) Describe the following requirements discovery techniques highlighting two
advantages as well as two disadvantages for each (8 Marks)
i. Interview
ii. Observation

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

Written by