Question: SYSTEMS ANALYSIS AND DESIGN Consider the following operation specification, regarding the return of a car (by car we intend an individual car, not a car

SYSTEMS ANALYSIS AND DESIGN

Consider the following operation specification, regarding the return of a car (by car we intend an individual car, not a car make/model; there can be more than one car of the same make/model) to a car rental agency by a customer.

Upon receiving the car ID, the operation needs to do the following.

  1. Change the status of the car from with_customer to available.
  2. If the current date is later than the return date (set at the time of the booking), apply a penalty of 50 per each extra day.
  3. If the tank is not full, apply a penalty of 10 for each 10% missing (assume the fuel indicator has 11 notches, from 0% to 100%).
  4. If no penalty is applied, issue a 10% discount voucher to the customer.

Give this specification with an activity diagram or in controlled English / pseudo-code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!