You are on page 1of 2

Decision Table Lab Exercise 1 Answer

1. 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 it 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, there is a medium price discount. If the seats remaining are greater than 50 percent and the
number of days before travel are greater than 21, there is only a small discount.

If the seats remaining are from 20 to 50 percent and the days before the flight are fewer than 7, the ticket has a medium
discount. If the seats remaining are from 20 to 50 percent and the flight date is from 7 to 21 days in the future, there is a
low discount for prices. If the seats remaining are from 20 to 50 percent and the number of days before travel are
greater than 21, there is no discount.

If the seats remaining are less than 20 percent and the number of days before the flight is less than 7, the ticket has
the highest increase in price. If the seats remaining are less than 20 percent and the flight date is from 7 to 21 days in
the future, there is a large increase in price. If the seats remaining are less than 20 percent and number of days before
travel are greater than 21, there is a small increase in price.
Develop an optimized decision table for the Cloudliner Airlines ticket price adjustment policies.

The conditions for Cloudliner Airlines, along with a single letter to represent the condition are:

Seats remaining
Greater than 50 Percent High H
2050 Percent Medium M
Less than 20 Percent Low L

Days before flight


Less than 7 Few F
721 Average A
Greater than 21 Distant D

The number of rules is 3 3 = 9

The actions are:


Deep discount
Medium discount
Small discount
Low discount
High increase
Large increase
Small increase

Conditions and Actions 1 2 3 4 5 6 7 8 9


Seats Remaining H H H M M M L L L
Days Before Flight F A D F A D F A D
Deep Discount X
Medium Discount X X
Small Discount X
Low Discount X
High Increase X
Large Increase X
Small Increase X
2. Develop a decision tree for the situation in Problem 1.

You might also like