The Entity Relationship Model Flashcards
What does Entity-Relationship (ER) modelling facilitate?
Database design and implementation that accurately reflects the needs of an organisation or system.
Define entity type in the context of ER modelling.
A group of objects with the same properties, identified by an enterprise as having an independent existence.
What is an entity occurrence?
Each uniquely identifiable object of an entity type.
What is the purpose of the ER model?
To support a user’s perception of data and conceal technical aspects of database design.
What are the basic concepts of the ER model?
- Entity types
- Relationship types
- Attributes
What distinguishes a strong entity type from a weak entity type?
Strong entity types have independent existence; weak entity types are existence-dependent on another entity type.
What is a primary key?
A candidate key that is selected to uniquely identify each occurrence of an entity type.
What does the term ‘relationship type’ refer to?
A set of meaningful associations among entity types.
What is the degree of a relationship?
The number of participating entities involved in a relationship.
True or False: A recursive relationship involves the same entity type participating more than once.
True.
What is a composite attribute?
An attribute composed of multiple components, each with an independent existence.
What does a multi-valued attribute do?
Holds multiple values for each occurrence of an entity type.
Fill in the blank: An attribute that represents a value derivable from a related attribute is called a _______.
Derived attribute.
What is the notation used to represent a weak entity type?
A double rectangle.
What is meant by multiplicity in relationships?
The number (or range) of possible occurrences of an entity type that may relate to a single occurrence of an associated entity type.
What does a binary relationship involve?
Two participating entities.
How is a ternary relationship defined?
A relationship involving three participating entities.
What is a structural constraint?
Constraints that may be placed on entity types participating in a relationship.
What is the purpose of an ER diagram?
To visually represent how different pieces of data are related within a system.
What does the term ‘candidate key’ refer to?
A minimal set of attributes that uniquely identifies each occurrence of an entity type.
What is the significance of role names in relationships?
Role names clarify the purpose of each relationship.
What is the maximum degree for relationships typically used in ER models?
Binary (two participating entities).
What should an entity be according to ER modelling?
- An object that will have many instances in the database
- An object composed of multiple attributes
- An object we are trying to model
What is the notation for associating attributes with relationships?
Dashed line.