Logic Modeling MIS 322. Why do we need Logic Modeling? Lets look at the following DFD.

Slides:



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

Chapter 8 Logic Requirements
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.
Lecture 4 Logic Modeling
Chapter 7 Structuring System Process Requirements
Chapter 4.
Systems Analysis and Design 9th Edition
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
Structured English. From user-speak to programming User Structured English Analyst Programs Programmer Plain English Pseudocode.
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
Decision Trees. Modeling Logic with Decision Trees A graphical representation of a decision situation Decision situation points are connected together.
Data Flow Diagramming. Data Flow Diagrams Data Flow Diagrams are a means to represent data transformation processes within an information system.
Structuring System Requirements: Process Modeling
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
Chapter 4.
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition.
File and Database Design; Logic Modeling Class 24.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
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.
Information Systems System Analysis 421 Class Eight.
System Implementation System Implementation - Mr. Ahmad Al-Ghoul System Analysis and Design.
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
DATA FLOW DIAGRAMS Learning Units
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.
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.
Chapter 4 enterprise modeling
CHAPTER 5 1 DATA AND PROCESS ANALYSIS. Chapter Objectives Describe data and process modeling concepts and tools, including data flow diagrams, a data.
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.
Systems Analysis and Design 8th Edition
Systems Analysis and Design 8th Edition
© 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.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are.
Chapter 8 Structuring System Logical Requirements
Business System Development
Chapter 11 Describing Process Specifications and Structured Decisions
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 2 : Data Flow Diagram
Process & 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 8 Structuring System Logical Requirements
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Presentation transcript:

Logic Modeling MIS 322

Why do we need Logic Modeling? Lets look at the following DFD

Why do we need Logic Modeling? (contd.) DFDs are very good for identifying processes, but they do not show the logic inside the processes What occurs within a process? How is data input converted in to output? Processes in DFDs appear as little more than black boxes It is important to understand the structure and functionality of a system’s processes before it can be translated into a programming language

What is Logic Modeling? It involves the representation of the internal structure and functionality of the processes on data flow diagrams It is effective for communicating with users (who provide the business logic) and the programmers (who implement this logic into a programming language) (Whitten, Bentley, and Dittman 2004)

Logic Modeling Approaches Structured English to represent process logic Decision Tables Decision Trees

Structured English a technique for representing the "processing" contents of a DFD process It has the advantages of natural English and the rigor of some of the programming language tools (Whitten et al. 2004) Example... Show processing logic for a bank's service charge calculation Process: Calculate Customer Service Charge

Example of one form of the process READ summary of customer monthly balances BEGIN IF IF daily-balance is < 300 for any given day THEN set service-charge to $5 ELSE set service-charge to $0 END IF

CONDITIONAL STATEMENTS READ Quantity-in-stock SELECT CASE CASE 1 (Quantity-in-stock greater than 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 re-order routine END CASE

REPETITION DO READ Inventory records BEGIN IF IF Quantity-in-stock is less than Minimum-order-quantity THEN GENERATE new order ELSE DO nothing END IF UNTIL End-of-file

Process 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 Update Inventory Used DO READ next Stock-item record FIND matching Inventory-record SUBTRACT Quantity-used from Stock- item-record from Quantity-in-stock UNTIL End-of-file

Process Generate Payments READ Today’s-date DO SORT Invoice-records by Date READ next Invoice-record BEGIN IF IF Date is 30 days or greater than Today’s-date THEN GENERATE Payments END IF UNTIL End-of-file

DECISION TABLES a matrix representation of the logic of a decision ACTION STUBS The part of a decision table that lists the actions that result for a given set of conditions. CONDITION STUBS The part of a decision table that lists the conditions relevant to the decision. RULES The part of a decision table that specifies which action items are to be followed for a given set of conditions.

Condition Stubs Action Stubs

CONSTRUCTING DECISION TABLES 1. Name the conditions and the values each condition can assume 2. Name all possible actions that can occur 3. List all possible rules 4. Define the actions for each rule 5. Simplify the decision table

INDIFFERENT CONDITION In a decision table, a condition whose value does not affect which actions are taken for two or more rules.

DECISION TREES A graphical representation of a decision situation in which decision points (nodes) are connected together by arcs (one for each alternative decision) and terminate in ovals (the action which is the result of all the decisions made on the path that leads to that oval).

1 2 Sleep 2 more hours Time to get up Go back to sleep Sleep 1 more hour Yes No Sunday Weekday Saturday Legend: 1) Sun up? 2) What day is it?