CS304 Assignment 1 Solution Fall 2017
#1

[b][font=Times New Roman]Assignment No. 01
Semester: Fall  2017
Object Oriented Programming – CS304
[/font]
[/b]

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.[font=Times New Roman]      [/font]Sewing Machine
2.[font=Times New Roman]      [/font]Customer
3.[font=Times New Roman]      [/font]Tailor
4.[font=Times New Roman]      [/font]Sewing Machine Case
5.[font=Times New Roman]      [/font]Hook Gear
6.[font=Times New Roman]      [/font]Needle bar
7.[font=Times New Roman]      [/font]Main Shaft
8.[font=Times New Roman]      [/font]Lockstitch Machine
9.[font=Times New Roman]      [/font]Over edging machine
10.[font=Times New Roman]  [/font]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.


Solution:
Object Model (Class Diagram)


[Image: vZLO3W6.jpg]
Credit: M Imran Asad
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Mishi Khan
02-13-2019, 05:55 PM
Last Post by Mishi Khan
12-14-2018, 09:54 PM



Users browsing this thread: 1 Guest(s)