Ask Visual Basic Expert

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.

Visual Basic, Programming

  • Category:- Visual Basic
  • Reference No.:- M9524784

Have any Question?


Related Questions in Visual Basic

Please show how to do the belowvisual basic net application

Please show how to do the below: Visual Basic .NET Application - Coding Exercise 1 (Exercise 13, Zak, 2016, p. 347) For this coding exercise, write the Visual Basic code for a pretest loop that uses an Integer variable n ...

Assignment virtual storeuse the concepts and scenario from

Assignment: Virtual Store Use the concepts and scenario from Assignment 1 to help "Your" Virtual Business to increase the functionality of its online shopping cart. When a customer checks out, the shopping cart must stor ...

Assignment frans virtual fruit standfrans virtual fruit

Assignment: Fran's Virtual Fruit Stand Fran's Virtual Fruit Stand is an online store that sells several types of dried fruit. Based on the needs of Fran's Virtual Fruit stand, you must design a flowchart using Visual Log ...

Pitch amp game design documentthe assignment is about

Pitch & Game Design Document The assignment is about educational driver for teenagers Assignment Brief: In groups you will: - present a pitch and produce a one sheet - provide a demonstration of your game - produce a hig ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As