The More I Help Others To Succeed, The More I Succeed

CS304 Assignment Solution # 1 Fall 2021

Assignments 105
CS304 Assignment Solution # 1 Fall 2021

CS304 Assignment Solution # 1 Fall 2021

CS304 Assignment Solution # 1 Fall 2021

Assignment No.  1
Semester: Fall 2021

Problem Statement:

Due to the increasing number of complaints regarding meat quality, Govt.   Of   Pakistan   has   decided   to   launch   an   “online   meat   Store” named  “Meat  On  Wheels”  so  that,  people  can

purchase red and white meat from home.  Through  this  way,  Govt.  of Pakistan  not  only  can  ensure  the  quality  of  meat  but  also  people

can be satisfied with the fact that the meat they are purchasing is healthy and  Halal.

The  “Meat  On  Wheels”  store will offer both  (red and white)  types of meat with all different categories or portions.  The user will be shown a  list of  Meat  Products,  which can be selected or deselected from the provided list.  The user will need to get registered to buy  Meat  Products.  At the end of shopping,  the customer can double-check all the  Products added into his Cart and verify the total amount before payment.  The  Store  Administrator will manage   Meat categories and   Products and assign orders to   Delivery Boys.

Draw an  Object  Model  (Class  Diagram)  for the given scenario showing main objects,  their attributes,  functions, and relationships.

CS304 Assignment Solution # 1 Fall 2021

Step by Step Guidance:

Extract the main objects  (entities)  of the above system.

Find the necessary attributes and functions that need to be associated with each object.

Identify the relationships among identified objects.

Submission:    

  Construct a    final comprehensive    Class diagram showing all objects and their relationships along with their attributes and functions.

Important things to consider:

As happens in real-world that everyone visualizes a  problem in a  different way so the solutions of all students may vary based upon their own thinking.

You have to use standard     UML notations for objects,       classes,       and their associations.

Hint:

Besides problem statements;  objects,  properties,  and functions of a  system can also be extracted from domain knowledge.

Note:

You have to use all concepts studied so far like abstraction,  encapsulation, inheritance,    association,    generalization,    and specialization wherever applicable.

Solution:

CS304 Assignment Solution # 1 Fall 2021

CS304 Assignment Solution # 1 Fall 2021

CS304 Assignment Solution # 1 Fall 2021

For More Assignment Details

Leave a Reply

Your email address will not be published.

Be silent and let your success shout