Tutorial 4 Data Modeling and Data Dictionary - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

Tutorial 4 Data Modeling and Data Dictionary

Description:

... on the cardinality and modality, a number of relationship symbols are introduced. ... Each account is assigned a unique account number. ... – PowerPoint PPT presentation

Number of Views:108
Avg rating:3.0/5.0
Slides: 20
Provided by: seem2
Category:

less

Transcript and Presenter's Notes

Title: Tutorial 4 Data Modeling and Data Dictionary


1
Tutorial 4 Data Modeling and Data Dictionary
  • SEG3430 Systems Analysis and Design

2
Data Models
  • A collection of conceptual and abstract tools
    (non-physical), for describing
  • Data
  • (Entities)
  • Data Relationships
  • (Relationships)
  • Data Semantics
  • (Meaning Instance)
  • Consistency constraint
  • (Cardinality Modality)

3
Data Models
  • Data Model Classification
  • Logical data model
  • Abstract and high level description of data and
    their relationships
  • Physical data model
  • Concern more about the implementation of the data
    model using tools like database, files, networks,
    systems

4
This tutorial?
  • Entity Relationship Model (ER-Model)
  • An example of ER-Model

5
ER-Model
  • Three major elements in ER-Model
  • Entity
  • Attributes
  • Relationships

6
ER-Model
  • Entities
  • A person, place or thing about which the data is
    collected (According to lecture notes)
  • A class of objects
  • Difference between entities and instances
  • Entities Multiple occurrence of objects
  • Instances A particular example of entities

7
ER-Model
  • Entities

A person, place or thing about Which the data is
collected. In This case, it is the entity
of student
8
ER-Model
  • Attributes
  • Type of information that
  • is captured related to the entity.
  • For the student entity, some related
  • attributes include the
  • Student ID
  • Student Name
  • Which year of study
  • Which department the student
  • studies in?
  • 5. College information

9
ER-Model
  • Relationships
  • The associations and connections between the
    entities.
  • Depending on the cardinality and modality, a
    number of relationship symbols are introduced.

10
ER-Model
  • Relationship
  • Exactly one relationship (1)

11
ER-Model
  • Zero or 1 relationship
  • (0/1)

12
ER-Model
  • One or more relationship ( gt 1)

13
ER-Model
  • Zero or more relationship ( gt 0)

14
ER-Model
  • More than one (gt1)

15
An example of ER-Model
  • Consider the following example
  • The bank is organized into branches. Each branch
    is located in a particular city and is identified
    by a unique id
  • Bank customers are identified by their
    customer-id values. The bank stores the address
    of each customer. Each customer is assigned to
    one bank to take care of.

16
An example of ER-Model
  • The bank offers two types of accounts saving
    and loan accounts. Each account can be held by
    more than one customer, and a customer can have
    more than one account. Each account is assigned a
    unique account number. The bank maintains a
    record of each accounts balance. Each account
    has different interest rate.

17
An example of ER-Model
  • For each loan, the bank keeps track of the
    payments. A payment number identifies a
    particular payment. The date and amount are
    recorded for each payment.

18
(No Transcript)
19
End of this tutorial
  • Thank you
Write a Comment
User Comments (0)
About PowerShow.com