www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS304 Object Oriented Programming Assignment No.01 Fall 2021 Solution / Discussion

CS304 Object Oriented Programming Assignment No.01 Fall 2021 Solution / Discussion

Views: 927

### Replies to This Discussion

Share the Assignment Questions & Discuss Here....

Stay touched with this discussion, Solution idea will be uploaded as soon as possible in replies here before the due date.

CS304 Assignment#01 Solution Fall 2021

CS304-Assignment-01-Solution-Fall-2021_VU_Ning.docx

CS304 Assig#01 one more idea solution

CS304-Assignment-1-Solution-Fall-2021.pdf

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 1 solution 2021| correct solution |simple method solution

cs304 assignment solution cs304 solution with simple method cs304 assignment solution 2021 cs304 solution 1

## CS304 ASSIGNMENT 1 SOLUTION FALL 2021

Due Date: 8 Dec 2021

Total Marks: 20

Important things to consider:

1. 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.
2. You have to use standard UML notations for objects, classes, and their associations.

Tips for Guide and Remember:

Use software for draw a diagram

https://app.creately.com/diagram/start/dashboard

Hint:

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

Solution:

# cs304 assignment 1 solution 2021| correct solution |simple method solution

1

2

3

## Latest Activity

30 minutes ago
31 minutes ago
Derrick Bozem is now a member of Virtual University of Pakistan
4 hours ago
23 hours ago
23 hours ago
23 hours ago
yesterday
yesterday