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

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

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

See Your Saved Posts Timeline

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

 

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

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

Yes, that's exactly what I want and I have this experience rather than we do copy from any where, if we put little focus and share our ideas it will help us to make the whole assignment and we can make our concept strong with discussion. Good luck!

solution  nhi milna

How can we identify the relationship between these object??

through diagram??

Entities:-
• Vehicles
• Cars
• Sports Utility Vehicles (SUVs)
• Heavy Duty Vehicles (HDVs)
Attributes:-
 Registration no.
 Model
 Color
 engine

In last you have to make image in UML conventions,

Dear As above you answered point 1 & 2 but the 3rd point you did not answered and the point  4 & 5 are same... 

OOP: Association, Aggregation, and Composition

 

 

Association is a relationship where all objects have their own lifecycle and there is no owner.

 

Let’s take an example of Teacher and Student. Multiple students can associate with single teacher and single student can associate with multiple teachers, but there is no ownership between the objects and both have their own lifecycle. Both can be created and deleted independently.

Aggregation is a specialized form of Association where all objects have their own lifecycle, but there is ownership and child objects can not belong to another parent object.

 

Let’s take an example of Department and teacher. A single teacher can not belong to multiple departments, but if we delete the department, the teacher object will not be destroyed. We can think about it as a “has-a” relationship.

 

Composition is again specialized form of Aggregation and we can call this as a “death” relationship. It is a strong type of Aggregation. Child object does not have its lifecycle and if parent object is deleted, all child objects will also be deleted.

 

Let’s take again an example of relationship between House and Rooms. House can contain multiple rooms - there is no independent life of room and any room can not belong to two different houses. If we delete the house - room will automatically be deleted.

 

Let’s take another example relationship between Questions and Options. Single questions can have multiple options and option can not belong to multiple questions. If we delete the questions, options will automatically be deleted. 

Class vehicles

Entities/Objects: Racing Vehicles, Transportation vehicles

RSS

Forum Categorizes

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Study

Other Universities/Colleges/Schools Help

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

Latest Activity

+" I S "+ liked + " Hope "'s discussion Waaqt or Samaj
11 minutes ago
ღ*`* Zainab *`*ღ replied to Ѽ Gracious Heart Ѽ's discussion ECO401 ALL Current Mid Term Papers & Past Final Term Papers at One Place from 12 August 2017 to 24 August 2017 in the group ECO401 Economics
19 minutes ago
ღ*`* Zainab *`*ღ replied to Ѽ Gracious Heart Ѽ's discussion ECO401 ALL Current Mid Term Papers & Past Final Term Papers at One Place from 12 August 2017 to 24 August 2017 in the group ECO401 Economics
19 minutes ago
ღ*`* Zainab *`*ღ joined + M.Tariq Malik's group
19 minutes ago
Mehr Fatima***MCS 4rth*** replied to ❤sεηsιтιvε(∂εsεят ρяιηcεss)❤'s discussion CS506 ALL Current Final Term Papers Fall 2017 & Past Final Term Papers at One Place from 12 august 2017 to 24 august 2017 in the group CS506 Web Design and Development
44 minutes ago
❤sεηsιтιvε(∂εsεят ρяιηcεss)❤ replied to ❤ღ ツƮȃƙƥɛɛɤ ツღ ❤'s discussion Good Bye Ning...:-)
44 minutes ago
jawad ahmad replied to + M.Tariq Malik's discussion MTH401 ALL Current Final Term Papers & Past Final Term Papers at One Place from 12 August 2017 to 24 August 2017 in the group MTH401 Differential Equations
48 minutes ago
ٹمبکٹو updated their profile
54 minutes ago
Fozia khan replied to areeba ***mcs***'s discussion cs402 current final term papers in the group CS402 Theory of Automata
58 minutes ago
+ Ayenah replied to + M.Tariq Malik's discussion CS606 ALL Current Final Term Papers Fall 2016 & Past Final Term Papers at One Place from 25 February 2017 to 08 March 2017 in the group CS606 Compiler Construction
1 hour ago
ٹمبکٹو posted discussions
1 hour ago
+ 赛德王 replied to ❤ღ ツƮȃƙƥɛɛɤ ツღ ❤'s discussion Good Bye Ning...:-)
1 hour ago

Today Top Members 

© 2017   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service