Section 7 Flashcards
…………..: A restriction that applies to data, which is often dictated by the business rules.
Constraint
Mutually exclusive relationships sometimes exist between entities and are also known as ………. ………. ……….
Exclusive OR Relationships
……….. ……….. ………..: A relationship between one entity and two (or more) other entities where only one of the relationships can exist at a time.
Mutually exclusive relationship
In ERDs, we model Exclusive OR Relationship relationship with an ……….
Arc
………. ……….: A logical operator that returns a true value if one, but not both, of its operands is true.
Exclusive OR
A …………. is drawn on the arc for every relationship that is part of the arc
circle
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.
omitted
- An arc always belongs to ……… entity
- Arcs can include more than two …………..
- Not all relationships of an …………… need to be included in an arc
- An entity may have several …………..
- An arc should always consist of relationships of the same ………………
- one
- relationships
- entity
- arcs
- optionality
- All relationships in an arc must be ………….. or all must be …………..
- Relationships in an arc may be of different ……………, although this is rare
- mandatory / optional
- cardinality
Arcs and Super/subtypes both model ………. …………
mutual exclusiveness
Certain situations are best modeled as an arc, and others as ………………….
supertype and subtypes
- It can be confusing as to when to use an arc vs. a supertype/subtype.
- Super/subtypes are Mutually exclusive – in other words, each instance of a supertype is an instance of only one possible subtype.
- Arcs represent a Mutually exclusive relationship.
R 2
Use supertypes/subtypes when you want to represent ……………. or ………… of things.
classifications / types
Arcs model an Exclusive OR constraint. T or F?
True