Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/imperial-taxi-services/
- Imperial Taxi Services (ITS) serves one-time passengers and regular clients which is identified by a taxi card. The ITS taxi fares for one-time passengers are calculated as follows:
- a) Minimal fare: $2. This fare covers the distance traveled up to 1000 meters and waiting time (stopping for traffic lights or traffic jams, etc.) of up to 3 minutes.
- b) For every additional 250 meters or part of it: 25 cents.
- c) For every additional 2 minutes of stopping or waiting or part thereof: 20 cents.
- d) One suitcase: no charge; each additional suitcase: $1.
- e) Night time addition: 25%, effective for journeys between 21.00 and 06.00.
- Regular clients are entitled to a 10% discount and are not charged the night time addition.
- a) Based on the system description above, you are required to write an algorithm to illustrate the functionality of the system. By identifying the possible modules/classes, create a module design chart for the system and produce a transition network diagram for the modules/classes.
- b) Regular expression is an algebraic way to define patterns. Discuss FIVE tools which can be used to create, test and implement regular expression.
- Download: http://solutionzip.com/downloads/imperial-taxi-services/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement