Page 284 -
P. 284
Chapter 9 • proCess speCifiCations and struCtured deCisions 251
The denomination of each coupon distributed will be in a whole dollar amount not to
exceed $50. Thus, if there are fewer than 500,000 valid claims, the value of each claim will
be divided among two coupons or more. For example, if there are 250,000 valid claims, each
person submitting a valid claim will receive two coupons, each having a face value of $50,
for a total coupon value of $100.
If the number of valid claims submitted is between 1.25 million and 1.5 million,
Premium Airlines will make available a supplemental fund of coupons, with a potential
value of $5 million. The supplemental fund will be made available to the extent necessary to
provide one $20 coupon for each valid claim.
If there are more than 1.5 million valid claims, the total amount of the main fund and the sup-
plemental fund, $30 million, will be divided evenly to produce one coupon for each valid claim.
The value of each such coupon will be $30 million divided by the total number of valid claims.
Draw a decision tree for the Premium Airlines settlement.
9. Write structured English for the Premium Airlines settlement in Problem 8.
10. “Well, it’s sort of hard to describe,” says Sharon, a counselor at Less Is More Nutrition Center. “I’ve
never had to really tell anybody about the way we charge clients or anything, but here goes.
“When clients come into Less Is More, we check to see if they’ve ever used our service before.
Unfortunately for them, I guess, we have a lot of repeat clients who keep bouncing back. Repeat
clients get a reduced rate (pardon the pun) of $100 for the first visit if they return within a year of the
end of their program.
“Everyone new pays an initial fee, which is $200 for a physical evaluation. The client may bring
in a coupon at this time, and then we deduct $50 from the up-front fee. Half of our clients use our
coupons and find out about us from them. We just give our repeaters their $100 off, though; they
can’t use a coupon, too! Clients who transfer in from one of our centers in another city get $75 off
their first payment fee, but the coupon doesn’t apply. Customers who pay cash get 10 percent off the
$200, but they can’t use a coupon with that.”
Create a decision table with Y and N conditions for the client charge system at Less Is More
Nutrition Center.
11. Reduce the decision table in Figure 9.EX1 to the minimum number of rules.
12. Azure Isle Resort has a pricing structure for vacationers in one of its three dwelling categories: the
hotel, villas, and beach bungalows. The base price is for staying in the hotel. Beach bungalows have
a 10 percent surcharge and villas have a 15 percent surcharge. The final price includes a discount of
4 percent for returning customers. Further conditions apply to how close to capacity the resort is and
whether the requested date is within one month from the current date. If the resort is 50 percent full
and the time is within one month, there is a 12 percent discount. If the resort is 70 percent full and the
time is within one month, there is a 6 percent discount. If the resort is 85 percent full and it is within
one month, there is a 4 percent discount.
Develop an optimized decision table for the Azure Isle Resort pricing structure.
13. Create a decision tree for Problem 12.
14. The base ticket price for Cloudliner Airlines is determined by the distance traveled and the day of
the week a passenger is traveling. In addition, the airline adjusts its ticket prices based on a number
of categories. If the seats remaining are greater than 50 percent of capacity and the number of days
before the flight is less than 7, the price is deeply discounted with a special Web offer for the flight.
If the seats remaining are greater than 50 percent and the flight date is from 7 to 21 days in the future,
Figure 9.eX1
Conditions and Actions Rules
12 345 67 89 10 11 12 13 14 15 16 A decision table for a warehouse.
Sufficient quantity YYY YYY Y Y NN NN NN NN
on hand
Quantity large enough YYY YN NN NY Y Y Y N N NN
for discount
Wholesale customer YY NN YY NN YY NN YY NN
Sales tax exemption YNY NYN YN YN YN YN YN
filed
Ship items and X X X X XX X X
prepare invoice
Set up backorder XXX XX X X X
Deduct discount XX
Add sales tax XXX XX X