.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....

We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

Looking For Something at vustudents.ning.com?Search Here

# CS304 Assignment# 01

Please discuss the ideas with each other about problems and it must be solved.

Problem Statement:

There are broadly three kinds of vehicles:

1. Cars

1. Sports Utility Vehicles (SUVs)

1. 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.

Views: 5474

### Replies to This Discussion

how can we consider a simple car as racing car :O

Dis agree with this solution and i guess engine is function and gear is attribute because gear box is connected to engine if there is no engine how gear box will work...

sol dey do koi

this is right ?

Final Solution

Attachments:

CS304 Assignment 1 Solution

Attachments:

Is mein se kon sa correct solution hai

## Forum Categorizes

Job's & Careers (Latest Jobs)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

::::::::::: More Categorizes :::::::::::

## Latest Activity

15 minutes ago
16 minutes ago
BS IT 8th (LMS) liked ٹمبکٹو's discussion Umeed mat harain kabhi bhi!!
18 minutes ago
23 minutes ago
آمنہ liked HaPpY cнαη∂α (✿◠‿◠)(◉‿◉✿)'s discussion Suno...!! Ay Mashriqi Larki
24 minutes ago
ٹمبکٹو posted discussions
35 minutes ago
1 hour ago
Jiya posted a discussion

### Plz fill this doc

1 hour ago
Ahsan MBS (3rd semester) posted a discussion

1 hour ago
2 hours ago
2 hours ago
2 hours ago

1

---, Pakistan