Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

What are the qualities to look for in a prospective franchisee?

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago