Escolar Documentos
Profissional Documentos
Cultura Documentos
Appendix A
Data Modeling
A-1
Copyright 2001 Prentice-Hall, Inc.
Data and Process Modeling
During systems development both processes
and data must be modeled
Data modeling describes data used by system
Process modeling describes processes carried
out by system
Level of detail
Varies between highest summary and lowest
detail
Structured tools enable level of detail to be
varied
A-2
Entity-Relationship Diagram
(ERD)
Documents firms data by identifying types
of data entities and their interrelationships
Prepared at big picture point of data
specification
Very flexible
A-3
Entity Types
Environmental
Entity
Resource symbol
Important transaction
A-4
Relationship
An association between two entity types
Relationship
symbol
A-5
Connectivity Number of times an entity occurs
in relation to another entity
Dosen
1 Sebagai dosen M Mahasiswa
wali
B. One to many
M M
Mahasiswa Mengambil Matakuliah
C. Many to many
A-6
Attributes
Characteristics of an entity
Actually data elements
Identifiers are unique attributes of the entity
Descriptors describe the entity
A-7
Preparation of an Entity-
Relationship Diagram
1. Identify the entities
2. Identify the relationships
3. Prepare a rough ERD
4. Map data elements to the entities
5. Perform a data analysis (through third normal
form is common)
6. Prepare a modified ERD
7. Review the ERD with users and refine
A-8
Supplier number Supplier Rough ERD
1
Fills
M
Represents Item number
Accounts
Supplier number
payable
A-9
Normalization
Data Elements
Supplier name Supplier
Supplier address
A-12
Data Dictionary
A-13
Data Dictionary [cont.]
Comments:
A-15
Data Store Dictionary Entry
Data store name: Sales order form
Activity:
Comments:
A-16
Data Structure Dictionary Entry
Structure name:Sales order record
Type: Numeric
Length: 4
Typical value:
Specific values:
A-19