© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition.

Slides:



Advertisements
Similar presentations
Chapter 9 Structuring System Requirements: Logic Modeling
Advertisements

Chapter 8 Logic Requirements
Chapter 11 Describing Process Specifications and Structured Decisions
Systems Analysis Requirements structuring Process Modeling
Chapter 8 Structuring Requirements Logic Modeling.
CSC 123 Systems Analysis & Design
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
System Concepts for Process Modeling  Process Concepts  Process Logic  Decomposition diagrams and data flow diagrams will prove very effective tools.
Structured English. From user-speak to programming User Structured English Analyst Programs Programmer Plain English Pseudocode.
Chapter 9 Describing Process Specifications and Structured Decisions
Chapter 9 Describing Process Specifications and Structured Decisions Systems Analysis and Design Kendall & Kendall Sixth Edition © 2005 Pearson Prentice.
Logic Modeling. Learning Objectives Use Structured English as a tool for representing steps in logical processes in data flow diagrams Use Structured.
Chapter 9 Describing Process Specifications and Structured Decisions
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.
CHAPTER 9: Structuring System Requirements: Logic Modeling
Logic Modeling Data flow diagrams do not show the logic inside the processes Logic modeling involves representing internal structure and functionality.
Jump to first page Chapter 2c System Analysis - Logic Modeling.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Process Descriptions: Logic Modeling
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Logic Modeling MIS 322. Why do we need Logic Modeling? Lets look at the following DFD.
Chapter 9 Structuring System Requirements: Logic Modeling
© 2005 by Prentice Hall Chapter 8 Structuring System Logical Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
Information Systems System Analysis 421 Class Eight.
MBI 630: Class 6 Logic Modeling 9/7/2015. Class 6: Logic Modeling Logic Modeling Broadway Entertainment Co. Inc., Case –Group Discussion (Handout) –Logic.
Chapter 8 Structuring System Requirements: Logic Modeling
© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 1 Modelling Logic Requirements (Textbook Chapter 8)
Chapter 9 Describing Process Specifications and Structured Decisions
Chapter 11 Describing Process Specifications and Structured Decisions Systems Analysis and Design Kendall and Kendall Fifth Edition.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 8 Slide 1 Chapter 8 Structuring System Logical Requirements.
8. PROCESS DESCRIPTION System Analysis And Design Program: BSCS II (Advent Semester – 2014) Lecturer: Rebecca Asiimwe
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Chapter 8 Structuring System Logical Requirements.
Systems Analysis and Design for the Small Enterprise section III Process design.
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.
Cis339 Modern Systems Analysis and Design Fifth Edition Chapter 8 Structuring System Logic Requirements: 8.1.
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
Modern Systems Analysis and Design Fourth Edition Chapter 8 Structuring System Logical Requirements (process description)
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 9 Structuring.
6 - 1 Systems Analysis and Design, 2 nd Edition Alan Dennis and Barbara Haley Wixom John Wiley & Sons, Inc. Slides by Roberta M. Roth University of Northern.
 Problem Analysis  Coding  Debugging  Testing.
IS 334 information systems analysis and design
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 8 Structuring System Logical Requirements
Business System Development
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 2 : Data Flow Diagram
Process & Logic Modeling
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
CIS 210 Systems Analysis and Development
Chapter 8 Logic Requirements
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 7: Data Flow Diagram Structuring System Process Requirements
Chapter 8 Structuring System Logical Requirements
Chapter 11 Describing Process Specifications and Structured Decisions
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Presentation transcript:

© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition

© 2005 by Prentice Hall 8-2 Logic Modeling Data flow diagrams do not show the logic inside the processes – what occurs within a a process? How input data is converted into output information Logic modeling involves representing internal structure and functionality of processes depicted on a DFD. Processes must be clearly described before translating them into programming language. Logic modeling can also be used to show when processes on a DFD occur. Logic modeling will be generic without taking syntax of a particular programming language

© 2005 by Prentice Hall 8-3 Logic Modeling Deliverables and Outcomes Each process on the lowest level DFD will be represented by one or more of the following: Structured English Decision Tables Decision Trees State-transition diagrams Sequence diagrams Activity diagrams

© 2005 by Prentice Hall 8-4 Modeling Logic with Structured English Structured English is a modified form of English used to specify the logic of information processes Uses a subset of English vocabulary to express process procedures Action verbs – read, write, print, move, merge, add, sort Noun phrases – name, address No adjectives or adverbs No specific standards – each analyst will have his own way File and variable names are CAPITALIZED Logical comparisons are spelled out and not used symbols Structured English is used to represent processes in a shorthand manner that is relatively easy for users and programmers to read and understand

