Entity Relationship Modeling: Lesson 5 Flashcards

1
Q

What does entities refer to?

A

It refers to an entity set and not a single occurrence

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

List the 8 types of attributes

A

Required attributes, optional attributes, identifiers, composite identifiers, composite attribute, simple attribute, single-value attribute, multi-valued attribute

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

What is a required attribute?

A

It is a attribute that must have a value

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

What is an optional attribute?

A

It is a attribute that does not require a value, example: STU_Middle Name

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

What is a domain?

A

It is a set of possible values for a given attribute

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

What is a identifier(primary key)?

A

It 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
7
Q

What is a composite identifier?

A

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

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

What is a composite attribute?

A

It is a attribute that can be further subdivided to yield additional values. Address can be subdivided into street, city, state and zip code

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

What is a simple attribute?

A

It is a attribute that cannot be subdivided

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

What is a single valued attribute?

A

It is a attribute that only has a single value, example: SE-08-02-189935 is single-valued, but it is a composite attribute because it can be subdivided into
the region in which the part was produced (SE),
the plant within that region (08),
the shift within the plant (02),
and the part number (189935).

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

What is a multi-valued attribute?

A

It is an attribute that can have many values, example: A person may have several college degrees.

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

What is a derived attribute?

A

It is an attribute whose value is calculated from other attributes

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

What does the term existence dependence mean?

A

An entity is said to be existence-dependent if it can exist in the database only when it is associated with another related entity occurrence.
Relationship “EMPLOYEE claims DEPENDENT”
The DEPENDENT entity is clearly existence-dependent on the EMPLOYEE entity because it is impossible for the dependent to exist apart from the EMPLOYEE in the database.

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

Explain a weak( non identifying) relationship?

A

Exists if the primary key of the related entity does not contain a primary key component of the parent entity.

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

Explain strong(identifying) relationships

A

Exists when the primary key of the related entity contains a primary key component of the parent entity.

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

What are the 3 relationship degrees?

A

Unary, Binary and Ternary

17
Q

What does a bridging or composite entity do?

A

It is used to represent an M:N relationship between two or more entities