Topic 4: Entity Relationship (ER) Modeling Flashcards

1
Q

It forms the basis of an ERD

A

Entity Relationship Model

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

It refers to attributes that must have a value at the time the instance is added. Null is not allowed

A

Required Attributes

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

It is an attribute that allows to be left empty at the time the instance is added

A

Optional Attribute

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

It refers to the set of possible values that an attribute can contain

A

Domains

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

It refers to an attribute or set of attributes taht is used to differentitate one entity instance from another

A

Identifiers (Primary Keys)

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

It refers to a primary key that is composed of more than one attribute

A

Composite Identifiers (Composite Keys)

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

It is an attribute that can be subdivided into new several attributes

A

Composite Attributes

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

It refers to an attribute that cannot be subdivided into several new attributes

A

Simple Attributes

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

It is an attribute that can have a single value

A

Single-valued attributes

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

it refers to attributes that can have many values

A

Multivalued Attributes

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

How to implement multi-valued attributes?

A
  • Creating several new attributes for the multi-valued attribute
  • Create a new entity of the original multivalued attributes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

It is an attribute whose value is calculated from other attributes

A

Derived Attributes

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

Advantages of Storing a Derived Attribute

A
  • Saves CPU Processing Cycles
  • Saves data access time
  • Data value is readily available
  • Can keep track of historic data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Disadvantages of Storing Derived Attributes

A
  • Requires constant maintance to ensure derived value is current
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Advantages of Not Storing Derived Attributes

A
  • Saves storage space
  • Computation always yields current value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Disadvantages of Not Storing Derived Attributes

A
  • Uses CPU processing cycles
  • Increases data access time
  • Adds coding complexity to queries
17
Q

It refers to the minimum and maximum number of entity occurrences associated with one occcurence of the related entity

A

Cardinality

18
Q

It is a relationship between entities wherrein the primary key of the related entity does not contain a PK component of the parent entity

A

Weak (non-identifying) Relationship

19
Q

It is a relationship between entities wherein the PK of the related entity contains a PK component of the parent entity

A

Strong (Identifying Relationships)

20
Q

It is an entity type whose existence depends on some other entity type

A

Weak Entity

20
Q

It is an entity type that exists independently of the other entity type

A

Strong Entity

21
Q

It is a type of relationship participation that one entity occurrence does not require a corresponding entity occurence in a particular relationship (min. is 0)

A

Optional Participation

22
Q

It is a type of participation wherein one entity occurence requires a corresponding entity occurence

A

Mandatory Participation

23
Q

It refers to the number of entities or participants associated with a relationship

A

Relationship Degree

24
Q

It is a realtionship degree when an association is maintained within a single entity

A

Unary Relationship

25
Q

It is another name for a unary relationship

A

Recursive Relationship

26
Q

It is a relationship degree wherein two entities are associated in a relationship; it is the most common relationship

A

Binary Relationship

27
Q

It is a relationship degree wherein there is an association among three different entities

A

Ternary Relationship

28
Q

When dealing with Ternary and Higher Relationships

A

It must be decomposed into appropriate equivalent binary relationships