DSA presentation , E-R Model By TanveerSaleh

CyberBaloch 8 views 11 slides Oct 17, 2024
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

It is high-level data model, this model is used to define the data elements and relationship between for a specified system.


Slide Content

DATA base SYSTEM
PRESENTATION
Name:TanveerSaleh
Topic : E-R model
Visit: tanveersaleh.com

E-R model
introduction
oIt is high-level data model, this model is used to define the
data elements and relationship between for a specified
system.
oER Model is used to model the logical view of the system
from data perspective which consists of these components:

E-R model
Entity:
An Entity may be an object with a physical existence –a
particular person, car, house, or employee –or it may be an
object with a conceptual existence –a company, job, or a
university course.
Weak entity:
An entity on an other entity is called weak entity .

E-R MODEL
Attributes:
Attributes are theproperties which define the entity type.
For example.

E-R Model
Types of Attributes:
•Key Attribute.
•Composite Attribute.
•Multivalued Attribute.
•Derived Attribute.
Key Attribute:
The key attribute is use to represent main characteristics of
an
entity. In ER diagram, key attribute is represented by an
oval with
underlying lines.

E-R Model
Composite Attributes:
An attributecomposed of many other attributeis called as
composite
attribute. Composite attribute represented by ellipse. For
example,

oE-R Model
Multivalued Attribute:
An attribute consistingmore than one valuefor a given
entity.
In ER diagram, multivalued attribute is represented by
double oval.For
example.

E-R Model
Derived Attribute:
An attribute which can bederived from other attributesof
the entity type is known as derived attribute. e.g.; Age (can be
derived from DOB). In ER diagram, derived attribute is
represented by dashed oval.

E-R Model
The complete entity typeStudentwith its attributes can be
represented as:

E-R Model
Relations:
1.One to one relation
2.One to many relation
3.Many to one relation
4.Many to many relation

Visit: https://tanveersaleh.com/