Entity Relationship Flashcards

1
Q

Entity Type

A

Entities with the same basic attributes are grouped or typed together into the same entity type.

An entity type may have more than one key

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

Entity

A

A basic concept for the ER diagram.
Specific things or objects in the mini-world that are represented in the database.

an entity represents a concept or object that can be identified and described, such as a person, place, thing, or event.

Entities are depicted as rectangular boxes in ER diagrams, with the entity name written inside the box. Each entity has attributes that describe its properties, which are represented as ovals connected to the entity box by lines.

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

Attributes

A

Properties used to describe an entity. An attribute as a value set (data type) attributed to it.

an attribute is a characteristic or property that describes an entity. It is a piece of information that is associated with an entity and helps to define its identity.

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

Key Attribute

A

An attribute of an entity type for which each entity must have a unique value.

A key attribute may be composite.

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

Entity set

A

The current state of the entities of that type that are stored in the database.

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

Entity type

A

Entities with the same basic attributes are grouped or typed into the same entity type.

An entity type may have more than one key

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

Multi-valued Attribute

A

An entity may have different values for that attribute. Example: {Colour} or {PreviousDegree}

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

Simple attribute

A

Each entity has a single atomic value for the attribute.

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

Composite Attribute

A

The attribute may be composed of several components. Ex: adresse or full name

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

Derived Attribute

A

It’s value is dynamic and derived from another attribute. It is represented by dashed oval I’m an ER diagram. For example a person’s age is a derived attribute because its value changes over time

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

Recursive relationship type

A

A relationship between the same participating entity type in distinct time

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

Self-referencing relationship type

A

Same as recursive entity type

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

Weak entity type

A

An entity that did not have a key attribute and that is identification-dependent on another type

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