.... 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: 4548

### 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:

## Latest Activity

ＴＨＥ ＪＯＫＥＲ joined + M.Tariq Malik's group

### CS431 Wireless Communication

32 minutes ago
ＴＨＥ ＪＯＫＥＲ joined + M.Tariq Malik's group

### CS314 Introduction to Cellular Networks

34 minutes ago
ＴＨＥ ＪＯＫＥＲ and AYESHA joined + M.Tariq Malik's group

### CS610 Computer Network

43 minutes ago
Niaz Ali joined + M.Tariq Malik's group

### MGT602 Entrepreneurship

2 hours ago
Niaz Ali, Zainab Riaz and +Zubi+ joined + M.Tariq Malik's group

### MGT502 Organizational Behavior

2 hours ago
Niaz Ali and AYESHA joined + M.Tariq Malik's group

### CS401 Computer Architecture and Assembly Language Programming

3 hours ago
Niaz Ali updated their profile
3 hours ago
Samra Hassaan and RaPuNzAl-(MHRM-1st smstr) are now friends
3 hours ago

Job's & Careers (Latest Jobs)