Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read this information give the answer in bellow questions (The dealership rents (not sells) 3 types of vehicles: boats, trucks, and motorcycles. There is some

Read this information give the answer in bellow questions

(The dealership rents (not sells) 3 types of vehicles: boats, trucks, and motorcycles. There is some information common to all vehicles: engine power, color, the number of people it can comfortably carry, and a unique ID number for that vehicle. CS552 Spring 2023 Term 1 Homework 2 Page 1 of 3 o There is some information unique to each type of vehicle: Boats: Power or sail, usable on the ocean or just a lake/river, and basic or advanced navigation equipment Trucks: Towing capacity in pounds and type of truck (pickup, box truck, dump truck, flat bed, etc) Motorcycles: Brand (Harley Davidson, Honda, Kawasaki, etc All vehicles are stored in different parts of the dealerships parking lot, according to their type (boats in one area, trucks in another, etc). These areas are labelled with signs to facilitate finding the best vehicle for a customer. Customers can rent any of the vehicles for an agreed upon period of time, after which they must return them. In order to rent a vehicle, you must first register with the dealership giving your name, Driver license number, address, and phone number. You are assigned an ID number. Two sets of employees work at the dealership: o Sales people who help customers find what theyre looking for, do research for them, etc o Finance people who help customers arrange financing, process payments, etc. Once you have registered as a customer, the process for renting a vehicle is basically: 1. Find a sales person who handles the type of vehicle youre looking for (boat, truck, or motorcycle) 2. Work with that sales person to find a vehicle that meets your needs 3. Work with a Finance person to arrange the details of the rental (duration, return date, payment plan, etc) The dealership keeps the same information (driver license number, name, address, and phone number) for both sets of employees as it does for customers. In addition to those fields, it also stores salary and other personal data for the employees (not for customers). For Sales people only (not Finance), it also stores their field of expertise (boats, trucks, or motorcycles) so customers will know who to go to with their questions. Please answer the following questions:)

4. Provide a list of the main Candidate classes you believe youll need to implement the system. Include a brief description of what they represent, what major functions theyll perform, and what other classes theyll interact with. You do not need to provide a class diagram; a list and explanatory text is fine. [15 Points]

5. What inheritance (Is-A) relationships will you have in the Candidate classes you propose? [10 Points]

6. What containment (Has-A) relationships will you have in the Candidate classes you propose? [10 Points]

7. Write three user stories for each of the three roles outlined in the question: customer, sales person, and finance. [10 Points]

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

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions