Documente Academic
Documente Profesional
Documente Cultură
Employee
Accounts Dept
Emp Data
Payroll Processing
Salary Statement
Updated Data
Employee File
Data Dictionary
Provides definitions for all elements in the system which include:
Meaning of data flows and stores in DFDs Composition of the data flows e.g. customer address breaks down to street number, street name, city and postcode Composition of the data in stores e.g. in Customer store include name, date of birth, address, credit rating etc. Details of the relationships between entities
sex =
As both are elementary data, no composition need be shown, though an explanation of the relevant units/symbols is needed order = customer-name + shipping-address + 1{item}10
means that an order always has a customer name and a shipping address and has between 1 and 10 items
Structured English
Used to represent logic
Common Statements Action Statement Example Profits = Revenues - Expenses Generate Inventory - Report Add Product record to Product Data Store IF Customer Not in Customer Data Store THEN Add Customer record to Customer Data Store ELSE Add Current-Sale to Customers Total-Sales Update Customer record in Customer Data Store FOR all Customers in Customer Data Store Generate a new line in the Customer-Report Add Customers Total-Sales to Report-Total CASE If Income < 10,000: Marginal-tax-rate = 10% If Income < 20,000: Marginal-tax-rate = 20% If Income < 30,000: Marginal-tax-rate = 31% If Income < 40,000: Marginal-tax-rate = 35% ELSE Marginal-tax-rate = 38% ENDCASE
If Statement
For Statement
Case Statement
Decision Tree
Processing logic represented in a tree structure.
Types of Customer ---------------Size of Order ---------------Discount ----------------
Dealer
6 or more
Less than 6
35%
Nil
Discount Policy Educational Institution 50 or more 20-49 6-19 <6 30% 20% 15% Nil
Decision Table
A matrix of rows and columns that shows conditions and actions. A decision table consists of 4 sections
Condition Entry: Condition stub: Questions or Rules to be followed conditions to be met. Action stub: Actions to be followed Action entry: Actions to be taken
Decision Table
Illustration - The cash a cheque table
Cheque Cashing Policy Type of Cheque Rule 1 Rule 2 Rule 3 Rule 4 Rule 5
Personal Payroll
Personal Payroll
Other
Check amt yes <= $750 Employer preapproved? Cash the Cheque Reject the Cheque doesnt matter X
X X X
X
Data Dictionary
Simplify the structure for meeting No functional details data requirement Detailed data flow not possible
Decision tree
Decision table