BAHIR DAR UNIVERSITY-BAHIR DAR INSTITUTE OF TECHNOLOGY-FACULTY OF
COMPUTING-DEPARTMENT OF SOFTWARE ENGINEERING
Bahir Dar university institute of technology
Faculty of Computing [BDU-BIT]
Department of software engineering
Name id
Alene Manaye -------------------------------0903647
Submitted to: instructor kelemwork.
Software Architecture and Design -Individual Assignment
Starting point: Analysis model for a route planning system
Using MyTrip, a driver can plan a trip from a home computer by contacting a trip planning
service on the Web (PlanTrip ). The trip is saved for later retrieval on the server. The trip
planning service must support more than one driver.
1|Page
BAHIR DAR UNIVERSITY-BAHIR DAR INSTITUTE OF TECHNOLOGY-FACULTY OF
COMPUTING-DEPARTMENT OF SOFTWARE ENGINEERING
The driver then goes to the car and starts the trip, while the onboard computer gives directions
based on trip information from the planning service and her current position indicated by an
onboard GPS system (ExecuteTrip )
Analysis Class Diagram:
2|Page
BAHIR DAR UNIVERSITY-BAHIR DAR INSTITUTE OF TECHNOLOGY-FACULTY OF
COMPUTING-DEPARTMENT OF SOFTWARE ENGINEERING
Crossing: A Crossing is a geographical point were a driver can choose between several
Segments.
Destination: A Destination represents a location where the driver wishes to go.
Direction: Given a Crossing and an adjacent Segment, a Direction describes in natural language
terms how to steer the car onto the given Segment.
Location: A Location is the position of the car as known by the onboard GPS system or the
number of turns of the wheels.
Planning Service: A Planning Service is a Web server that can supply a trip, linking a number
of destinations in the form of a sequence of crossings and segments.
Route Assistant: A Route Assistant gives Directions to the driver, given the current Location
and upcoming Crossing.
Segment: A Segment represents the road between two Crossings.
Based on the above case study answer the following questions?
A. Identify Non Functional Requirements for my trip
The non functional requirement for my trip are
My Trip is in contact with a web planning Service via a wireless modem.
My trip should give correct directions even if the modem fails to maintain a
connection with the planning services.
My trip should minimize connection time to reduce operation cost.
Replanning is possible if the connection to the planning service is possible.
The planning service can support at least 40 different drivers and 100 trips.
The trip system should be used by the user easily in 12 hours training.
B. Identify design goals from the Non-Functional requirements
3|Page
BAHIR DAR UNIVERSITY-BAHIR DAR INSTITUTE OF TECHNOLOGY-FACULTY OF
COMPUTING-DEPARTMENT OF SOFTWARE ENGINEERING
The design goal from non-functional requirements
Performance: makes greatest use of the processing power, memory size,
network speed, etc. But all these things are getting cheaper. But applications are
getting bigger.
dependability,
cost: the cost of the system is not expensive.
Maintenance: the system should be easily maintainable.
Correctness: the trip system is correct, if it satisfies the user and system
requirements.
Security: Other drivers should not access trips from a driver and other
unauthorized people.
Robustness: the trip system is robust if it tolerates misuse without catastrophic
failure.
C. Model class diagram
The class diagram is based on the analysis model that are given in the question and the
scenario given above.
when we select the class actors always become class name;
The class in the system are:
Trip system
Car
Driver
Location
Destination
Planning service
Segment
Crossing
etc.
4|Page
BAHIR DAR UNIVERSITY-BAHIR DAR INSTITUTE OF TECHNOLOGY-FACULTY OF
COMPUTING-DEPARTMENT OF SOFTWARE ENGINEERING
through my email kkelemu@gmail.com
5|Page