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

This Content Originally Published by a member of VU Students.

Views: 5452

See Your Saved Posts Timeline

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

+ "Argon" updated their profile
2 minutes ago
25 minutes ago
27 minutes ago
amjad ali joined + M.Tariq Malik's group

### MCM301 Communication skills

27 minutes ago
ٹمبکٹو updated their profile
32 minutes ago
Aayizakhan and Neha Ali joined + M.Tariq Malik's group

### CS605 Software Engineering-II

41 minutes ago
44 minutes ago
54 minutes ago
55 minutes ago
Muhammad Azeem added a discussion to the group CS508 Modern Programming Languages

### cs508 Assignment No 3 full solution

56 minutes ago
posted a status
"گواہ رهنا. . ... وہ روے گا بہت..... . اک بار ہمیہن مر تو جانے دو."
1 hour ago

1

2

3

rwp, Pakistan