a vehicle dealership has a number of different


A vehicle dealership has a number of different items for sale: motorbikes, cars, vans and boats.

Each class of items for sale has different characteristics that need to be recorded about it:

  1. Motorbike have the reg number, make, model, engine (cc) and colour recoded
  2. Cars need to have the reg number, make, model, engine (cc) and colour, seats and doors recorded
  3. Vans have the reg number, make, model, engine (cc) , colour, seats and capacity
  4. Boats have a registered port, id number, make, model and displacement

All items also have manufacture year, retail price, sold price (when they have been sold) and cost price. Vans and Boats are advertised and sold 'plus VAT', which means that all prices paid are those stored plus 20%. Bikes, Cars and Vans also have a mileage recorded.

The vehicle dealer requires a system that will allow a user to add items to the stock list. Once a week, they need to create a standard adverts for all items in stock from the registered details, to go into a trade magazine and into a local paper. This is to be written to file.

The system must also be able to register an item as being sold, so that it does not appear in future advert lists. Where this is the case, the sale price is recorded.

The company wants to additional reports - the total cost of all the stock currently available (cost price based); and the total sold price and cost prices of all sold items.

This specification is not complete, so students are expected to complete their knowledge through questioning the lecturer in class time each week until the end of term.

A sample version of the application (with only some of the code implemented) is given on the Blackboard.

You should include a small sample of vehicles automatically to aid testing. Tasks

Task 1

Indentify the Classes, their responsibilities (methods) and Attributes required for this solution and draw a Class diagram for the whole scenario.

Hand In:

 A UML Class diagram showing the relationships between different classes and each class's methods and attributes. You may use Visio or any other suitable drawing tool for this task.

Task 2

Hand in

A fully OO VB 2008 solution on CD. You should submit all developed code, as found in the solution folder. Ensure that this also includes an executable file (.exe) in the appropriate directory.

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: a vehicle dealership has a number of different
Reference No:- TGS0207186

Expected delivery within 24 Hours