Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CPT 341 Visual Basic.NET Project 4-Spring Semester 2019 Classes & Objects, Inheritance, MenuStrip, PictureBox, and RadioButton Controls Develop4 VB Classes (Base Class and 3 Derived/Sub

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CPT 341 Visual Basic.NET Project 4-Spring Semester 2019 Classes & Objects, Inheritance, MenuStrip, PictureBox, and RadioButton Controls Develop4 VB Classes (Base Class and 3 Derived/Sub Classes) and a Windows Form to calculate the average velocity and average fuel consumption of 3 vehicle types. To calculate these values, a user will need to provide a vehicle distance, travel time, and weight into 3 Textbox Controls and provide input if the vehicle has an aerodynami design or not. Velocity and Miles per Gallon selections are to be made using a MenuStrip Control Class Declaration, Object Declaration, Inheritance, Member Variables, MenuStrip Control Object, MouseMove Event Bitmap Object, Radio Button Control Object, Simple Class Diagram MenuStrip Control PictureBo Control TextBox Control CPT 341 Sping 2019-Average Velocity&MG Calculator Small Car Mid Size Car Velocity MPG hput Parameters 75 Average Distance (Mles) Average Travel Time-Houris) Vehicle Weight (Lbs 2910 Small Car Velocity: 57.69231 mphMiles per Gallon: 37.103 Label Control Average Vehicle Curb Weight by Class Vehlicle Class Curb Weight in Pounds 3.497 pounds 4,366 pounds 3,470 pound 259 pounds Curb Weight in Killograms 1,590 kilograms 985 kilograms 577 klograms 936 kilograms Midsize car Midsize truck or SUv CPT 341 Spmg2019 . Avenge wlocity & M90 Calculator Car Mid Size Car Average Didance es) 1.3 Average Travel Time-Horis) Mid Size Car Velocity: 57.69231 mph Miles per Gallon: 35.103 CPT 341 Spring2019 . Average Velocity &GCaledater Car Mid sine Car Large C Velocity Arage Dalance Mies) Awerage Travel Tme-Hourts) Vehicle Weight (bs 1.3 Large Car Velocity 57.69231 mph Miles per Gallion: 21.103 Solution Explorer 0'o.@| P * Create 4 Visual Basic Classes o clsVchicle, chSmallCar, clsMidSieCar, cbLargeCar o clsVehicle is the Base Class o Search Solution Explorer (Ctr clSmallCar, clsMidSizeCar, clsLargeCar are the derived classes Vehic - These classes must inherit from clsVehicle My Project o Include class functions for Velocity and MPG Instantiate cach class to create an Object Car.vb For example: Dim objMS Disp Include comments throu arvb - Use a P e Include error handing where ap . Use a MenuStrip Carvb t Label contr Form1vb ce code ations in your VB Form Inc Mid-Size Car and Large car men names enu commands for cakulating velocity and Miles on (MPG) Solution Ex Team Explo.. Class View Small Car Return (( 012) . (eight)) + 72.023 Return ((-0.013)weight))72.023 Mid SheCar Return ((-.012) . (Weight)) + 70.023 Return Ce0.013) (ight))+70.823 Return ((-0.012)(Weight)) +68.023 Return ((4.013) . (wight)) + 68.023 Points Source code comments throug hout the project code Name, class, and date in the source code comments Error Handling (Try .Catch) Tool Tips and representative text Menu Control Picture Box Control Creating, using, inheriting VB Classes 2S 2S Creating and using an Object by instantiating classes Use of naming conventions (no default control names)(prefix all variables) Program logic and correct calculations/solutions 15 Total 100 MPGD Properties Return Distance/Tinel Return ((4.012) ( eight)) + 72.023 Return ((0.812)Cieight)) 68-823 Return (C-0.e13)- (weight))72.823 Return ((-e-e13) . (Might)) * 68.023 Return (C-0.812)-eight))+70.023 Return ((-e.) . (right)) . 70.823 Project 3 Due Date: 4/1/2019 Note: Send all completed VB Project files to: wxt1955njitedu (or use Dropbox, Google etc-)

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions