Assignment No. 01
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:
Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at CS304@vu.edu.pk
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:
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.
BEST OF LUCK
Wheel, Door and Engine are parts of bus and driver is only related to car for this scenario.
Yeah u ryt... wheel Door and Engine related to car but wheel Door and Engine are also part of car ... i mean properties... u mention wheel door and engine in squre like Object ..these are not objects
Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....
thanks for this
Ye sari class ghalat hain
mery khayal mein bus ky parts hain yani attributes hain engine, wheel and door.
Driver one way association hai with car.
Comment plz if i am wrong.
Secondly ap ny sahi kaha vehicle abstract class hai or bus and car are concrete class. so i think arrow hi ayega
you are right driver is only related to car and wheel,door and engine are part of bus
You are absolutely right....