Section 7 Flashcards

1
Q

…………..: A restriction that applies to data, which is often dictated by the business rules.

A

Constraint

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

Mutually exclusive relationships sometimes exist between entities and are also known as ………. ………. ……….

A

Exclusive OR Relationships

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

……….. ……….. ………..: A relationship between one entity and two (or more) other entities where only one of the relationships can exist at a time.

A

Mutually exclusive relationship

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

In ERDs, we model Exclusive OR Relationship relationship with an ……….

A

Arc

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

………. ……….: A logical operator that returns a true value if one, but not both, of its operands is true.

A

Exclusive OR

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

A …………. is drawn on the arc for every relationship that is part of the arc

A

circle

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

If a relationship crosses an arc but it is not part of the Exclusive OR Relationship, the circle is ………….

Where possible, for clarity and ease of reading the diagram, this should be avoided by drawing relationships that are not part of the arc outside the arc.

A

omitted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. An arc always belongs to ……… entity
  2. Arcs can include more than two …………..
  3. Not all relationships of an …………… need to be included in an arc
  4. An entity may have several …………..
  5. An arc should always consist of relationships of the same ………………
A
  1. one
  2. relationships
  3. entity
  4. arcs
  5. optionality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. All relationships in an arc must be ………….. or all must be …………..
  2. Relationships in an arc may be of different ……………, although this is rare
A
  1. mandatory / optional
  2. cardinality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Arcs and Super/subtypes both model ………. …………

A

mutual exclusiveness

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

Certain situations are best modeled as an arc, and others as ………………….

A

supertype and subtypes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. It can be confusing as to when to use an arc vs. a supertype/subtype.
  2. Super/subtypes are Mutually exclusive – in other words, each instance of a supertype is an instance of only one possible subtype.
  3. Arcs represent a Mutually exclusive relationship.
A

R 2

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

Use supertypes/subtypes when you want to represent ……………. or ………… of things.

A

classifications / types

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

Arcs model an Exclusive OR constraint. T or F?

A

True

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

Read 7-2

A

Read 7-2

18
Q

Another thing to consider when modeling these types of relationships is how often the structure changes. If it changes often, then a …………. relationship is easier to maintain. If it is fairly fixed, then you may consider the more explicit ………….

A

recursive / hierarchy

19
Q

The ERD convention to show a recursive relationship is drawn as a loop, also known as a “…………….”

A

pig’s ear