Question
1. A Registration and Title system that maintains information about all vehicles in a particular state is to be developed. For each vehicle that is
1. A Registration and Title system that maintains information about all vehicles in a particular state is to be developed. For each vehicle that is registered with the office, the system has to store the name, address, telephone number of the owner, the start date and the end date of the registration, plate information (issue, year, type, and number), sticker (year, type and number), and registration fee. In addition, the following information is maintained about the vehicles themselves: the vehicle ID number, year, make, model, body style, TARE weight, number of passengers, fuel type, colour, cost, engine capacity and mileage. If the vehicle is a trailer, then fuel type, engine capacity and number of passengers are not relevant. For trailers, the body ID number, length and number of axles must be known. The system needs to maintain information on the luggage capacity for a car, maximum cargo capacity and maximum towing capacity for a truck, and horsepower for a motorcycle. The system issues registration notices to owners of vehicle whose registrations are due to expire after one month. When the owner renews the registration, the system updates the registration information on the vehicle. a. Develop a draft class diagram for the Registration and Title system showing the object classes, attributes, operations, associations and multiplicities between them. b. Draw a state machine diagram that captures all the possible states of a Vehicle object, right from the time the vehicle was manufactured until it goes to the junkyard. In drawing the diagram, you may make any necessary assumptions, as long as they are realistic. c. Now, having answered part b, what adjustments (if any) might you have to make to the draft class diagram you developed in answer to part a?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started