Referencing Styles : Harvard
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, gross 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 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?
2. Suppose you are an analyst working on a system to be developed to support the assessment of courses like INFS7007. Note that the system is to cater for the possibility that the course assessment may include an assignment as well as, or instead of, weekly tutorial exercises in addition to an exam. Suppose also that a partial UML model for this system has been produced (see below) by other members of the project team and you are responsible for extending the model they have so far built by developing sequence diagrams for some of the use cases they have identified.