Systems Analysis Requirements structuring Process Modeling

Slides:



Advertisements
Similar presentations
Information Systems Analysis and Design
Advertisements

Chapter 5 Structuring System Requirements: 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.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition.
Chapter 1: Data Flow Diagram Structuring System Process Requirements
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 8 Structuring.
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
Business Analysis Information determination Information specification Alternative generation and selection.
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.
© 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.
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.
Business System Development
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
Process & Logic Modeling
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:

Systems Analysis Requirements structuring Process Modeling Representing the system with data flow diagrams Logic Modeling Represents the logic of the DFD’s processes Data Modeling Represents the contents and structure of the DFD’s data flows and stores

Process Modeling Graphically represent the processes that capture, manipulate, store and distribute data between a system and its environment and among system components Data flow diagrams (DFD) Graphically illustrate movement of data between external entities and the processes and data stores within a system

Process Modeling Modeling a system’s process Deliverables and Outcomes Utilize information gathered during requirements determination Structure of the data is also modeled in addition to the processes Deliverables and Outcomes Set of coherent, interrelated data flow diagrams

Deliverables and outcomes Context data flow diagram (DFD) Scope of system DFDs of current system Enables analysts to understand current system DFDs of new logical system Technology independent Show data flows, structure and functional requirements of new system Project dictionary and CASE repository

Data Flow Diagram Symbols Data Store Process Source/Sink

DFD Mechanics Data Flow Depicts data that are in motion and moving as a unit from one place to another in the system. Drawn as an arrow Select a meaningful name to represent the data

DFD Mechanics Data Store Depicts data at rest May represent data in File folder Computer-based file Notebook Drawn as two horizontal parallel lines The name of the store as well as the number are recorded in between lines

DFD Mechanics Process Depicts work or action performed on data so that they are transformed, stored or distributed Drawn as a circle Number of process as well as name are recorded

DFD Mechanics Source/Sink Depicts the origin and/or destination of the data Sometimes referred to as an external entity Drawn as a square symbol Name states what the external agent is Because they are external, many characteristics are not of interest to us

DFD Syntax Context Diagram Level-O Diagram A data flow diagram (DFD) of the scope of an organizational system that shows the system boundaries, external entities that interact with the system and the major information flows between the entities and the system Level-O Diagram A data flow diagram (DFD) that represents a system’s major processes, data flows and data stores at a higher level

Context Diagram: Automated food ordering system

Level-0 diagram: Automated food ordering system

DFD Guidelines Inputs to a process are always different than outputs The same input may go in and out of a process but the process also produces other new data flows as a result of manipulating the inputs Objects always have a unique name In order to keep the diagram uncluttered, you can repeat data stores and data flows on a diagram

Incorrect DFD (process is shown as a sink)

Decomposition of DFDs Functional decomposition Level-N Diagrams Act of going from one single system to many component processes Repetitive procedure Lowest level is called a primitive DFD Level-N Diagrams A DFD that is the result of n nested decompositions of a series of sub processes from a process on a level-0 diagram

Level 1 Level 2

Balancing DFDs When decomposing a DFD, you must conserve inputs to and outputs from a process at the next level of decomposition Process 4.0 in the Level-0 diagram had one input and one output. The level-1 and level-2 diagrams also have just one input and output. The inputs and outputs are conserved in the lower level diagram, so the DFDs are balanced. In the Automated food ordering system, there was one input to the system (the customer order), and three outputs (Customer receipt, Food order, Management reports). In the level-0 DFD, no new inputs or outputs have been introduced. So the context diagram and level-0 DFDs are balanced. Balancing ensures that all information in one level of a DFD is accurately and appropriately (not identically) represented at the next level of DFD. When a parent process is broken into children processes the children processes should wholly and completely make up the parent process e.g. after slicing a pie, can put the pieces back together and nothing is omitted.

Unbalanced DFDs In the context diagram, we have one input to the system, A and one output, B. The level 0 diagram has one additional data flow, C, coming from a different source than A These DFDs are not balanced. Note that data stores and flows to and from them are internal to the system.

Decomposing a Process

Use Case A set of activities the system performs to produce some output result. Describe the tasks in the process Identify the triggers for each task List all inputs and outputs

Building use cases Identify the major use cases Ask “Who?”, “What?”, “When?” and “Where?” about the tasks and their inputs and outputs Identify the major steps within each use case Ask “How?” about each use case Identify the major inputs and outputs for each step Ask “How?” about each step

