Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Assignment No. 01
Semester: Fall  2015
Object Oriented Programming – CS304


Total Marks: 20


Due Date: 23 Nov, 2015



To get a hands on experience in creating Object Model (Class Diagram) of real world problems


Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:


  • The assignment is submitted after due date.
  • The assignment is submitted via email.
  • The assignment is copied from Internet or from any other student.
  • The submitted assignment does not open or file is corrupt.
  • It is in some format other than .doc (MS Word Document).


Note: All types of plagiarism are strictly prohibited.


For any query about the assignment, contact at




Case Study

KKJ is a transport company providing its services by means of different vehicles throughout the country. The company currently owns many luxury buses for transportation of passengers among various cities. However company has recently used the shuttle service as well comprising of many cars. For this purpose new staff (car drivers) was hired. A car can be driven by any of the available car drivers.

Objects present in the case study:

  1. Driver
  2. Car
  3. Bus
  4. Vehicle
  5. Passenger
  6. Wheel
  7. Door
  8. Engine


Problem Statement:

You have to draw an Object Model (class diagram) for the given case study.

Object Model must clearly show the relationship between objects.

Object state and behavior is not required to be mentioned at this point.

Hint: Wheel, Door and Engine are parts of bus and driver is only related to car for this scenario.



Views: 11567


Replies to This Discussion

Please read the hint in the assignment

Wheel, Door and Engine are parts of bus not of car and driver is only related to car for this scenario.

hence the object model is not correct

What about this....

Ek mistake hai mery khayal mein

ap ny engine, Door and Wheel ko objects bnaya hai jab ky ye teeno parts hain bus ky ye bus ky sath neechy hi likhy jaeingy

or passenger sirf bus sy belong kar rahy hai according to assignment 

CS304 assignment 01 solution



vehicle k sath car & bus ka " IS-A" ka relation hai .....

car is a vehicle.... bus is a vehicle....
unfilled diamond ka symbol ni ayega..... uska matlb hai vehicle contains car & bus.....
jab k vehicle contain tou nhi karti......
yahan arrow ayegaa.... car or bus se vehicle ki taraf point kary ga

Note for All Members: You don’t need to go any other site for this assignment/GDB/Online Quiz solution, Because All discussed data of our members in this discussion are going from here to other sites. You can judge this at other sites yourself. So don’t waste your precious time with different links.

mjhe confusions hain kuch pls clear kr dein

es website pe koi help ni kr ra just chatting skype id de dein har koi yehi focus rakhta ha

regarding assignment koi ye btain ga jo mainelecture main parha hai diamond filled relation composition ka huta hai n contain wala unfilled huta ha yahan sub ne unfilled diamond lgya hai n cnfusing why is it so

ab mjhe btein passenger bus sekio ha relate why not with a car

Koi btay ga ya thik ha ya nahi please????


Looking For Something? Search Below

Top Trends 

Latest Activity

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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