Vous êtes sur la page 1sur 5

MAKERERE UNIVERSITY

College of Computing and Information Sciences


Department of Networks
BSE 3102 - Object-Oriented Software Engineering
Instructions: Attempt all Questions
Duration: 1 Hour
Question 1.
a. State the four phases of the Unified Process (UP).
(2marks)
Answer: Inception, Elaboration, Construction, Transition
b. For each of the phases stated above
i. State one artifact that is produced
(2 marks)
Answer:
Phase
Artifacts
Inception
Vision
Business case
Scope
Glossary
Supplementary
Specification
Use Case Model
Software development Plan
Elaboration
All the above
Domain Model
Use case Model
Design Model
Architectural Document
Implementation Model /
Prototype
Test Model
Construction
All the above
Transition
All the above
ii. Explain what takes place in two of the four phases.
(2 marks)
Answer:
Phase
Goal
Inception:
Identify:
The initial scope of the project
A potential architecture for your
system,
Obtain initial project funding and
stakeholder acceptance.
(Dream)

Elaboration
Construction

Transition

To prove the architecture of the system.


(Design in details)
To build working software incrementally,
which meets the highest-priority needs
of your project stakeholders.
(Do it i.e provide a solution)
To validate and deploy your system into
your production environment
(Deploy it)

c. Explain one advantage of adopting the Object-Oriented Paradigm in the


analysis, design, construction and maintenance of large complex software
systems?
(2 marks)
Answer: Adaptability, Reusability, easy to model real world
problems as objects i.e:
It is easy to model real world problems as objects.
Once a solution is made, it is easy to adapt that software to
changing requirements
Object Technology allows richer avenues for code reuse
Question 2.
Read the following problem case and answer the questions after it.
The Independent Magazine owned by Mr. Andrew Mwenda is printed weekly and
circulated on the street using conventional means. However, management plans a
digital version that will be posted to subscribers. Management is demanding for a
software system from its IT department to track subscriptions. The system should
allow readers register for annual subscription to the magazine via its website,
facebook and google plus pages. Two months before expiry of subscription, a
reminder is sent to the subscribers via email and SMS. If subscription is not received
within a month, another reminder is sent. If renewal subscription is not received up to
two weeks before expiry of the subscription, the subscribers name is removed from
the mailing list and subscriber is informed. This piece of software should accept
payment by credit card, or mobile money. The subscription can be paid once annually
at 192,000/= or twice in two installments (100,000/= each).
a. State at least four functional requirements for the system.
Answer
The system should allow customers to register for subscription
The system should send a reminder to every subscriber via
email and SMS two months before expiry.
The system should send another reminder if subscription is
not received within a month.
The system should cancel a readers subscription (remove the
subscribers name and email from the mailing list) if renewal
subscription is not received up to two weeks before expiry.
The system should inform the subscriber about cancelation of
his / her subscription.

The system should accept payment by credit card, or mobile


money.
The system should accept payment once annually
(120,000/=) or twice in two installments (65,000/= each).
(4 marks)

b. Identify 2 use cases from the above problem case.


Answer: Any two correct answers
Register new subscription
Remind subscriber
Pay subscription / make Payment
Cancel subscription
(2 marks)
c. Write down a fully dressed use case for one of the use cases stated in b. above.
Answer: The easiest is remind subscriber. The student should
also state all the mandatory sections i.e Use Case Name, Primary
Actor, Preconditions, Post Conditions, Main Success Scenario and
Alternate Scenario
Example:
Use case name: Remind Subscriber
Primary Actor: System
Precondition:
1. The subscriber has not yet paid subscription.
2. The customers subscription has not been canceled
Post condition:
1. An SMS and email are sent to remind the customer.
Main Success Scenario
1. The system checks for those subscribers who have not
paid their subscription and stores them in a list.
2. The system removes those with canceled subscription
from the list
3. For each subscriber in the list, the system checks for the
time left before expiry and send an appropriate
message.
Alternate Scenario:
1. All subscriptions paid for
1. The system exits this use case.
3a. Message is not sent
1. Resend the message until receipt acknowledgement
is received
3b. Time left is zero
1. Cancel subscribers subscription
2. Send subscriber a message informing him/her of the
cancelation
(6 marks)

d. Apply linguistic analysis over the functional requirements stated in a. above to


identify at least 2 candidate conceptual classes for the problem domain of such
a system.
Answer:

The cases system functions


The system should allow customers to register for subscription
The system should remind subscribers about payment by
email and SMS two months before expiry.
The system should send another reminder if subscription is
not received within a month.
The system should cancel a readers subscription (remove the
subscribers name and email from the mailing list) if renewal
subscription is not received up to two weeks before expiry.
The system should inform the subscriber about cancelation of
his / her subscription.
The system should accept payment by credit card, or mobile
money.
The system should accept payment once annually
(120,000/=) or twice in two installments (65,000/= each).
Green is for the subject, blue for the verb and red for the
object.
Actors: System, Subscriber / Customer
Attributes:
Methods: send reminder, cancel subscription, register
subscriber, receive/ accept subscription
Classes: Subscriber (A:name,email, phone number), System /
Subscription Tracker, Payment Account / Subscription.

(6 marks)
e. Draw a UML class diagram for the two classes stating possible attributes for
each class and the relationships between them.
Answer:

(4 marks)

Vous aimerez peut-être aussi