© 2005 by Prentice Hall 8-5 Modeling Logic with Structured English It is possible to represent all three processes used in structured programming: sequence, conditional, repetition Sequence – no special structure but one statement following another Conditional – IF THEN ELSE statement; CASE statement Repetition – DO-UNTIL loops or DO-WHILE loops Format of Structured English uses indentation used in programming languages Structured English does not initialize variables, open and close files, or find related records in separate files – all are done in later design process

© 2005 by Prentice Hall 8-6

© 2005 by Prentice Hall 8-7 Structured English is used here to describe input and output.

© 2005 by Prentice Hall 8-8 Structured English is used here to describe arithmetic operations.

© 2005 by Prentice Hall 8-9 Structured English is used here to describe repetition.

© 2005 by Prentice Hall 8-10 Structured English is used here to describe decisions.

© 2005 by Prentice Hall 8-11 Structured English is used here to describe invoking other processes.

© 2005 by Prentice Hall 8-12 Modeling Logic with Decision Tables Structured English is not good to represent complicated logic (having several different conditions) as it becomes difficult to understand Decision table: A matrix representation of the logic of a decision Specifies all the possible conditions and the resulting actions in a tabular form Best used for complicated decision logic 3 Parts of a Decision Table 1.Condition stubs  Lists condition relevant to decision 2.Action stubs  Actions that result from a given set of conditions 3.Rules  Specify which actions are to be followed for a given set of conditions Indifferent Condition Condition whose value does not affect which action is taken for two or more rules

© 2005 by Prentice Hall 8-13 Procedure for Creating Decision Tables Name the conditions and values each condition can assume some conditions values will be just “yes” or “no” and some may have many values (called an extended entry) Name all possible actions that can occur List all possible rules Create exhaustive set of rules – every possible combination of conditions must be represented Some rules may be redundant or make no sense that can be altered later Number of rules = number of values for condition 1 X number of values for condition 2 X …..X number of values for condition n Define the actions for each rule If an action doesn’t make sense create an “impossible” row for that action If the action is not known place a ? for that rule Simplify the table Remove any rules with impossible actions

© 2005 by Prentice Hall 8-14 Decision Table Note: for salaried employees the action stub chosen will always be the same…therefore hours worked is an indifferent condition

© 2005 by Prentice Hall 8-15 Reduced Decision Table Because of indifferent condition, the complete decision table can be reduced to one with fewer rules

© 2005 by Prentice Hall 8-16 Procedure for Creating Decision Tables Decision tables can also be used to specify additional decision-related information: If actions for a rule are more complicated and can’t be conveyed in one or two lines of text (or) If some conditions depend on other conditions (nested conditions) use separate, linked decision table by writing “Perform Table B” as action in the action stub Table B could contain an action stub that returns to the original table Use numbers to indicate sequence rather than just Xs where rules and action stub intersect Decision tables are compact – pack a lot of information into a small table Decision tables allow you to check for the completeness, consistency, and redundancy of logic

© 2005 by Prentice Hall 8-17 Modeling Logic with Decision Trees A decision tree is a graphical representation of a decision situation Decision situation points (nodes) are connected together by arcs and terminate in ovals Main components Decision points represented by nodes Actions represented by ovals Particular choices from a decision point represented by arcs To read a decision tree – begin at root node on far left Each node is numbered and each number corresponds to a choice Choices are spelled out in a legend From each node there are at least two paths leading to next step – another decision point or an action All possible actions are listed on the far right in leaf nodes Each rule is represented by tracing a series of paths from root node to the next node and so on until an action oval is reached

© 2005 by Prentice Hall 8-18 Decision tree representation of salary decision

© 2005 by Prentice Hall 8-19 Alternative decision tree representation of salary decision

© 2005 by Prentice Hall 8-20 Deciding Among Structured English, Decision Tables, and Decision Trees CriteriaStructured English Decision Tables Decision Trees Determining Conditions and Actions Second BestThird BestBest Transforming Conditions and Actions into Sequence BestThird BestBest Checking Consistency and Completeness Third BestBest

© 2005 by Prentice Hall 8-21 Deciding Between Decision Tables and Decision Trees CriteriaDecision TablesDecision Trees Portraying complex logic BestWorst Portraying simple rules WorstBest Making decisionsWorstBest More compactBestWorst Easier to manipulate BestWorst