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.

# Assignment No. 03 Software Engineering I – CS504 Solution and Discussion

Views: 15293

Attachments:

### Replies to This Discussion

Lets Discuss Students

let's do this :p

Nice work sis hmari assignment b isi k related he hy

its gud to see u again .....cs504

i think our diagram will be looked like

thanx

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.

The UML association

The UML association (ER term: relationship) is the way that two classes are functionally connected to each other.

Example: We want our customers to be able to place orders for the products that we sell, so we need to model the Order class and its association with the Customer. Notice that while the Customer class represents a physical “thing,” the Order class represents an event that happens in the enterprise. Both are equally valid class types. We will first describe the Order:

“An order is created when a customer decides to buy one or more of our products. We need to know when the order was placed (date and time), and which customer representative sold the order.”

The association between the customer and the order will tell us which customer placed the order. We will describe the association in natural language just as we described the classes, but we will also include information about how few (at minimum) and how many (at maximum) individuals of one class may be connected to a single individual of the other class. This is called the multiplicity of the association (ER term: cardinality), and we describe it in both directions.

“Each customer places zero or more orders.” (* in the diagram below means “many”, and any quantity more than one is the same as “many” in a database.)

“Each order is placed by one and only one customer.” (Bad English—passive voice—but makes sense!)

Design pattern: aggregation

Sometimes a class type really represents a collection of individual components. Although this pattern can be modeled by an ordinary association, its meaning becomes much clearer if we use the UML notation for an aggregation.

Example: a small business needs to keep track of its computer systems. They want to record information such as model and serial number for each system and its components.

1

2

3

4

5

## VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List

## Latest Activity

5 hours ago

6 hours ago

6 hours ago

6 hours ago

### @@@@ Mera dill bra roya h;;;;;

6 hours ago
+ Diamond Heart liked 刀のの尺's discussion (っ◔◡◔)っ ♥ Conversation ♥
6 hours ago
+ Diamond Heart liked Asrukh's discussion Mit chuki hai meri har khushi,
6 hours ago
6 hours ago

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