Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Engine ( Class ) : Layout ( Straight , Inline, V , Electric ) Amount of Cylinders ( Electric = 0 ) Transmission ( Class

Engine (Class):
Layout (Straight, Inline, V, Electric)
Amount of Cylinders (Electric =0)
Transmission (Class)
Type (Manual/Automatic)
Wheel (Class):
Tire (Class):
Brand
Recommended PS
Breaks (Class):
Brand
Last time it was replaced (Date)
A vehicle's VIN can give you many pieces of information. When creating an object,
these pieces of information can automatically fill in certain variables in the classes. If it
cannot be filled in from the breakdown below, have the user manually enter it.
Below is the breakdown of a VIN by characters:
1-3: WM
1: Where the car was built
2-3: Make and body type
4-8: Vehicle Descriptor
9: Security code
10: Year
11: Which plant assembled the vehicle
12-17: Serial Number
Let's make some generalized rules we can follow.
Location of Manufacturer
Type
Example:
Example:
5YJSA1E62NF016329
Location: USA, Make: Tesla, Body Type: Sedan, Year: 2022
We can make more inferences about the car with the above information. For example:
Tesla -> Electric Engine
Sports Car & Year >2005-> V6 engine (V-Layout) and (6 Cylinders)
Including the two above, you should make at least five more inferences about vehicle
engines based on the information from the VIN number. These inferences do not have
to be correct but should cover all types of cars that can be entered.
Submission notes:
Submit all files from your src folder, including all .java and input files, the .project
file, classpath file, and optionally, the settings folder.
Be sure that your project compiles on CS Department computers before
submission.
Zip the entire folder and name it as "Assg#_firstName_lastName.zip".
Submit the zipped file in the respective Canvas link.
Example Output:
image text in transcribed

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

Students also viewed these Databases questions