Home / Expert Answers / Computer Science / consider-a-gas-station-system-design-using-uml-this-design-model-consists-of-three-classes-stati-pa809

(Solved): Consider a gas station system design using UML. This design model consists of three classes: Stati ...



Consider a gas station system design using UML. This design model consists of three classes: Station, Pump, and Vehicle. A si

Consider a gas station system design using UML. This design model consists of three classes: Station, Pump, and Vehicle. A simple description of each class is shown in the following: - Station is a class that keeps station's ID, volume of gas (gallon), gas type, available status. A Station object can fill gas, stop filling gas, and checkout after filling gas for a vehicle. - Pump is a class that processes the check out operation for a gas filling operation for a customer. It keeps station, vehicle's volume, payment information from customer or cashier. A Pump object is able to check out a filling operation once the payment is validated and print receipt for the customer. - Vehicle is a class that keeps volume of tank (that needs to be filled), and station ID. Given the above class description, a. Define the above three classes using correct UML notation. b. Prepare a class diagram with correct relations using UML notation. c. Prepare state diagrams using correct UML notation. d. Prepare use case diagram using correct UML notation.


We have an Answer from Expert

View Expert Answer

Expert Answer


Step
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe