Suppose ABC is a car rental company. To facilitate all type of customers the company bought different types of vehicles like car, coaster and bus for their drivers. These vehicles are composed of best engines and tires. Company will also keep these vehicles in separate garages to protect it from any damage.
Q No 1: Find relevant objects from the case study. 5 Marks
Q No 2: Draw an Object Model (class diagram) for the given case study. 15 Marks
Important things to consider:
- Object Model must clearly show the relationship between main objects.
- Object state and behavior is not required to be mentioned at this point.
- You have to use UML conventions to draw class diagram. The same has been followed in video lectures as well.
- As happens in real world that everyone visualizes a problem in a different way so the solutions of all students may vary based upon their own thinking, not taken from any source.