70 likes | 279 Views
Example of Decision Table. Vijay L. Vora (Assist. Professor, MCA Department) Murlidhar College, Bhavnagar Road, Rajkot. Example
E N D
Example of Decision Table Vijay L. Vora (Assist. Professor, MCA Department) Murlidhar College, Bhavnagar Road, Rajkot
Example Clyde Clerk is reviewing his firm’s expense reimbursement policies with the new sales person, Trav Farr. “Our reimbursement policies depend on the situation. You see, first determine if it is a local trip. If it is, we only pay mileage of 18.5 cent a mile. If the trip was one-day trip, we pay mileage and then check the times of departure and return. To be reimbursed for breakfast, you must leave by 7:00 A.M. lunch by 11:00 A.M. and have dinner by 5:00 P.M. To receive reimbursement for breakfast, you must return later than 10:00 A.M, lunch later than 2:00 P.M. and have dinner by 7:00 P.M. On a trip lasting more than one day, we allow hotel, taxi and airfare, as well as meal allowances. The same time apply for meal expenses.” Draw a decision table and Decision table for Clyde’s narrative of the reimbursement policies
Decision Table Rules Y Local trip Y Y One Day Trip Y Y Y Y Y Y Y Departure time 7:00 A.M. Departure time 11:00 A.M. Y Y Departure time 5:00 P.M. Y Y Return time letter then 10:00 A.M. Y Return time letter then 2:00 P.M. Y Y Y Y Return time letter then 7:00 P.M. Actions X Pay Mileage 18.5 cent/mile X X X X X X X X X Receive Reimbursement for breakfast X X X X Receive Reimbursement for Lunch X Receive Reimbursement for Dinner X X