Process & Logic Modeling

Slides:



Advertisements
Similar presentations
Information Systems Analysis and Design
Advertisements

Systems Analysis Requirements structuring Process Modeling
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
© 2005 by Prentice Hall 7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey.
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Copyright 2001 Prentice-Hall, Inc. Object Oriented Aproach to System Requirements: Process Modeling 7.1 Chapter 7.
Chapter 7 Structuring System Process Requirements
Dataflow modelling: Context and Data Flow Diagrams
Chapter 7 Analyzing System Process Requirements
Jump to first page Chapter 2 System Analysis - Process Modeling.
Data Flow Diagrams Mechanics.
Modern Systems Analysis and Design
Structuring System Process Requirements -- Process Modeling --
Structuring System Requirements: Process Modeling
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
MIS 461: Structured System Analysis and Design Dr. A.T. Jarmoszko
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 8 Structuring.
Modern Systems Analysis and Design Third Edition
Process Modeling Fundamentals. Three Ways to Understand a System By its processes What are the systems main processes? What are the systems main processes?
Chapter 7 Structuring System Process Requirements
Chapter 8 Structuring System Requirements: Process Modeling
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
Data Flow Diagrams (DFDs)
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition.
Chapter 1: Data Flow Diagram Structuring System Process Requirements
Balancing DFDs When decomposing a DFD, you must conserve inputs to and outputs from a process at the next level of decomposition This is called balancing.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Structuring System Process Requirements. Learning Objectives Understand the logical modeling of processes by studying examples of data flow diagrams (DFDs).
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Chapter 6 Structuring System Requirements: Process Modeling 6.1.
Chapter 7 Structuring System Process Requirements
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
Computer System Analysis Chapter 8 Structuring System Requirements: Process Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 8 Structuring.
Chapter 7 Structuring System Process Requirements
System Decomposition Overview. Data Flow Diagrams Despite the name “Data Flow Diagrams”, DFD have a process, rather than a data, focus We represent all.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 5 Structuring.
Copyright 2002 Prentice-Hall, Inc. Chapter 7 Structuring System Requirements: Process Modeling.
Modern Systems Analysis and Design Fifth Edition
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
DATA FLOW DIAGRAMS.
C_ITIP211 LECTURER: E.DONDO. Unit 3 : PROCESS MODELING.
MIS 360: System Analysis and Design Dr. Qasem Al-Radaideh Department of Computer Information Systems Faculty of Information Technology Yarmouk University.
- 1 - SW 분석 기법 개론 ( 구조적 분석 기법 ) 정 인 상정 인 Data Flow Diagram (DFD)  Graphical representation of functional modeling  In analysis, provide representation.
7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition.
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 6 Structuring System Requirements: Process Modeling
Business System Development
Data Flow Diagrams Mechanics.
Chapter 8 Structuring System Requirements: Process Modeling
Process Modeling Graphically represent the processes that capture, manipulate, store, and distribute data between a system and its environment Models DFDs.
Modern Systems Analysis and Design Third Edition
Business System Development
Modern Systems Analysis and Design Third Edition
Structuring System Requirements: Process Modeling
Chapter 1: Data Flow Diagram Structuring System Process Requirements
Data Flow Diagrams Mechanics.
Data Flow Diagrams Mechanics. Outline DFD symbols External entities (sources and sinks) Data Stores Data Flows Processes Types of diagrams Step by step.
Chapter 6 Structuring System Requirements: Process Modeling
MBI 630: Week 4 Process Modeling
Modern Systems Analysis and Design Third Edition
Chapter 7: Data Flow Diagram Structuring System Process Requirements
Modern Systems Analysis and Design Third Edition
Modern Systems Analysis and Design Third Edition
Presentation transcript:

Process & Logic Modeling

2. Process modeling Process model is a graphical representation of the processes that capture, manipulate, store, and distribute data between a system and its environment and among system components. Process models utilize the information gathered during requirements determination to model processes and data structures. The deliverables of process modeling are: Context DFD DFDs of current physical system DFDs of current logical system DFDs of new logical system DFDs of new physical system  

Data Flow Diagram (DFD) DFD is a diagrammatic representation of both physical and logical information systems using the four DFD symbols shown below.

Symbols of DFD and their definition Process: work or actions performed on data (inside the system) Data store: data at rest (inside the system) Source/sink: external entity that is origin or destination of data (outside the system) Data flow: arrows depicting movement of data   Developing DFDs Data Flow Diagramming Guidelines and Rules Guidelines Applied in DFDs: The inputs to a process are different from the outputs of that process. The purpose of a process is to transform inputs into outputs. Objects on a DFD have unique names. Every process has a unique name. DFD must include all components necessary for system (completeness).

Each component must be fully described in the project dictionary or CASE repository. The extent to which information contained on one level of a set of nested DFDs is also included on other levels (consistency). Rules Governing Data Flow Diagramming Process Rules 1. No process can have only outputs. It is making data from nothing (a miracle). If an object has only outputs, then it must be a source. 2. No process can have only inputs (a black hole). If an object has only inputs, then it must be a sink. 3. A process has a verb phrase label. Data Store Rules 1. Data cannot move directly from one data store to another data store. Data must be moved by a process. 2. Data cannot move directly from an outside source to a data store. Data must be moved by a process that receives data from the source and places the data into the data store. 3. Data cannot move directly to an outside sink from a data store. Data must be moved by a process. 4. A data store has a noun phrase label.

