Get premium membership and access revision papers, questions with answers as well as video lessons.
Object Oriented Analysis &Amp; Design Question Paper
Object Oriented Analysis &Amp; Design
Course:Bachelor Of Science In Information Technology
Institution: Masinde Muliro University Of Science And Technology question papers
Exam Year:2010
EXAMINATION FOR THE DEGREE OF BACHELOR
OF SCIENCE IN INFORMATION TECHNOLOGY
BIT 2107: OBJECT ORIENTED ANALYSIS & DESIGN
DATE: DECEMBER 2010 TIME: 2 HOURS
INSTRUCTIONS: Answer question ONE and any other TWO questions
QUESTION ONE (Compulsory 30 Marks)
a) Differentiate between Object Oriented Analysis and Object Oriented Design [ 4 Marks]
b) Illustrate using an example an Inheritance relationship [ 3 Marks]
c) List and explain the main Structural things in UML [4 Marks ]
d) Draw and explain a use case diagram of when a customer interacts with an ATM(automatic teller machine). [5 Marks ]
e) Explain the following concept of object oriented programming: [4 Marks ]
i. Polymorphism
ii. Encapsulation
iii. Message passing
iv. Data abstraction
f) Briefly describe the main phases of Rational Unified Process methodology. [6 Marks]
g) Define the following: [4 Marks ]
i. Class
ii. Object
iii. Behaviour
iv. Actor
QUESTION TWO ( 20 Marks)
a) Differentiate between the following [ 3 Marks ]
i. State machines.
ii. Activity diagrams.
iii. Interaction diagrams.
b) Enumerate and explain any four primary purposes of use case [4 Marks ]
c) In object-oriented modeling, there are three kinds of relationships that are most important. Illustrate
and Discuss. [6 Marks ]
d) Describe any four views used with UML. [4 Marks ]
e) List any three differences between an object and class diagram [3 Marks ]
QUESTION THREE ( 20 Marks )
a) Describe the functions of the following diagrams: [ 4 Marks ]
i. Collaboration diagram
ii. Package diagram
b) UML provides FIVE stereotype that apply to package diagrams. List and briefly explain them
[ 5 Marks]
c) Differentiate between aggregation and generalization relationship [ 4 Marks]
d) (i) list and explain all UMC notations used in the following
(a) Sequence diagram [2 Marks]
(b) Activity diagram [ 2 Marks]
(ii) Using a suitable example draw a sequence diagram [4 Marks]
QUESTION FOUR ( 20 Marks )
a) The diagram below is state diagram that describes the states and transitions between states for a window, as used in Microsoft Windows.
i. Identify the states and transitions shown in the diagram. [ 4 Marks ]
b) Update the figure in (a) above stepwise to show the following details.
c) Given the following scenario, draw a sequence diagram [ 7 Marks ]
d)
i) If a window receives a Restore event, indicating that the window should be restored or
displayed, as one of many windows taking a portion of the space on the user screen, and
the window is in the Minimized or Maximized state, it will be changed to the Restored
state. [ 4 Marks]
ii) If a window receives a Minimize event, indicating that the window should be
minimized or displayed as an icon taking a minimal amount of space on the user screen,
and the window is in the Restored or Maximized state, it will be in the Minimized
state. [ 4 Marks
iii) If a window receives a Maximize event, indicating that the window should be
maximized or displayed as the only window taking all the space on the user screen, and
the window is in the Minimized or Restored state, it will be in the Maximized state.
[ 4 Marks ]
iv) Every time a window is being restored or maximized it performs a Redraw action to
render itself. [ 4 Marks ]
QUESTION FIVE (20 Marks)
a) List the purpose of Object Oriented Analysis [ 4 Marks ]
b) Give any four reasons why we Model [4 Marks ]
c) Illustrate and describe component diagram [ 5 Marks ]
d) Using an example discuss functions and elements of State chart diagram [5 Marks]
e) Explain the purpose of stereotype in UML [ 2 Marks ]
More Question Papers