Top Banner
Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling
50

Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

Dec 17, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

Systems Analysis & Design

5th Edition

Chapter 4

Enterprise Modeling

Page 2: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

22

Chapter Objectives

● Describe enterprise modeling concepts and tools, including entity-relationship diagrams, data flow diagrams, a data dictionary, and process descriptions

● Explain how entity-relationship diagrams provide an overview of system interactions

● Describe the symbols used in data flow diagrams and explain the rules for their use

● Draw data flow diagrams in a sequence, from general to specific

Page 3: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

33

Chapter Objectives

● Explain how to level and balance a set of data flow diagrams

● Describe how a data dictionary is used and what it contains

● Use process description tools, including structured English, decision tables, and decision trees

● Describe the relationship between logical and physical models

Page 4: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

44

Introduction

● In chapter 4, you use enterprise modeling techniques to develop a logical model of the proposed system and document the system requirements– Logical model shows what the system

must do– Physical model describes how the system

will be constructed

Page 5: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

55

Enterprise Modeling Tools

● Systems analysts use many graphical techniques to describe an information system

● Two popular tools are entity-relationship diagrams and data flow diagrams

Page 6: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

66

Entity-Relationship Diagrams

● An entity is a person, place, thing, or event for which data is collected and maintained

● An initial ERD helps you understand the interaction among system entities and provides an overall view of the system

Page 7: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

77

Entity-Relationship Diagrams

● Drawing an Initial ERD–The first step is

to list the entities that you identified during the fact-finding process and to consider the nature of the relationships that link them–Cardinality

Page 8: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

88

Entity-Relationship Diagrams

● Types of Relationships– Three types of relationships can exist

between entities– One-to-one relationship (1:1)– One-to-many relationship (1:M)– Many-to-many relationship (M:N)

Page 9: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

99

Data Flow Diagrams

● A data flow diagram (DFD) shows how data moves through an information system but does not show program logic or processing steps

● A set of DFDs provides a logical model that shows what the system does, not how it does it

Page 10: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1010

Data Flow Diagrams

● DFD Symbols– DFDs use four basic symbols that

represent processes, data flows, data stores, and entities

• Gane and Sarson symbol set• Yourdon symbol set

– Symbols are referenced by using all capital letters for the symbol name

Page 11: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1111

Data Flow Diagrams

Page 12: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1212

Data Flow Diagrams

● DFD Symbols– Process symbol

• Receives input data and produces output that has a different content, form, or both

• Resembles a black box, where the inputs, outputs, and general function of the process are known, but the underlying details are not shown

Page 13: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1313

Data Flow Diagrams

● DFD Symbols–Data flow symbol

• Represents one or more data items• The symbol for a data flow is a line with a single

or double arrowhead• Black hole• Gray hole

Page 14: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1414

Data Flow Diagrams

● DFD Symbols–Data store symbol

• Represent data that the system stores • The physical characteristics of a data store are

unimportant because you are concerned only with a logical model

Page 15: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1515

Data Flow Diagrams

● DFD Symbols–Entity Symbol

• Symbol is a rectangle, which may be shaded to make it look three-dimensional

• Name of the entity appears inside the symbol• Terminators• Source• Sink

Page 16: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1616

Data Flow Diagrams

● Context Diagrams– Top-level view of an information system

that shows the system’s boundaries and scope

– Do not show any data stores in a context diagram because data stores are internal to the system

– Begin by reviewing the system requirements to identify all external data sources and destinations

Page 17: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1717

Data Flow Diagrams

● Context Diagrams– Record the name of the entities and the

name and content of the data flows, and the direction of the data flows

– What makes one system more complex than another is the number of components, the number of levels, and the degree of interaction among its processes, entities, data stores, and data flows

Page 18: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1818

Data Flow Diagrams

● Conventions for DFDs1. Each context diagram must fit on one

page2. The process name in the context

diagram should be the name of the information system

3. Use unique names within each set of symbols

Page 19: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

1919

Data Flow Diagrams

Context diagram DFD for a grading system.

Page 20: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2020

Data Flow Diagrams

● Conventions for DFDs4. Do not cross lines5. Use a unique reference number for each

process symbol

Page 21: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2121

Data Flow Diagrams

● Diagram 0– Zooms in on the context diagram and

shows major processes, data flows, and data stores

– Must retain all the connections that flow into and out of process 0

– Each process has a reference number– Diverging data flow

Page 22: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2222

Data Flow Diagrams

Diagram 0 for the context diagram DFD for a grading system.

Page 23: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2323

Data Flow Diagrams

● Diagram 0– If same data flows in both directions, you

can use a double-headed arrow– Diagram 0 represents exploded view of

process 0– Parent diagram– Child diagram– Functional primitive

Page 24: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2424

Data Flow Diagrams

● Lower-Level Diagrams– Created using leveling and balancing

techniques– Leveling

• Uses a series of increasingly detailed DFDs to describe an information system

• Exploding, partitioning, or decomposing

Page 25: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2525

Data Flow Diagrams

● Lower-Level Diagrams–Balancing

• Ensures that the input and output data flows of the parent DFD are maintained on the child DFD

Page 26: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2626

Data Flow Diagrams

● Strategies for Developing DFDs– A set of DFDs is a graphical, top-down

