Entity Relationship Modeling Flashcards

1
Q

What does connectivity describe in entity relationship modeling?

A

Connectivity describes the relationship classification.

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

What does cardinality express in entity relationship modeling?

A

Cardinality expresses minimum and maximum number of entity occurrences associated with one occurrence of related entity.

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

What is a relationship instance?

A

A relationship instance is an association between entity instances, where each instance associates exactly one entity instance from each participating entity type.

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

What is an identifier in entity relationship modeling?

A

An identifier (primary key) is one or more attributes that uniquely identify each entity instance.

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

What is a candidate key?

A

A candidate key is a simple or composite key that is unique and minimal.

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

What is a composite key?

A

A composite key is a primary key composed of more than one attribute.

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

What is an alternate key?

A

An alternate key is any candidate key that is not chosen as the primary key.

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

What is a foreign key?

A

A foreign key is an attribute in a table that references the primary key in another table or can be null.

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

True or False: Both foreign and primary keys must be of the same data type.

A

True.

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

What should be done if multivalued attributes exist?

A

The designer must create a new entity composed of the original multivalued attribute’s components.

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

What is existence dependence in entity relationships?

A

Existence dependence means an entity exists in the database only when it is associated with another related entity occurrence.

Entity is existence-dependent if it has a mandatory foreign key—that is, a foreign key attribute that cannot be null.

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

What is existence independence in entity relationships?

A

Existence independence means an entity can exist apart from one or more related entities.

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

What characterizes a weak entity?

A

A weak entity is existence-dependent and has a primary key that is partially or totally derived from the parent entity.

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

What is a strong entity?

A

A strong entity is one that exists independently of other entity types.

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

What is an identifying relationship?

A

An identifying relationship is the relationship between a weak entity type and its owner.

Weak entity inherits part of its primary key from its strong counterpart

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

What are the types of relationship participation?

A
  • Optional participation
  • Mandatory participation
17
Q

What is a unary relationship?

A

A unary relationship is an association maintained within a single entity.

18
Q

What is a binary relationship?

A

A binary relationship is an association between two entities.

19
Q

What is a ternary relationship?

A

A ternary relationship is an association among three entities.

20
Q

What is the role of associative (composite) entities?

A

Associative entities are used to implement M:N relationships and are composed of primary keys of each of the entities to be connected.

May also contain additional attributes that play no role in connective process

21
Q

Fill in the blank: A weak entity meets two conditions: it is ______ and its primary key is partially or totally derived from a parent entity.

A

existence-dependent.

22
Q

What is a derived attribute?

A

A derived attribute is a value that may be calculated from other attributes and need not be physically stored within the database.

23
Q

What notation does Chen use to represent attributes in ER modeling?

A

Chen notation uses ovals connected to entity rectangles.

24
Q

What notation does Crow’s Foot use to represent attributes in ER modeling?

A

Crow’s Foot notation writes attributes in an attribute box below the entity rectangle.

25
What is entity type?
A collection of entities that share common properties or characteristics
26
What is an entity instance?
A single occurrence of an entity type
27
What is the main characteristic of a required attribute?
It must have a value
28
What is the main characteristic of an optional attribute?
It may be left empty
29
Define "composite identifier"
A primary key composed of more than one attribute
30
What is the main characteristic of the ff: - Composite Attribute - Simple Attribute - Single-Value Attribute - Multivalued Attribute
Composite Attribute - can be subdivided Simple Attribute - cannot be subdivided Single-Value Attribute - can only have a single value Multivalued Attribute - can have many values
31
When does a weak (non-identifying) relationship exist?
Exists if PK of related entity does not contain PK component of parent entity
32
When does a strong (identifying) relationship exist?
Exists when PK of related entity contains PK component of parent entity
33
What is relationship degree?
Indicates number of entities or participants associated with a relationship
34
What is recursive relationship?
Relationship that exists between occurrences of the same entity set ## Footnote Naturally found within unary relationship
35
What is an identifying owner?
An entity type on which weak entity depends