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


Replies to This Discussion

nh paseenger kahan gay is me

Ithink Fari app ne ye bulkul theak banai... but you should be mention a driver at right down side of bus.. 

Driver ko b wheel,door,engine wali row me dalo and with passenger because
there is part of Bus and Car......

Khadija aisi bathun pa tawaju hi na dain..aisay stupid har jaga hutay han..or jis nay discusison karni huhi isi discussion ma karay ga simple..otherwise sab wisay hi bol rahay hutay han .......

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


Can anyone know Which one is correct diagram from the above three diagrams ?

please koi btay ga ya file thik ha ya nai>????

ye asteric sign kia represent kr ra ha


Main ny bhi yeh hi bnai hy... aur mery hisab sy yeh bilkul theek hy....!

chalo g ap kehty ho to man lety he


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

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