model– With a bottom-up strategy, you first

identify all functional primitives, data stores, entities, and data flows

– The main objective is to ensure that your model is accurate and easy to understand

Page 27: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2727

Data Flow Diagrams

● Strategies for Developing DFDs– General rule of thumb is that a diagram

should have no more than nine process symbols

– To construct a logical model of a complex system, you might use a combination of top-down and bottom-up strategies

– The best approach depends on the information system you are modeling

Page 28: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2828

Data Dictionary

● A data dictionary, or data repository, is a central storehouse of information

● An analyst uses the data dictionary to collect, document, and organize specific facts about the system

● The data dictionary also defines and describes all data elements and meaningful combinations of data elements

Page 29: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

2929

Data Dictionary

● A data element, also called a data item or field, is the smallest piece of data that has meaning

● Data elements are combined into records, also called data structures

● A record is a meaningful combination of related data elements that is included in a data flow or retained in a data store

Page 30: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3030

Data Dictionary

● Documenting the Data Elements–You must

document every data element in the data dictionary–The objective is to

provide clear, comprehensive information about the data and processes that make up the system

Page 31: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3131

Data Dictionary

● Documenting the Data Elements– The following attributes usually are

recorded and described• Data element name and label• Alias• Type and length• Default value• Acceptable values - Domain and validity rules

Page 32: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3232

Data Dictionary

● Documenting the Data Elements– The following attributes usually are

recorded and described• Source• Security• Responsible user(s)• Description and comments

Page 33: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3333

Data Dictionary

● Documenting the Data Flows– The typical attributes are as follows

• Data flow name or label• Description• Alternate name(s)• Origin• Destination• Record• Value and frequency

Page 34: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3434

Data Dictionary

● Documenting the Data Stores–Typical

characteristics of a data store are

• Data store name or label

• Description• Alternate name(s)• Attributes• Volume and

frequency

Page 35: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3535

Data Dictionary

● Documenting the Processes–Typical

characteristics of a process

• Process name or label

• Description• Process number• Process

description

Page 36: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3636

Data Dictionary

● Documenting the Entities–Typical

characteristics of an entity include

• Entity name• Description• Alternate

name(s)• Input data flows• Output data

flows

Page 37: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3737

Data Dictionary

● Documenting the Records–Typical

characteristics of a record include

• Record or data structure name

• Definition or description

• Alternate name(s)

• Attributes

Page 38: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3838

Data Dictionary

● Data Dictionary Reports– You can obtain many valuable reports from

a data dictionary• An alphabetized list of all data elements by name• A report by user departments of data elements

that must be updated by each department• A report of all data flows and data stores that use

a particular data element• Detailed reports showing all characteristics

Page 39: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

3939

Process Description Tools

● A process description documents the details of a functional primitive, which represents a specific set of processing steps and business logic

Page 40: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4040

Process Description Tools

● Modular Design– Based on combinations of three logical

structures, sometimes called control structures which serve as building blocks for the process1. Sequence2. Selection3. Iteration - looping

Page 41: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4141

Process Description Tools

● Structured English– Must conform to the following rules

• Use only the three building blocks of sequence, selection, and iteration

• Use indentation for readability• Use a limited vocabulary, including standard

terms used in the data dictionary and specific words that describe the processing rules

Page 42: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4242

Process Description Tools

● Structured English–Might look familiar to programming students

because it resembles pseudocode

Page 43: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4343

Process Description Tools

● Decision Tables–Shows a logical structure, with all possible

combinations of conditions and resulting actions–It is important to consider every possible

outcome to ensure that you have overlooked nothing

Page 44: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4444

Process Description Tools

● Decision Tables–Can have more than two possible outcomes–Often are the best way to describe a

complex set of conditions

Page 45: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4545

Process Description Tools

● Decision Trees–Graphical representation of the conditions,

actions, and rules found in a decision table–Whether to use a decision table or tree often

is a matter of personal preference

Page 46: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4646

Logical Versus Physical Models

● While structured analysis tools are used to develop a logical model for a new information system, such tools also can be used to develop physical models of an information system

● A physical model shows how the system’s requirements are implemented

Page 47: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4747

Logical Versus Physical Models

● Sequence of Models– Many systems analysts create a physical

model of the current system and then develop a logical model of the current system before tackling a logical model of the new system

– Performing that extra step allows them to understand the current system better

Page 48: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4848

Logical Versus Physical Models

● Four-Model Approach– Develop a physical model of the current

system, a logical model of the current system, a logical model of the new system, and a physical model of the new system

– The only disadvantage of the four-model approach is the added time and cost

Page 49: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

4949

Chapter Summary

● During enterprise modeling, a systems analyst develops graphical models to show how the system transforms data into useful information

● The end product of enterprise modeling is a logical model that will support business operations and meet user needs

● Enterprise modeling involves four main tools: entity-relationship diagrams, data flow diagrams, a data dictionary, and process descriptions

Page 50: Systems Analysis & Design 5 th Edition Chapter 4 Enterprise Modeling.

5050

Chapter Summary

● The data dictionary is the central documentation tool for structured analysis

● Each functional primitive process is documented using structured English, decision tables, and decision trees

● Structured analysis tools can be used to develop a logical model during one systems analysis phase, and a physical model during the systems design phase