Data Flow Diagramming Rules Process No process can have only outputs (a miracle) No process can have only inputs (black hole) A process has a verb phrase label Data Store Data cannot be moved from one store to another. Data cannot move from an outside source to a data store Data cannot move directly from a data store to a data sink Data store has a noun phrase label

Data Flow Diagramming Rules Source/Sink Data cannot move directly from a source to a sink A source/sink has a noun phrase label Data Flow A data flow has only one direction of flow between symbols. A fork means that exactly the same data go from a common location to two or more processes, data stores or sources/sinks

Data Flow Diagramming Rules Data Flow (Continued) A join means that exactly the same data come from any two or more different processes, data stores or sources/sinks to a common location A data flow cannot go directly back to the same process it leaves A data flow to a data store means update A data flow from a data store means retrieve or use A data flow has a noun phrase label

Advanced DFD Rules: Balancing Composite data flow can be spilt into components data flows at the next level Inputs to a process must be sufficient to produce the output At the lowest level, new data flows may be added To avoid having data flow lines cross each other, can repeat data stores or sources/sinks on a DFD

Types of DFDs Current physical Current logical New logical Process labels include the users and technology involved Data flows and stores are labeled with the name of the actual physical media Current logical Physical aspects of the system are removed New logical Additional functions Obsolete functions removed Inefficient flows re-organized New physical Defer until several alternative solutions have been considered.

Conservation of Data Data stays at rest until moved by a process Processes cannot consume or create data Black hole error (no output) Miracle error (no input)

Guidelines for Drawing DFDs Completeness DFD must include all components necessary for system Each component must be fully described in the project dictionary or CASE repository

Guidelines for Drawing DFDs Consistency The extent to which information contained on one level of a set of nested DFDs is also included on other levels Timing Time is not represented well on DFDs Best to draw DFDs as if the system has never started and will never stop.

Guidelines for Drawing DFDs Iterative Development Analyst should expect to redraw diagram several times before reaching the closest approximation to the system being modeled Primitive DFDs Lowest logical level of decomposition Decision has to be made when to stop decomposition

When to Stop Rules for stopping decomposition When each process has been reduced to a single decision, calculation or database operation When each data store represents data about a single entity When the system user does not care to see any more detail

When to Stop (continued) When every data flow does not need to be split further to show that data are handled in various ways When you believe that you have shown each business form or transaction, on-line display and report as a single data flow When you believe that there is a separate process for each choice on all lowest-level menu options

Final DFD Notes ·  when to show a direct data flow between processes and when to decouple these with a data store ·  what activities to encompass with each process ·  how to distinguish processes from sinks and sources

Using DFDs as Analysis Tools Gap Analysis The process of discovering discrepancies between two or more sets of data flow diagrams or discrepancies within a single DFD Inefficiencies in a system can often be identified through DFDs

Using DFDs in Business Process Reengineering Characteristics of a DFD that imply areas for improvement: Processes that simply collect and pass on information (rather than transforming data) Collecting the same information into several processes Placing untransformed data into data stores (causing unknown delays in processing this data) Cycles or loops that have no apparent termination

Logic Modeling Data flow diagrams do not show the logic inside the processes Logic modeling involves representing internal structure and functionality of processes depicted on a DFD Methods Structured English Decision Tables & Trees

Modeling Logic with Structured English Modified form of English used to specify the logic of information processes Uses a subset of English Action verbs Noun phrases No adjectives or adverbs No specific standards

Modeling Logic with Structured English Similar to programming language Sequence statements Conditional statements (choice) Iterative statements (repetition)

Modeling Logic with Decision Tables A matrix representation of the logic of a decision Specifies the possible conditions and the resulting actions Best used for complicated decision logic

Modeling Logic with Decision Tables Consists of three parts Condition stubs Lists condition relevant to decision Action stubs Actions that result for a given set of conditions Rules Specify which actions are to be followed for a given set of conditions

Modeling Logic with Decision Tables Indifferent Condition Condition whose value does not affect which action is taken for two or more rules Standard procedure for creating decision tables Name the condition and values each condition can assume Name all possible actions that can occur List all rules Define the actions for each rule Simplify the table

Decision trees Depicts a decision as a connected series of nodes and actions Each node is a decision point with at least two branches Branches are the available options for each node Endpoints are the actions

Which logical model? Criteria SE D Table D Tree Portraying simple logic Better Worst Best Portraying complex logic Transforming conditions & actions into sequence Checking consistency & completeness Worse