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




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. 



Views: 3230

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 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 this solution is right????



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

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