Logic Modelling Decision Tables. 2 Modeling Logic with Decision Tables Procedure for Creating Decision Tables Name the condition and the values that each.

Slides:



Advertisements
Similar presentations
A useful testing technique and more…
Advertisements

Decision Tables.
Preparing a Decision Table
Decision Tables - a brief overview
Modeling Logic with Decision Tables and Trees. 2 Decision Trees and Decision Tables Often our problem solutions require decisions to be made according.
Extra tutorials.
Glitches & Hazards.
Multiplying Out Single Brackets.
10-5 Addition and Subtraction: Unlike Denominators  Standard 13.0: Add and subtract rational expressions.
Process Descriptions: Logic Modeling
1 Decision Tables. 2  Introduction  construction  Types of Decision Tables  Limited Entry  Extended Entry  Combining of Rules  General Rule  Q.
Table of Contents Logarithm Properties - Simplifying Using Combinations The three basic properties for logarithms are... It is important to be able to.
Table of Contents Factoring – Trinomials (a = 1) If leading coefficient a =1, we have … We will start factoring trinomials where a = 1, that is, the leading.
Multiplying and Dividing Integers
Modeling and Design of Rule-Based Systems Yonglei Tao.
Exercise Develop a context Diagram for a small bank for “Loan Granting” process Identify EXTERNAL entities Develop a Context diagram.
Lesson #3- Exponent Laws
H.G/1100/061 Factoring a Polynomial and Rational Expressions Lecture #3 Dr.Hayk Melikyan Departmen of Mathematics and CS
9.4 factoring to solve quadratic equations.. What are the roots of a quadratic function? Roots (x-intercepts): x values when y = 0 ( ___, 0) How do you.
8.3 Multiplying Binomials
EXAMPLE 1 Multiply a monomial and a polynomial Find the product 2x 3 (x 3 + 3x 2 – 2x + 5). 2x 3 (x 3 + 3x 2 – 2x + 5) Write product. = 2x 3 (x 3 ) + 2x.
Decision Tables - a brief overview Dr. Rogelio Dávila Pérez ITESM, Campus Guadalajara.
6.1 Evaluate n th Roots & use Rational Exponents I.. Evaluating n th roots. A) n th roots are radicals to the n th index. B) Use the Church of Square Roots.
3.1 Adding, Subtracting and Multiplying Polynomials 11/26/2012.
Pre-Algebra 2-3 Multiplying and Dividing Integers 2-3 Multiplying and Dividing Integers Pre-Algebra Warm Up Warm Up Problem of the Day Problem of the Day.
7 th grade Mathematics - 5 Order of Operation 7 th grade Mathematics - 5 Order of Operation.
Combinational Circuit Design A combinational circuit consists of logic gates. It processes the input signals (coming from an external source) to produce.
The Equation Game. Why is an equation like a balance scale? 3 2x - 1 =
11.4 Multiply and Divide Rational Expressions. SIMPLIFYING RATIONAL EXPRESSIONS Step 1: Factor numerator and denominator “when in doubt, write it out!!”
Warm Up Week 1 1) 2( x + 4 ) 2x 2 = 50 2x + 8 x = ±5 2)
6.1.1 – Properties of Exponents. We worked with combining/multiply like terms, mostly in single terms Example. Simplify the following expressions. 1)
Section 7.3 Multiply a Monomial by a Polynomial We will be learning how to multiply a monomial (one term) by a polynomial (more than one term.
6.4 Multiplying/Dividing Polynomials 1/10/2014. How do you multiply 1256 by 13?
1.(-7) (-2) 2.(3)(-6) 3.(4)(5) 4.(-3) (4t) 5.(2)(-2x) 6.(7y)(3) 7.3(s+5) 8.4(-n+2) 9.4-(t+2) 10.3n+(2-n)
Solve x 2 +3x – 5 = 11 xx2x2 +3x-5X 2 +3x-5High/ Low L.
EXAMPLE 1 Solve by equating exponents Rewrite 4 and as powers with base Solve 4 = x 1 2 x – 3 (2 ) = (2 ) 2 x – 3x – 1– 1 2 = 2 2 x– x + 3 2x =
Multiplication property of exponents BASE exponent.
Use synthetic division to divide With remainder. Problem (x+3)/(x^4-10x^2-2x+4)
Distributive Property and combining like terms.. Use the Distributive Property to simplify each expression. 1. 8(m + 5) = (3x + 9) = –2(4.
Example 1 Identifying Parts of an Expression Identify the terms, coefficients, like terms, and constant terms of the expression. 2+5x5x3–7x7x– SOLUTION.
Combinational Logic: Other Gate Types
Transportation and Distribution Planning Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Techologies.
Algebra Expanding Brackets. Algebra So far we have looked at simplifying expressions like 3x + 2y + 2x + 4y collecting the like terms to make 5x + 6y.
1.(-7) (-2) 2.(3)(-6) 3.(4)(5) 4.(-3) (4t) 5.(2)(-2x) 6.(7y)(3) 7.3(s+5) 8.4(-n+2) 9.4-(t+2) 10.3n+(2-n) Algebra S9 Day 21.
Opportunity Classification model for GTS deal segmentation.
Modern Systems Analysis and Design Fourth Edition Chapter 8 Structuring System Logical Requirements (process description)
April 9, 2014 Aim: How do we add and subtract RADICALS? Do Now: Simplify the following radical expressions: 1. 2.
Want to make Multiplying Binomials Easier? Let’s use the FOIL Method!
Decision Tables - a brief overview
Propositional Logic Session 3
Mail Merge.
Process & Logic Modeling
Even/odd parity (1) Computers can sometimes make errors when they transmit data. Even/odd parity: is basic method for detecting if an odd number of bits.
Factoring Trinomials Continued
$100 $100 $100 $100 $100 $200 $200 $200 $200 $200 $300 $300 $300 $300 $300 $400 $400 $400 $400 $400 $500 $500 $500 $500 $500.
“Teach A Level Maths” Vol. 2: A2 Core Modules
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 8 Logic Requirements
Dividing Decimals Setting up the Problem
Factoring Polynomials
Representing Boolean Functions
Warm Up W1D5 8/10/11 2. Solve: |4x+2|=5 8x-4 1. = |x+2|=15
Chapter - Karnaugh Maps
How Do I Multiply Two Binomials?
3.6-A Factoring Trinomials
Decision Tables SEEM 3430 Tutorial LI Jing.
Warm Up Solve for x. Simplify Simplify
Sign Rule: When the last term is POSITIVE…
Exercise Develop a context Diagram for a small bank for “Loan Granting” process Identify EXTERNAL entities Develop a Context diagram.
Decision Tables SEEM 3430 Tutorial Lanjun Zhou.
Presentation transcript:

Logic Modelling Decision Tables

2 Modeling Logic with Decision Tables 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.

Q1: Create a decision table- Students Campus Burglar Alarm When a burglar alarm sounds, if it is in one of students’ houses where alarm sounds every week, ignore it. Otherwise have a look outside and if the house looks not broken into and there is nobody moving inside it, ignore the alarm. Otherwise call police. List the resulting rules. 3

A1: Decision Table – Students Campus Burglar Alarm Rule Stub Rule 1Rule 2Rule 3Rule 4 Condition StubOne of those housesYYNN Suspicious activityYNYN Action StubIgnoreXXX Call PoliceX 4

A1: Simplified Decision Table – Students Campus Burglar Alarm Rule Stub Rule 1Rule 2Rule 3 Condition StubOne of those housesYNN Suspicious activity-YN Action StubIgnoreXX Call PoliceX 5

A1: Resulting Rules- Students Campus Burglar Alarm Rule 1: if one of those houses then ignore Rule 2: if not one of those houses and suspicious activity then call police Rule 3: if not one of those houses and not suspicious activity then ignore Note: rule 2 will work just as well if skip the first check: Rule 2: if not suspicious activity then ignore 6

Q2: Create a decision table- Mailing Customers A mailing is to be sent out only to special customers. The content of the mailing is about the current level of discounting and potential levels of discounting. The content is different for different types of customers. Customer Types A, B and C get a normal letter except Customer Type C, who get a special letter. Any customer with 2 or more current lines or with a credit rating of ‘X’ get a special paragraph added with an offer to subscribe to another level of discounting. 7

A2: Missing Information- Mailing Customers Questions? “2 or more current lines OR credit rating X”. What if both: AND? Other customer types? See “O-Other” above. 8

A2: Possible solution- Mailing Customers 9

Exclude the “O-Others” from the decision table and suppose that the description states that: “2 or more current lines AND/OR credit rating X”. 10 Rule Condition Stub Customer TypeAAAABBBBCCCC 2 or more LinesYYNNYYNNYYNN Credit rating = XYNYNYNYNYNYN Action Stub Normal LetterXXXXXXXX Special Letter XXXX Add ParagraphXXX XXX XXX

A2: Possible solution- Mailing Customers Simplify the Table 11 Rule Condition Stub Customer TypeAAABBBCCC 2 or more LinesYNNYNNYNN Credit rating = X-YN-YN-YN Action StubNormal LetterXXXXXX Special Letter XXX Add ParagraphXX XX XX