Database Management System: Introduction to ER Model

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/18

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering the components, attribute types, relationship cardinalities, participation constraints, and ER diagram notations introduced in Lecture 3.

19 Terms

1
New cards

ER Model

An Entity-Relationship model where E stands for entity and R stands for relationship, used as a foundational step in database design.

2
New cards

Entity

A thing or object in the real world that is distinguishable from all other objects (such as a student, person, or car) and is represented by a rectangle in an ER diagram.

3
New cards

Entity Set

A set of entities of the same type that share the same properties (such as a collection of students S1,S2,S3S1, S2, S3 sharing name, age, and roll number).

4
New cards

Attribute

A property or characteristic associated with an entity or relationship, represented by an ellipse in an ER diagram.

5
New cards

Relationship

An association among several entities, represented by a diamond shape in an ER diagram.

6
New cards

Relationship Set

A set of relationships of the same type sharing similar associations among entities.

7
New cards

Key Attribute

An attribute or set of attributes that uniquely identifies each row in an entity, constrained to be unique and not null, and represented by an ellipse containing an underlined attribute name.

8
New cards

Composite Attribute

An attribute composed of multiple sub-components (for example, an address made up of pin code, street number, and landmark, or a full name composed of first name, middle name, and last name).

9
New cards

Derived Attribute

An attribute whose value is derived or computed from another stored attribute (such as age derived from date of birth), represented by a dotted ellipse.

10
New cards

Multi-valued Attribute

An attribute that can store multiple values in a single cell or field for an entity (such as having multiple phone numbers), represented by a double ellipse.

11
New cards

Strong Entity

An entity that possesses a key attribute sufficient to uniquely identify each row and does not depend on any other entity for its existence, represented by a single rectangle.

12
New cards

Weak Entity

An entity that depends on another entity for its existence, does not have its own key attribute, and is represented by a double rectangle.

13
New cards

Partial Key (Discriminator)

An attribute associated with a weak entity that is used to uniquely distinguish rows within that weak entity set, represented by an ellipse with a dotted underline.

14
New cards

Identifying Relationship

A relationship that associates a weak entity with its identifying strong entity, represented by a double diamond shape.

15
New cards

Mapping Cardinality

The constraint expressing the number of entities to which another entity can be associated via a relationship set, including one-to-one, one-to-many, many-to-one, and many-to-many mappings.

16
New cards

Arrow in Mapping Cardinality

A directional notation in an ER relationship indicating a cardinality constraint of 'one,' which specifically means at most 11 (where 00 is also permitted).

17
New cards

Many-to-Many Relationship

A relationship where entities on both sides can be associated with multiple entities, represented by simple lines without arrows (n:nn:n).

18
New cards

Total Participation

A constraint where every entity in an entity set must participate in a relationship, represented in an ER diagram by a double line.

19
New cards

Partial Participation

A constraint where entities in an entity set may or may not participate in a relationship, represented in an ER diagram by a single line.