© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 1 Modelling Logic Requirements (Textbook Chapter 8)

Slides:



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

Chapter 8 Logic Requirements
Modeling Logic with Decision Tables and Trees. 2 Decision Trees and Decision Tables Often our problem solutions require decisions to be made according.
Chapter 5 Structuring System Requirements: Process Modeling
Systems Analysis Requirements structuring Process Modeling
Chapter 8 Structuring Requirements Logic Modeling.
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.
Chapter 7 Analyzing System Process Requirements
Jump to first page Chapter 2 System Analysis - Process Modeling.
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.
Process Descriptions: Logic Modeling
Modeling the Processes and Logic
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition.
© 2008 Prentice Hall, Ovidiu Noran Tutorial 7 1 Logic Requirements (Textbook Chapter 8 & Appendix)
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.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
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.
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
Chapter 9 Describing Process Specifications and Structured Decisions
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
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.
Chapter 8 Structuring System Logical Requirements.
Systems Analysis and Design for the Small Enterprise section III Process design.
© 2008 Prentice Hall, Ovidiu Noran Lecture 7b 1 Modelling OO Logic Requirements: Sequence Diagrams and Activity Diagrams (Textbook Chapter 8, Appendix)
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.
© 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.
Modern Systems Analysis and Design Fourth Edition Chapter 8 Structuring System Logical Requirements (process description)
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Modeling the Processes and Logic.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 9 Structuring.
MIS 360: System Analysis and Design Dr. Qasem Al-Radaideh Department of Computer Information Systems Faculty of Information Technology Yarmouk University.
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:

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 1 Modelling Logic Requirements (Textbook Chapter 8)

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 2 Learning Objectives Use Structured English as a tool for representing steps in logical processes in data flow diagrams. Use decision tables to represent the logic of choice in conditional statements. Select among Structured English and decision tables for representing processing logic.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 3 Logic Modelling Data flow diagrams do not show the logic inside the processes or the contents of data flows. Logic modelling involves representing internal structure and functionality of processes depicted on a DFD. Logic modelling can also be used to show when processes on a DFD occur. Data modelling is used to represent the contents and structure of the DFD data flows & data stores. Data Modelling is covered in 2002ICT.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 4 Modelling a System’s Logic

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 5 Deliverables and Outcomes Structured English representation of process logic. Decision Tables representation. Sequence diagram (mainly OO approach). Activity diagram (mainly OO approach).

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 6 Modelling Logic with Structured English Structured English: modified form of English language used to specify the logic of information system processes. No single standard. Typically relies on action verbs and noun phrases and contains no adjectives or No specific standards.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 7 Recall the DFDs previously presented... The Hoosier Burger Example

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 8 … and the resulting Level-0 Diagram

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 9 Modelling Logic with Structured English The Hoosier Burger Inventory Control System

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 10 Modelling Logic with Structured English (cont.)

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 11 Modelling Logic with Structured English (cont.)

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 12 Repetition can also be modelled using DO- WHILE: Modelling Logic with Structured English READ Inventory records WHILE NOT End-of-File DO BEGIN IF IF Quantity-in-Stock is less Minimum-order-quantity THEN GENERATE new order ELSE DO nothing // optional END IF END DO What is the difference to DO-UNTIL ??

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 13 Cascading IF-THEN tests or a case statement can be combined to cover other possibilities. E.g. imagine modelling an emergency reorder: Modelling Logic with Structured English READ Quantity-in-Stock SELECT CASE CASE 1 (Quantity-in-Stock greater then Minimum-order-quantity) DO nothing CASE 2 (Quantity-in-Stock equals Minimum-order-quantity) DO nothing CASE 3 (Quantity-in-Stock is less than Minimum-order-quantity) GENERATE new order CASE 4 (Stock Out) INITIATE emergency reorder routine END CASE

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 14 Modelling Logic with Decision Tables Research (Yourdon, 1989) has shown people become confused when trying to interpret more than three nested IF-THENs. Thus, diagrams are more appropriate for complicated decision logic. A Decision table is a matrix representation of the logic of a decision which specifies the possible conditions for the decision and the resulting actions.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 15 Modelling Logic with Decision Tables (cont.)

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 16 Modelling Logic with Decision Tables (cont.) Condition stubs: that part of a decision table that lists the conditions relevant to the decision. Action stubs: that part of a decision table that lists the actions that result for a given set of conditions.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 17 Modelling Logic with Decision Tables (cont.) Rules: that part of a decision table that specifies which actions are to be followed for a given set of condition. Indifferent condition: in a decision table, a condition whose value does not affect which actions are taken for two or more rules.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 18 Modelling Logic with Decision Tables (cont.) 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.

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 19 Modelling Logic with Decision Tables (cont.) “IF” “THEN” “IF-THEN”

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 20 Modelling Logic with Decision Tables (cont.) Simplified Decision Table – Staff is paid base salary, regardless

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 21 Modelling Logic with Decision Tables Hoosier Burger complete Decision Table

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 22 Modelling Logic with Decision Tables (cont.) Hoosier Burger simplified Decision Table

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 23 Structured English or Decision Tables? CriteriaStructured English Decision Tables Determining Conditions and Actions OkAverage Transforming Conditions and Actions into Sequence BestAverage Checking Consistency and Completeness AverageBest

© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 24 Summary In this chapter you learned how to: Use Structured English as a tool for representing steps in logical processes in data flow diagrams. Use decision tables to represent the logic of choice in conditional statements. Select Structured English or decision tables for representing processing logic.