Decision Tables.

Slides:



Advertisements
Similar presentations
Supply of Labor to the Economy: The Decision to Work
Advertisements

0 - 0.
Addition Facts
SADC Course in Statistics Conditional Probabilities and Independence (Session 03)
Hypothesis Test II: t tests
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
A useful testing technique and more…
Preparing a Decision Table
Chapter 9 Structuring System Requirements: Logic Modeling
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.
Addition 1’s to 20.
Test B, 100 Subtraction Facts
Figure Essential Cell Biology (© Garland Science 2010)
Lecture 4 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.
Computer Aided Process Planning
System Concepts for Process Modeling  Process Concepts  Process Logic  Decomposition diagrams and data flow diagrams will prove very effective tools.
Decision Trees. Modeling Logic with Decision Trees A graphical representation of a decision situation Decision situation points are connected together.
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
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition.
Chapter 3 Planning Your Solution
File and Database Design; Logic Modeling Class 24.
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.
CSCI 347 / CS 4206: Data Mining Module 03: Output Topic 02: Decision Tables.
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.
© 2008 Prentice Hall, Ovidiu Noran Lecture 7a 1 Modelling Logic Requirements (Textbook Chapter 8)
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
© 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.
Sudoku Boolean Logic Representation Upper left square.
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.
Seg3430A Tutorial 8 Decision Table. Logic Modeling Data flow diagrams do not show the logic inside the processes Logic modeling involves representing.
© 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.
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)
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.
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
AS Computer Studies Finite State Machines 2.
Process & Logic Modeling
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 8 Logic Requirements
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 9 Structuring System Requirements: Logic Modeling
Computer Aided Process Planning
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:

Decision Tables

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 from 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

Figure 9-4 Complete decision table for payroll system example 9.5

Constructing a Decision Table PART 1. FRAME THE PROBLEM. Identify the conditions (decision criteria). These are the factors that will influence the decision. E.g., We want to know the total cost of a student’s tuition. What factors are important? Identify the range of values for each condition or criteria. E.g. What are they for each factor identified above? Identify all possible actions that can occur. E.g. What types of calculations would be necessary? PART 2. CREATE THE TABLE. Create a table with 4 quadrants. Put the conditions in the upper left quadrant. One row per condition. Put the actions in the lower left quadrant. One row per action. List all possible rules. Alternate values for first condition. Repeat for all values of second condition. Keep repeating this process for all conditions. Put the rules in the upper right quadrant. Enter actions for each rule In the lower right quadrant, determine what, if any, appropriate actions should be taken for each rule. Reduce table as necessary.

Example Calculate the total cost of your tuition this quarter. What do you need to know? Level. (Undergrad or graduate) School. (CTI, Law, etc.) Status. (Full or part time) Number of hours Actions?

From http://www.depaul.edu/financial_aid/current/current_tuition.asp Actions? Consider CTI only (to make the problem smaller): U/G Part Time (1 to 11 hrs.): $335.00/per hour Full Time (12 to 18 hrs.): $17,820.00 * Credit hours over 18 are charged at the part-time rate Graduate: Part time (1 to 7 hrs.): $520.00/per hour Full time (>= 8 hrs.): $520.00/per hour Create a decision table for this problem. In my solution I was able to reduce the number of rules from 16 to 4. Actions? Apply Full Time Fixed Cost Do U/G hour-rate calculation Do Grad hour-rate calculation Calculate Overload Fee