Professional Documents
Culture Documents
Usman Ashraf
Usman Ashraf
Usman Ashraf
Assigment 01
Database systems
SUBMITTED TO:
SIR ASHAR
SESSION | 2022-2026
Assignment 01
GROUP MEMBERS:
SECTION:
(BSCS-2nd)
DATE:
MAY 02,2023
SUBMITTED TO:
SIR ASHAR
Question NO 1
➢ What is ERD & Enterprise Hierarchical?
ERD
ERD stands for Entity Relationship Diagram. It is a
graphical representation of entities and their relationships to
each other, typically used in software engineering to design
relational databases. An entity is a real-world object or concept
that has a unique identity, such as a customer, order, or
product. A relationship is an association between two or more
entities, such as a customer placing an order or a product being
part of an order.
Enterprise hierarchy
Enterprise hierarchy refers to the way an organization is
structured, with different levels of management and employees
reporting to one another in a hierarchical fashion. This
structure can be represented as an organizational chart, which
shows the different departments and positions within the
organization and how they relate to one another.
Question No 2
➢How to map hierarchies in an ERD?
To map hierarchies in an ERD, you can use a generalization
hierarchy, which defines hierarchical constraints for hierarchical
mapping. A generalization hierarchy groups similar entity types and
defines their similarities and differences. Relationships can be created
between entities of any subtype.
For example, let’s say you have an entity called “Person” and
two subtypes called “Employee” and “Customer”. You can create a
generalization hierarchy that groups “Employee” and “Customer” under
“Person”. You can then create relationships between “Employee” and
other entities, such as “Department”, and between “Customer” and
other entities, such as “Order”.
Question No 3
➢ What is the MAJOR source of information & How it
is captured?
The source of information for an ERD is typically a
database administrator or data analyst who has knowledge of
the organization’s data and business processes. The
information is captured through interviews with stakeholders,
analysis of existing data sources, and documentation of
business processes.
Question no 4
➢ How many entities and relationships are
mendatory in an ERD?
There is no set number of entities or relationships that are
mandatory in an ERD. The number of entities and relationships
will depend on the specific needs of the organization and the
data that they are working with.
However, there are some best practices that can be
followed when creating an ERD. For example, it is generally a
good idea to start with a high-level view of the data and then
work down to more detailed views. It is also important to
ensure that each entity has a unique identifier and that
relationships between entities are clearly defined.
Question N0 5
➢ Is ERD a formal representation?
Yes, an ERD is a formal representation of data within an
organization. It is typically used by database administrators and
data analysts to help understand the data that an organization
uses and how it relates to other data within the organization.
ERDs can be created using a variety of tools, including
Microsoft Visio, Lucidchart, and Gliffy. These tools allow users
to create diagrams that represent the relationships between
different entities within an organization.
Question N0 6
Time LAB
END USER
SLOTS Located
Microscope
ASSIGNED
Presence
ADMIN