All Exams Test series for 1 year @ ₹349 only
Question

In ER diagrams, dashed ellipses are used to denote-

The correct answer is

Derived attributes

Understanding ER Diagram Notation: Dashed Ellipses

Entity-Relationship (ER) diagrams are powerful tools used in database design to visually represent the structure of a database. They show entities (things of interest), attributes (properties of entities), and relationships (how entities are connected). Different shapes and lines are used to represent these components, making the diagram easy to understand.

The question asks about the meaning of dashed ellipses in the context of ER diagrams. Let's break down the common notations used for attributes:

  • Solid Ellipses: These are used to represent simple or composite attributes. Simple attributes are atomic, meaning they cannot be divided (e.g., 'age'). Composite attributes can be divided into smaller sub-attributes (e.g., 'address' divided into 'street', 'city', 'zip').
  • Double Ellipses: These denote multivalued attributes. A multivalued attribute can have multiple values for a single entity instance (e.g., 'phone numbers' for a person).
  • Dashed Ellipses: These are specifically used to represent derived attributes.

What are Derived Attributes in ER Diagrams?

A derived attribute is an attribute whose value can be calculated or derived from other attributes in the database. It is not stored directly in the database but can be obtained when needed from attributes that are stored. Representing them with dashed ellipses indicates that they are not fundamental stored data but are computable.

Example: Consider an entity 'Employee'. An attribute like 'Date of Birth' is a stored attribute. An attribute like 'Age' can be derived from 'Date of Birth' and the current date. In an ER diagram, 'Date of Birth' would be represented by a solid ellipse, and 'Age' would be represented by a dashed ellipse.

Comparing Dashed Ellipses with Other ER Notations

It's helpful to compare the dashed ellipse notation with the other options provided to ensure clarity on ER diagram symbols:

Symbol Meaning Description

Rectangle

Entity Set

Represents a collection of entities of the same type.

Double Rectangle

Weak Entity Set

An entity set that does not have a primary key of its own and depends on another entity set for its existence.

Diamond

Relationship Set

Represents an association among entity sets.

Solid Ellipse

Attribute

Represents a property of an entity or a relationship.

Double Ellipse

Multivalued Attribute

An attribute that can have multiple values for a single entity instance.

Dashed Ellipse

Derived Attribute

An attribute whose value can be computed from other attribute values.

Underlined Solid Ellipse

Key Attribute

An attribute (or set of attributes) that uniquely identifies an entity within an entity set.

Based on standard ER diagram notation, dashed ellipses are explicitly used for derived attributes.

Statement Analysis from Options

  • Derived attributes: This aligns directly with the standard notation for dashed ellipses in ER diagrams.
  • Multivalued attributes: These are represented by double ellipses.
  • Weak entity sets: These are represented by double rectangles.
  • Relationship set: These are represented by diamonds.

Therefore, the dashed ellipses denote derived attributes.

Revision Table: ER Diagram Symbols

Symbol Represents

Rectangle

Entity Set

Diamond

Relationship Set

Ellipse (Solid)

Attribute

Ellipse (Double)

Multivalued Attribute

Ellipse (Dashed)

Derived Attribute

Double Rectangle

Weak Entity Set

Additional Information on ER Diagrams and Attributes

Understanding different types of attributes is crucial for effective database design using ER diagrams. Attributes describe the properties of entities or relationships.

  • Simple vs. Composite Attributes: Simple attributes are atomic (like Employee ID), while composite attributes are made of several simple attributes (like Full Name composed of First Name and Last Name).
  • Single-valued vs. Multivalued Attributes: Single-valued attributes have only one value per entity instance (like Age), while multivalued attributes can have multiple values (like Email Addresses).
  • Stored vs. Derived Attributes: Stored attributes are directly stored in the database (like Date of Birth), while derived attributes are calculated from other attributes (like Age from Date of Birth). Using dashed ellipses for derived attributes helps to show this distinction in the diagram, although derived attributes might not be explicitly stored in the final database implementation to save space and avoid redundancy. However, sometimes they might be stored for performance reasons (e.g., frequently accessed values).

The choice of attribute type and its representation in the ER diagram impacts how the database schema is designed during the mapping phase from the conceptual ER model to the logical relational model.

Was this answer helpful?

Important Questions from ER Model

  1. In an E-R diagram, multivalued attributes are represented by-

  2. Which of the following statements is/are TRUE?


    (i) A weak entity set is identified solely by its partial key (discriminator).


    (ii) The identifying relationship type between a weak entity type and its owner entity type must have total participation from the weak entity type.

  3. A company is consuming parts in the manufacturing of other products. Each of the part is either manufactured within the company or purchased from the external suppliers or both. For each part, partnumber, partname is maintained. Attribute batchnumber is maintained if the consumed part is manufactured in the company. If part is purchased from external supplier, then supplier name is maintained. Which of the following constraints need to be considered when modelling class/subclass concepts in ERD for the given problem.

  4. In E-R Diagram, derived attributes are represented by-

  5. Given the basic ER and relational models, which of the following is INCORRECT ?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App