loading...

CS304 Assignment 1 Solution Spring 2017

CS304 Assignment 1 Solution Spring 2017

Problem Statement:

There are broadly three kinds of vehicles:

  1. Cars
  2. Sports Utility Vehicles (SUVs)
  3. Heavy Duty Vehicles (HDVs)

Every vehicle has an engine and a gearbox. A gearbox is composed of pulleys working according to predefined gear ratios. Cars have smaller engines with 4-6 gears while Sports Utility Vehicles (SUVs) have bigger engines with 4-8 gears. Heavy Duty Vehicles (HDVs) on the other hand, are designed to transport cargo thus have huge engines with 8-16 gears. The larger the numbers of gears the larger will the number of pulleys and vice versa.

The tasks you have to do are:

  1. Extract the main objects (entities) from the given scenario.
  2. Find the necessary attributes and functions that need to be associated with each object to implement the functionality mentioned above.
  3. Identify the relationships between these objects.
  4. Construct a final comprehensive Class diagram showing all objects and their relationships along with their attributes and functions.
  5. You have to use UML conventions to draw class diagram. The same has been followed in video lectures as well.

Solution :

CLICK HERE TO DOWNLOAD CS304 FULL SOLUTION

DOWNLOAD SOLUTION HERE
loading...