Date: Friday, 13 March 2026
Refer to Lab 1 (Problem 2(i) and (iii)). You are required to incorporate business intelligence
in your order processing system by adding customer segmentation analysis.
Customer segmentation is the process of dividing a company's customer base into smaller, distinct
groups that share similar characteristics, such as demographics, behaviors, or preferences.
You are advised to perform segmentation of customer behavior mainly considering purchase habits.
Follow the suggested methodology below:
Assumption: Sufficient numbers of orders are present in the database.
How can you automate targeted marketing using the segments defined above?
Hint: For all royal customers, send them a complimentary gift through courier and a message
of thanks through email/SMS.
Write your approach and any supporting code below.
Develop test cases for your segmentation analysis platform.
Hints:
Write your test cases below.