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.


Fall%202017_CS304_1.doc

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

 

Total Marks: 20

 

DueDate: 10 Nov, 2017

 

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

 

 

 

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. 

BEST OF LUCK

 

Views: 3216

Replies to This Discussion

No automatic alt text available.

can anyone tell me is this correct assignment or not of cs304?

No Sir it isn't. I've attached the solution YOU uploaded before, so i wanna clear few things:

1. Just Remove 'Company' object and make a relation of customer with tailors.

2. The lower three machines, just change that relation to composition.

One more thing that's left and i'm sure by this point anyone can figure it out.

Sorry i can't show the exact solution due to University Marking Policies, i hope it was helpful.

Attachments:

these machines are composed of parts thats y they have to be arranged towards types of machine rather than sewing machine

Company Object k tour pe ni ana h i also sure and there is a relation between customer and tailor

CS304 solution 

Attachments:

RSS

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

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