Documente Academic
Documente Profesional
Documente Cultură
Analyzing Systems
Using Data Dictionaries
Major Topics
Kendall &
Copyright 2002 by
10-2
Data Dictionary
Copyright 2002 by
10-3
Provide documentation
Eliminate redundancy
Validate the data flow diagram
Provide a starting point for developing
screens and reports
To develop the logic for DFD processes
Kendall &
Copyright 2002 by
10-4
The Repository
Kendall &
Copyright 2002 by
10-5
Data flow
Data structures
Elements
Data stores
Kendall &
Copyright 2002 by
10-6
ID - identification number
Label, the text that should appear on
the diagram
A general description of the data flow
Kendall &
Copyright 2002 by
10-7
(Continued)
Kendall &
Copyright 2002 by
10-8
(Continued)
Kendall &
Copyright 2002 by
10-9
Customer Order
Contains customer order information and is used
to update the customer master and item files and
to produce an order record.
Source
Customer External Entity
Destination Process 1, Add Customer Order
Type
Screen
Data Structure Order Information
Volume/Time 10/hour
Comments
An order record contains information for one
customer order. The order may be received by
mail, fax, or by telephone.
Kendall &
Copyright 2002 by
10-10
Kendall &
Copyright 2002 by
10-11
Algebraic Notation
Kendall &
Copyright 2002 by
10-12
Repeating Groups
A sub-form
A screen or form table
A program table, matrix, or array
Kendall &
Copyright 2002 by
10-13
Repeating Groups
Conditions
A fixed number of repetitions
Upper and lower limits for the number
of repetitions
Kendall &
Copyright 2002 by
10-14
Kendall &
Copyright 2002 by
10-15
Kendall &
Copyright 2002 by
10-16
Kendall &
Copyright 2002 by
10-17
Structural Records
Customer Name
Address
Telephone
Copyright 2002 by
10-18
Kendall &
Copyright 2002 by
10-19
Kendall &
Address =
Street +
(Apartment) +
City +
State +
Zip +
(Zip Expansion) +
(Country)
Telephone =
Area code +
Local number
Copyright 2002 by
10-20
Defining Elements
Kendall &
Copyright 2002 by
10-21
Defining Elements
Kendall &
Copyright 2002 by
10-22
Defining Elements
Kendall &
Copyright 2002 by
10-23
Defining Elements
Kendall &
Copyright 2002 by
10-24
Defining Elements
Kendall &
Copyright 2002 by
10-25
Determining Element
Length
Kendall &
Copyright 2002 by
10-26
Determining Element
Length
Kendall &
Copyright 2002 by
10-27
Determining Element
Length
Element
Last Name
First Name
Company Name
Street
City
Kendall &
11
18
20
18
17
Copyright 2002 by
98%
95%
95%
90%
99%
10-28
Data Truncation
Copyright 2002 by
10-29
Data Format
Kendall &
Copyright 2002 by
10-30
Personal Computer
Formats
Bit - A value of 1 or 0, a true/false value
Char, varchar, text - Any alphanumeric character
Datetime, smalldatetime - Alphanumeric data, several formats
Decimal, numeric - Numeric data that is accurate to the least significant digit
Can contain a whole and decimal portion
Float, real - Floating point values that contain an approximate decimal value
Int, smallint, tinyint - Only integer (whole digit) data
Money, smallmoney - Monetary numbers accurate to four decimal places
Binary, varbinary, image - Binary strings (sound, picture, video)
Cursor, timestamp, uniqueidentifier - A value that is always unique
within a database
Kendall &
Copyright 2002 by
10-31
Z - Zero suppress
9 - Number
X - Character
X(8) - 8 characters
. , - Comma, decimal point, hyphen
Kendall &
Copyright 2002 by
10-32
Kendall &
Copyright 2002 by
10-33
Defining Elements
Kendall &
Copyright 2002 by
10-34
Defining Elements
Kendall &
Copyright 2002 by
10-35
Customer Number
Client Number
Receivable Account Number
Uniquely identifies a customer that has made any business
transaction within the last five years.
6
9(6)
9(6)
Length
Input Format
Output Format
Default Value
Continuous/Discrete Continuous
Type
Numeric
Base or Derived
Derived
Upper Limit
<999999
Lower Limit
>18
Discrete
Value/Meaning
Comments
The customer number must pass a modulus-11 check-digit test.
Kendall &
Copyright 2002 by
10-36
Kendall &
Copyright 2002 by
10-37
Copyright 2002 by
10-38
Copyright 2002 by
10-39
Kendall &
Copyright 2002 by
10-40
Kendall &
Copyright 2002 by
10-41
Kendall &
Copyright 2002 by
10-42
D1
Customer Master File
Client Master File
Contains a record for each customer
Computer
Database
200
45,000
42,000
6%
Copyright 2002 by
10-43
Copyright 2002 by
10-44
Kendall &
Copyright 2002 by
10-45
Copyright 2002 by
10-46
Kendall &
Copyright 2002 by
10-47
Kendall &
Copyright 2002 by
10-48
Kendall &
Copyright 2002 by
10-49
Kendall &
Copyright 2002 by
10-50
Kendall &
Copyright 2002 by
10-51
Kendall &
Copyright 2002 by
10-52
Kendall &
Copyright 2002 by
10-53
Kendall &
Copyright 2002 by
10-54
Kendall &
Copyright 2002 by
10-55
Kendall &
Copyright 2002 by
10-56