Back to: DATA PROCESSING SS 2
Welcome to class!
In today’s class, we will be talking about entity-relationship models. Enjoy the class!
Entity–Relationship Models
Entity-Relationship is a graphical representation of entities and their relationships to each other. Entity-relationship diagrams (ERDs) illustrate the logical structure of the database. Diagrams created to design these entities and relationships are called entity-relationship diagrams or ER diagram.
Uses of Entity-Relationship diagram
- The Entity-Relationship Diagram is used to identify the data that must be captured, stored and retrieved to support the business.
- The Entity-Relationship Diagram is also used to identify the data required to derive and generate a report on the performance measures that an organization should be monitoring.
Components of Entity-Relationship
Entity- Relationship diagrams have three different components;
- Entities
- Attributes
- Relationships
- Entities: Entities are objects or concepts within the data model. Each entity is represented by a box within the ERD. An entity might be considered a container that holds all of the instances of a particular thing in a system.
- Attributes: a key attribute is the unique, distinguishing characteristics of the entity. Primary key is always the attribute of ER. Entities are further described by their attributes (sometimes called data element). These are the smallest units of data that can be described in a meaningful manner.
- Relationship: A relationship is an association among the instances of one or more entity types that are of interest to the organization. A relationship is an association between entities or entity occurrence
- Cardinality: The cardinality defines the relationship between the entities in terms of numbers.
Evaluation
- Define the following; Entity, Attribute and relationship.
- State the uses of an entity-relationship diagram.
Types of cardinality relationship
There are potentially three types of relationship which can exist between different entities;
- One-to-One Relationship
- One-to-Many Relationship
- Many-to-Many Relationship
General evaluation
- What is Cardinality?
- Mention and explain three types of relationship with example.
Weekend assignment
Instruction: Choose the correct option from the ones lettered A to D
- ____ is the unique, distinguishing characteristic of the entity. A. Entity B. Relationship C. Attribute D. cardinality
- Another name for data Element is ____. A. Attribute B. Key C. Entity D. Relationship
Section B
- List with example, the types of cardinal relationship.
- State the uses of an entity-relationship diagram.
- Using tables, explain the differences between primary key and foreign key.
- State two characteristics of suitable relations that support the data requirements of an enterprise.
We hope you enjoyed the class.
Should you have any further question, feel free to ask in the comment section below and trust us to respond as soon as possible.
Ready to make school management easy? Book your free onboarding session nowGet more class notes, videos, homework help, exam practice on Android [DOWNLOAD]
Get more class notes, videos, homework help, exam practice on iPhone [DOWNLOAD]
Additional features of entity model