Kendall7e - ch08 Analyzing Systems Using Data Dictionaries
Kendall7e - ch08 Analyzing Systems Using Data Dictionaries
Learning Objectives
Understand analysts use of data dictionaries for analyzing data-oriented systems Create data dictionary entries for data processes, stores, flows, structures, and logical and physical elements of the systems being studied, based on DFDs Understand the concept of a repository for analysts project information and the role of CASE tools in creating them Recognize the functions of data dictionaries in helping users update and maintain information systems
8-2
Cataloging
Data flow diagrams can be used to catalog
Data processes Flows Stores Structures Elements
8-3
Major Topics
The data dictionary The data repository Defining data flow Defining data structures Defining data elements Defining data stores Using the data dictionary XML
8-4
8-5
8-8
8-9
Figure 8.3 An example of a data flow description from Worlds Trend Catalog Division
8-11
8-12
Algebraic Notation
Equal sign, meaning is composed of Plus sign, meaning "and Braces {} meaning repetitive elements Brackets [] for an either/or situation Parentheses () for an optional element
8-13
Figure 8.4 Data structure example for adding a customer order at Worlds Trend Catalog Division
8-14
Structural Records
A structure may consist of elements or structural records These are a group of elements, such as:
Customer Name Address Telephone
Each of these must be further defined until they are broken down into their component elements
Kendall & Kendall 8-15
8-16
8-17
Physical
Include additional elements necessary for implementing the system
8-18
Figure 8.6 An element description form example from Worlds Trend Catalog Division
8-20
Element ID
Optional entry Allows the analyst to build automated data dictionary entries
8-22
Based on what the element is commonly called in most programs or by the major user of the element
8-23
Aliases
Synonyms or other names for the element Names used by different users in different systems A CUSTOMER NUMBER may also be called a RECEIVABLE ACCOUNT NUMBER or a CLIENT NUMBER
Kendall & Kendall 8-24
8-25
8-26
Element Length
What should the element length be
Some elements have standard lengths, state abbreviations, zip codes, or telephone numbers For other elements, the length may vary and the analyst and user community must decide the final length
8-27
8-28
Element
8-29
Data Truncation
If the element is too small, the data will be truncated The analyst must decide how this will affect the system outputs If a last name is truncated, mail would usually still be delivered A truncated email address or Web address is not usable
Kendall & Kendall 8-30
Type of Data
Alphanumeric or text data Formats
Mainframe: packed, binary, display Microcomputer (PC) formats PC formats, such as Currency, Number, or Scientific, depend on how the data will be used
8-31
8-32
8-33
Validation Criteria
Ensure that accurate data are captured by the system Elements are either:
Discrete, meaning they have fixed values Continuous, with a smooth range of values
8-34
Default Value
Include any default value the element may have The default value is displayed on entry screens Reduces the amount of keying
Default values on GUI screens
Initially display in drop-down lists Are selected when a group of radio buttons are used
Kendall & Kendall 8-35
8-36
Data Stores
Data stores are created for each different data entity being stored When data flow base elements are grouped together to form a structural record, a data store is created for each unique structural record Because a given data flow may only show part of the collective data that a structural record contains, many different data flow structures may need to be examined to arrive at a complete data store description
Kendall & Kendall 8-37
8-38
Figure 8.9 An example of a data store form for Worlds Trend Catalog Division
8-40
8-41
Figure 8.11 Two data flow diagrams and corresponding data dictionary entries for producing an employee paycheck
8-42
Figure 8.12 An example of an input/output analysis form for Worlds Trend Catalog Division
8-44
8-45
Analyze the System Design, Detecting Flaws and Areas that Need Clarification
All base elements on an output data flow must be present on an input data flow to the process producing the output A derived element should created by a process and should be output from at least one process into which it is not input The elements that are present in a data flow coming into or going out of a data store must be contained in the data store
Kendall & Kendall 8-48
8-51
8-52
8-53
XML Schemas
A more precise way to define the content of an XML document Includes exact number of times an element may occur Includes type of data within elements
8-54
Summary
The data dictionary
A reference work containing data about data Include all data items from data flow diagrams
Repository
A larger collection of project information
8-55
Summary (Continued)
Defining data stores Data dictionary entries Using the data dictionary Data dictionary analysis Data dictionary to XML
8-56