Structuring System Requirements: Conceptual Data Modeling - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Structuring System Requirements: Conceptual Data Modeling

Description:

Ternary ... n-ary. More than two entity types. Relationship Cardinality ... Required to implement any ternary or higher relationship. May have attributes of its own ... – PowerPoint PPT presentation

Number of Views:181
Avg rating:3.0/5.0
Slides: 16
Provided by: steven69
Category:

less

Transcript and Presenter's Notes

Title: Structuring System Requirements: Conceptual Data Modeling


1
Structuring System RequirementsConcep
tual Data Modeling
  • MBA 597
  • Spring 2003

2
Systems Analysis
  • Three Major Activities
  • Requirements determination
  • Requirements structuring
  • Alternative generation and selection
  • Concurrent and iterative

3
Importance of Data Modeling
  • Characteristics of data are crucial to the design
    of the database, programs, screens, and reports
  • Data and their interrelationships are more
    complex than programs
  • Data characteristics are more stable than
    processes
  • The data structure generates the program structure

4
Deliverables of Data Modeling
  • Entity-Relationship Diagram (ERD) for the data in
    this application
  • ERD for the application being replaced
  • ERD for the whole (new) database
  • ERD for the whole (old) database
  • as necessary

5
Components of an ERD
  • Entity
  • Attribute
  • Relationship

6
ERD vis-à-vis DFD
  • Data flows on the ERD contain entities and
    attributes on the DFD
  • Data stores on the ERD are composed of one or
    more entities from the DFD

7
Entity
PERSON
  • Person, place, object, event, or concept
  • about which organization maintains data
  • Entity type vs. entity instance
  • Singular noun, capital letters
  • Source/Sink ? Entity
  • e.g., Manager is probably not an entity
  • Data Flow ? Entity
  • e.g., Inventory Report is not an entity

8
Attribute
Gender
  • Property or characteristic of entity
  • of interest to the organization
  • Singular noun, proper capitalization

9
Identifier Attribute
PersonID
  • An attribute that has a unique value for every
    instance of the entity
  • a.k.a. primary key
  • Ideal characteristics
  • Wont change
  • Never null
  • Avoid intelligent keys
  • Consider surrogate keys

10
Multi-valued Attribute
  • An attribute or group of attributes that can have
    more than one value for a specific instance of an
    entity
  • a.k.a. repeating group
  • e.g., phone numbers, dependents
  • Important to identify them now
  • Will become another entity

11
Relationship
  • An association between one or more entity types
  • of interest to the organization
  • Verb phrase
  • Characteristics
  • Mandatory or optional
  • One or many

12
Relationship Degree
  • Number of entity types involved
  • Binary
  • Two entity types
  • Most common
  • Unary
  • One instance of an entity related to another
    instance of the same entity
  • Ternary n-ary
  • More than two entity types

13
Relationship Cardinality
Inner symbols indicate minimum Either 1
(required) or 0 (optional)
Outer symbols indicate maximum Either 1 or many
14
Associative Entity
  • Required to implement a MM unary or binary
    relationship
  • Required to implement any ternary or higher
    relationship
  • May have attributes of its own
  • May be involved in other relationships

15
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com