Source/ Sink rules: 1. Data cannot move directly from a source to a sink. It must be moved by a process if the data are of any concern to our system. Otherwise, the data flow is not shown on the DFD. 2. A source/sink has a noun phrase label.   Data Flow: 1. A data flow has only one direction of flow between symbols. It may flow in both directions between a process and a data store to show a read before an update. The latter is usually indicated, however, by two separate arrows because these happen at different times. 2. A fork in a data flow means that exactly the same data goes from a common location to two or more different processes, data stores, or sources/sinks (this usually indicates different copies of the same data going to different locations). 3. A join in a data flow means that exactly the same data come from any of two or more different processes, data stores. Or sources/sinks to a common location. 4. A data flow cannot go directly back to the same process it leaves. There must be at least one other process that handles the data flow, produces some other data flow, and returns the original data flow to the beginning process. 5. A data flow to a data store means update i.e. delete or change. 6. A data flow from a data store means retrieve or use. 7. A data flow has a noun phrase label. More than one data flow noun phrase can appear on a single arrow as long as all of the flows on the same arrow move together as one package.

Context Diagram Context diagram is an overview of an organizational system that shows: The system boundaries. External entities that interact with the system. Major information flows between the entities and the system. Note: only one process symbol, and no data stores shown

Context Diagram of ABC Restaurant’s Food Ordering System

Level-0 Diagram Level-0 diagram is a data flow diagram that represents a system’s major processes, data flows, and data stores at a high level of detail. Processes are labeled 1.0, 2.0, etc. These will be decomposed into more primitive (lower-level) DFDs. Level-0 DFD of ABC Restaurant’s Food Ordering System

Process at Level-0 are labeled as 1.0, 2.0, 3.0, etc.

Decomposition of DFDs Functional decomposition is an iterative process of breaking a system description down into finer and finer detail. It creates a set of charts in which one process on a given chart is explained in greater detail on another chart. The decomposition continues until no sub-process can logically be broken down any further. Level-1 diagram results from decomposition of Level-0 diagram; and Level-2 diagram results from decomposition of Level-1 diagram. Generally, Level-n diagram is a DFD diagram that is the result of n nested decompositions from a process on a level-0 diagram. The lowest level of DFD is called primitive DFD.

Level -1 DFD Processes at Level-1 are labeled as n.1, n.2, n.3, etc; where n is any one of the processes taken from Level-0.

Level-2 Diagram This diagram shows the decomposition of Process 4.3 from Level-1 diagram of ABC Restaurant’s Food Ordering System. Processes at Level-2 are labeled as n.m.1, n.m.2, n.m.3, etc; where n.m is any one of the processes taken from Level-1.

Balancing DFDs Balancing refers to the conservation of inputs and outputs to a data flow diagram process when that process is decomposed to a lower level. The Conservation Principle orders us to conserve inputs and outputs to a process at the next level of decomposition A DFD is said to be balanced if: Number of inputs to lower level DFD equals number of inputs to associated process of higher-level DFD Number of outputs to lower level DFD equals number of outputs to associated process of higher-level DFD

Unbalanced set of DFDs Context-Diagram (1 input (A) and 1 output (B)) Level-0 Diagram (2 inputs (A,C)and 1 output (B))

Data flow splitting occurs when a composite data flow at a higher level is split and different parts go to different processes in the lower level DFD. In this case the DFD remains balanced because the same data is involved, but split into two parts.

Types of DFDs There are four different types of DFDs. 1. Current Physical Process labels identify technology (people or systems) used to process the data. Data flows and data stores identify actual name of the physical media. 2. Current Logical Physical aspects of system are removed as much as possible. Current system is reduced to data and processes that transform them. 3. New Logical Includes additional functions. Obsolete functions are removed. Inefficient data flows are reorganized. 4. New Physical Represents the physical implementation of the new system.

3. Logic Modeling Data flow diagrams do not show the logic inside the processes. Hence, logic modeling is used to represent internal structure and functionality of processes depicted on a DFD. Logic modeling can also be used to show when processes on a DFD occur. The deliverables of logic modeling are structured English representation of the process logic and decision table representations. Modeling Logic with Structured English Structured English: is a modified form of English language used to specify the logic of information system processes. It typically relies on action verbs and noun phrases and contains no adjectives; there is no single specific standard in structured English.

Current logical DFD for ABC Restaurant's Inventory Control System

Structured English representation of the four processes depicted in the above DFD Process 1.0: Update Inventory Added DO READ next invoice-item-record FIND matching inventory-record ADD Quantity-added from Invoice-item-record to Quantity-in stock on Inventory-record UNTIL End-of-file Process 2.0: Update Inventory Used READ next Stock-item-record FIND matching Inventory-record SUBTRACT Quantity-used on Stock-item-record from Quantity-in-stock on Inventory-record

Process 3.0: Generate Orders DO READ next Inventory-record BEGIN IF If Quantity-in-stock is less than Minimum-order-quantity THEN GENERATE Order END IF UNTIL End-of file Process 4.0: Generate Payments READ Today’s-date SORT Invoice-records by Date READ next invoice-record IF Date is 30 days or greater than Today’s-date THEN GENERATE Payments UNTI END-of-file

Modeling Logic with Decision Tables Decision table is a matrix representation of the logic of a decision which specifies the possible conditions for the decision and the resulting actions. It is best used for complicated decision logic.

Complete Decision Table for payroll system

Decision Table has three major parts 1. Condition stubs: that part of a decision table that lists the conditions relevant to the decision. 2. Action stubs: that part of a decision table that lists the actions that result for a given set of conditions. 3. Rules: that part of a decision table that specifies which actions are to be followed for a given set of condition.   Indifferent condition: is a condition whose value does not affect which actions are taken for two or more rules. The action followed from an indifferent condition does not depend on the condition’s value.

Procedure for Creating Decision Tables Name the condition and the values that each condition can assume. Name all possible actions that can occur. List all possible rules. Define the actions for each rule. Simplify the table.

Reduced Decision Table for payroll system