Tutorial 7 Data Modeling and Data dictionary - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Tutorial 7 Data Modeling and Data dictionary

Description:

By Eric Di Wu_at_SE, _at_710. Data Models. A collection of conceptual and abstract tools (non-physical) ... Concern more about the implementation of the data ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 22
Provided by: seem2
Category:

less

Transcript and Presenter's Notes

Title: Tutorial 7 Data Modeling and Data dictionary


1
Tutorial 7 Data Modeling and Data dictionary
  • SEG3430 Systems Analysis and Design

By Eric Di Wu_at_SE, _at_710
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
Data Models
  • The focus in this tutorial and the coming project
    phase
  • Logical data model
  • You will asked to design the data model and the
    data dictionary of a proposed system, under the
    similar scenario as in project phase I and II

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

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

7
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

8
ER-Model
  • Entities

A person, place or thing about Which the data is
collected. In This case, it is the entity
of student
9
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

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

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

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

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

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

15
ER-Model
  • More than one (gt1)

16
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.

17
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.

18
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.

19
(No Transcript)
20
Project Phase 3
  • Will be released in next week
  • Design data model
  • Design data dictionary
  • 10 of the total course assessment

21
End of this tutorial
  • Thank you
Write a Comment
User Comments (0)
About PowerShow.com