From use cases to a UML domain model Flashcards

1
Q

What is a domain model?

A

-It’s a representation of real-world things, not software components.
-It’s a set of static structure diagrams, no operations are defined.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an association?

A

It’s a relationship between concepts that indicates some meaningful and interesting connection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is multiplicity?

A

It defines how many instances of a type A can be associated with one instance of a type B, at a particular moment in time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default direction?

A

Left to right, or top to bottom

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an attribute?

A

Logical data value of an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is aggregation?

A

It’s a kind of association used to model whole-part relationships.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a whole-part relationship?

A

The whole is generally called the composite.
Parts have no standard name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is composition/composite aggregation?

A

It means that the multiplicity at the composite end may be at most one. –> FILLED DIAMOND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a shared aggregation?

A

It means that the multiplicity at the composite end may be more than one.–>HOLLOW DIAMOND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a role name?

A

-It identifies an end of an association ad ideally describes the role played by objects in the association.
-It’s not required
-It’s only useful when the role of the object is not clear.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the 2 ways a real-world role can be modelled in a conceptual model?

A

1.A discrete concept
2.As a role in an association

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the pros and cons of roles in associations?

A

Pro: fewer classes
Con: cannot differ the concerns well

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the pros and cons of roles as concepts?

A

Pro: better separation
Con: more classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a recursive/reflexive association?

A

A concept that may have an association to itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly