Mod4 Advanced-data Modeling Flashcards

1
Q

Result of adding more semantic constructs to the original
entity-relationship (ER) model

A

EERM

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

Diagram using this model

A

EERD

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

Contains unique characteristics of each entity subtype

A

Entity subtype

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

◆ Generic entity type related to one or more entity subtypes
◆ Contains common characteristics

A

Entity supertype

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

✓Depicts arrangement of higher-level entity supertypes and lower-level entity
subtypes
✓Relationships described in terms of “IS-A” relationships
✓Subtype exists only within the context of the supertype
✓Every subtype has only one supertype to which it is directly related
✓Can have many levels of supertype/subtype relationships

A

Specialization heirarchy

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

✓Enables entity subtype to inherit attributes and relationships of the supertype
✓All entity subtypes inherit their primary key attribute from their supertype
✓At the implementation level, the supertype and its subtype(s) maintain a 1:1
relationship
✓Entity subtypes inherit all relationships in which the supertype entity participates
✓Lower-level subtypes inherit all attributes and relationships from all upper-level
supertypes

A

inheritance

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

✓ An attribute in the supertype entity
✓ Determines to which entity subtype each supertype occurrence is
related
✓ Default comparison condition for subtype discriminator attribute
is equality comparison
✓ Subtype discriminator may be based on other comparison
condition

A

subtype discriminator

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

◆ Also called non-overlapping subtypes.
◆ Subtypes that contain a unique subset of the supertype
entity set

A

disjoint subtypes

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

Subtypes that contain non-unique subsets of the supertype
entity set.

A

overlapping subtypes

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

◆ Specifies whether entity supertype occurrence must be a member of at least
one subtype

A

completeness constraints

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

◆ Symbolized by a circle over a single line
◆ Some supertype occurrences are not members of any subtype

A

partial completeness

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

◆ Symbolized by a circle over a double line
◆ Every supertype occurrence must be a member of at least one subtype

A

total completeness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  • Identifies more specific entity subtypes from higher-level entity supertype
  • Top-down process
  • Based on grouping unique characteristics and relationships of the subtypes
A

Specialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  • Identifies more generic entity supertypes from lower-level entity subtypes
  • Bottom-up process
  • Based on grouping common characteristics and relationships of the
    subtypes
A

generalization

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

the most important characteristic of an entity

A

primary key

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

a real-world identifier used to uniquely identify real-world objects
◆ Familiar to end users and forms part of their day-to-day business
vocabulary
◆ Generally, data modeler uses natural identifier as primary key of entity being
modeled
◆ May instead use composite primary key or surrogate key

A

Natural keys

17
Q

As identifiers of composite entities
◇ In which each primary key combination is allowed once in M:N
relationship
◆ As identifiers of weak entities
◇ In which a weak entity has a strong identifying relationship with the
parent entity
◆ Automatically provides the benefit of ensuring that there cannot be duplicate
values

A

composite primary keys

18
Q

When used as identifiers of weak entities normally used to represent:
◆ Real-world object that is existent-dependent on another realworld object
◆ Real-world object that is represented in the data model as two
separate entities in a strong identifying relationship
◆ Dependent entity exists only when it is related to the parent entity

A

composite primary keys

19
Q

Especially helpful when there are:
◆ No natural key
◆ Selected candidate key has embedded semantic contents
◆ Selected candidate key is too long or cumbersome

A

composite primary keys

20
Q

require skills acquired through experience

A

Data modeling and design

21
Q

◆ Foreign keys work with primary keys to properly implement relationships in the
relational model
◆ Put the primary key of the “one” side on the “many” side as a foreign key
◆ Primary key: parent entity
◆ Foreign key: dependent entity
◆ In a 1:1 relationship, there are two options:
◆ Place a foreign key in both entities (not recommended)
◆ Place a foreign key in one of the entities
◇ Primary key of one of the two entities appears as the foreign key of
other

A

Implementing 1:1 relationships

22
Q

◆ Values change over time
◆ Must keep a history of data changes
◆ Must create new entity in 1:M relationships with original entity
◆ New entity contains a new value, date of the change

A

time-variant data

23
Q

occurs when the relationship is improperly or incompletely
identified
◆ Represented in a way not consistent with the real world

A

design trap

24
Q

Most common design trap
occurs when one entity is in two 1:M relationships with other
entities
◆ Produces an association among other entities not expressed in the
model

A

Fan trap

25
Q

Occurs when there are multiple relationship paths between related entities
◆ Main concern is that redundant relationships remain consistent across model
◆ Some designs use redundant relationships to simplify the design

A

Redundant relationships