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 PercentHighH

20–50 PercentMediumM

Less than 20 PercentLowL

Days before flight

Less than 7FewF

7–21AverageA

Greater than 21DistantD

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
  1. Develop a decision tree for the situation in Problem 1.