Question

Differentiate between Reflexive Association and Directed Association by considering Student as an example. Depict using simple...

Differentiate between Reflexive Association and Directed Association by considering Student as an example. Depict using simple diagram.

Homework Answers

Answer #1

The reflexive association is a subtype of association relationship in UML. In this type of association, the instances of the same class can be related to each other. An instance of a class is also said to be an object. It states that a link or a connection can be present within the objects of the same class.

Let us consider an example of a class Student. The Student class has two instances, such as John and Sam. Reflexive association states that a link between John and Sam can be present as they are instances of the same class. Such as they can have a relationship named 'friend', which means John is a friend of Sam and vice-versa.

So, it basically means that relationships can exist between two different objects of the same class.

The directed association is related to the direction of flow within association classes.

In a directed association, the flow is directed. The association from one class to another class flows in a single direction only.

It is denoted using a solid line with an arrowhead. ( -> )

Example:

You can say that there is a directed association relationship between a teacher and a student. A teacher can answer a lot of questions/queries of a student. This flow is unidirectional, that flows from teacher to student only, which means only a teacher can solve the doubts of a student and not vice-versa.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Explain how a student can differentiate between an example of cluster sampling and stratified sampling. You...
Explain how a student can differentiate between an example of cluster sampling and stratified sampling. You might want to give an example of each. These are the 2 most confused techniques of sampling.
Q4 Differentiate between simple leveling & differential leveling with examples in case of highway roads.
Q4 Differentiate between simple leveling & differential leveling with examples in case of highway roads.
how can I differentiate between dilution and molarity questions? example please
how can I differentiate between dilution and molarity questions? example please
Differentiate between a batch process and an assembly line, identify, at least, one example of each
Differentiate between a batch process and an assembly line, identify, at least, one example of each
Is it possible to differentiate between Escherichia coli and Escherichia coli 0157:H using MAC plates? …………………………………………………...
Is it possible to differentiate between Escherichia coli and Escherichia coli 0157:H using MAC plates? ………………………………………………… Why? ...................................................................
A researcher is investigating the association between gender and favorite color with simple random sample of...
A researcher is investigating the association between gender and favorite color with simple random sample of 1000 participants. Respondents were classified by gender (male or female) and by favorite color (Red, Blue, Yellow). Please state the hypothesis, analyze the data sample, and interpret the results below. (chi square)                Red        Blue         Yellow male        200       400            400 female     400        200          400
Recent studies, as summarized, for example, in E. Mortensen et al. (2002). The association between duration...
Recent studies, as summarized, for example, in E. Mortensen et al. (2002). The association between duration of breastfeeding and adult intelligence. Journal of the American Medical Association, 287, 2365–2371, suggest that breastfeeding of infants may increase their subsequent cognitive (IQ) development. Both experiments and observational stud What determines whether some of these studies are experiments?
Recent studies, as summarized, for example, in E. Mortensen et al. (2002). The association between duration...
Recent studies, as summarized, for example, in E. Mortensen et al. (2002). The association between duration of breastfeeding and adult intelligence. Journal of the American Medical Association, 287, 2365–2371, suggest that breastfeeding of infants may increase their subsequent cognitive (IQ) development. Both experiments and observational stud What determines whether some of these studies are experiments?
What is the regression line? Give an example of simple correlation between two variables.
What is the regression line? Give an example of simple correlation between two variables.
A student researcher is interested in examining the association between time spent studying and binge drinking....
A student researcher is interested in examining the association between time spent studying and binge drinking. She has received permission from respective authorities to conduct this research at 5 college campuses. Which design would be best suited to address this research and why? a.) Ecologic study b.) Case study c.) Case control study d.) Case series e.) Cross-sectional study