We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.


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


Total Marks: 20


DueDate: 10 Nov, 2017



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




Problem Statement

Suppose XYZ is a fashion designing company. To attract more customers the company bought different types of latest sewing machines like lockstitch sewing machine, over edging machine and embroidery machine for their tailors. These machines are composed of different parts like hook gear, needle bar and main shaft. To protect these expensive sewing machines, company also bought sewing machine cases for the machines.


Objects present in the case study:

  1. Sewing Machine
  2. Customer
  3. Tailor
  4. Sewing Machine Case
  5. Hook Gear
  6. Needle bar
  7. Main Shaft
  8. Lockstitch Machine


  1. Over edging machine
  2. Embroidery machine


You have to draw an Object Model (class diagram) for the given problem statement.

Object Model must clearly show the relationship between objects.

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

You have to use UML conventions to draw class diagram. The same has been followed in video lectures as well.

Note: You can use any drawing tool such as MS Visio, MS Paint or online drawing tool etc. but you have to paste your diagram in MS Word (.doc) file and submit this file on LMS. Images and any other format of file submitted as solution file will not be accepted. 



+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 3165


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

idea solution

Check This Out Bushra  I think Part of Machine Should be with Parent Sewing Machine instead of Child 


thanks bro!

bhai embroidery machine apny likhi hi ni hai

chk this...kia ye thk hai??


Bhai Confirm to mUjhe b nahi hai is liye Bushra ko bola tha Check krny k Liye or General Explanation b Upload ki thi sath..........

Guys, come on, m kbsy keh rha hn k ye solution WRONG hy. Company is not an object, it is better to remove it BUT then again, it's my opinion you don't have to follow it. 

One more thing, the lower three machines objects, change their relation to i guess composition. 

General Explanation:

Check this and If I am wrong then please correct the solution and upload it.


Respected Muhammad Arsalan,


Mention Not Bro

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



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


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

sir plz tell me...is this solution is right????



Today Top Members 

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

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