Download presentation

Presentation is loading. Please wait.

1
Extra tutorials

2
**Precision Tools System**

Precision Tools System: Precision Tools sells a line of high-quality woodworking tools. When customers place orders on the company’s Web site, the system checks to see if the items are in stock, issues a status message to the customer, and generates a shipping order to the warehouse, which fills the order. When the order is shipped, the customer is billed. The system also produces various reports.

3
**(draw your context diagram)**

4
Level-0 DFD

5
**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. 2

6
**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. Ask questions from the analyst for clarification

7
**A1: Decision Table – Students Campus Burglar Alarm**

Rule Stub Rule 1 Rule 2 Rule 3 Rule 4 Condition Stub One of those houses Y N Suspicious activity Action Stub Ignore X Call Police

8
**A1: Simplified Decision Table – Students Campus Burglar Alarm**

Rule Stub Rule 1 Rule 2 Rule 3 Condition Stub One of those houses Y N Suspicious activity - Action Stub Ignore X Call Police

9
**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

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google