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

 

Objectives:

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

Instructions:

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 CS304@vu.edu.pk

 

 

 

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.

BEST OF LUCK

 

Views: 11534

Attachments:

Replies to This Discussion

I think this is a solution If wrong please tell about it

car and driver key dermaiyan 2way ka relation hai

how can i show this relation

in sab mein se kon sa solution correct hai 

can anyone help plz......

passenger just bus k sat aye ga ya bus or car dono k sat ??

dono k sath bcz car k b passenger ho skty hain

CS304 assignment correct solution

Attachments:

dear passenger 2nu k sath ni ay ga ??

why the passengers are only related with bus

 


RSS

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

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