Question: Consider a scenario where a store manager maintains a 'list.csv ' file, used to track the remaining promotional balance for each customer. For this particular
Consider a scenario where a store manager maintains a 'list.csv file, used to track the remaining
promotional balance for each customer. For this particular campaign, customers have the opportunity to
select three unique items: a computer mouse, a bag, and a study lamp. Importantly, customers may not
choose multiple items from the same category for instance, purchasing two computer mice is disallowed.
The price ranges for these items vary. A computer mouse can cost anywhere between $ to $; the bag
also ranges from $ to $; and the study lamp is priced between $ to $ Rest assured, the store
has ample stock to fulfill all orders, and customers are given the flexibility to select one, two, or all three
items as per their preference.
The specifications for the new program, record.py consists of its four main operations:
Add function: This feature permits the manager to integrate a new customer into the system. By
executing the command python record.py add the manager can input the prices
of the selected items for the new customer. Enter the price of zero if a particular item is not
selected by the customer.
Delete function: This function enables the manager to remove a customer from the system. To
do this, run the command python record.py delete
Update function: This feature provides the manager with the ability to update the expenses of
the items selected by an existing customer. This can be done by running the command python
record.py update Enter the price of zero if a particular item is not selected by
the customer.
Report function: This function gives the manager the ability to review the profit of promotion
campaign for each customer. By executing the command python record.py report, the manager
can view the expenditure. The expenditure is classified as "Lost" for a certain customer if it falls
within the range of $ to $ both inclusive. It is designated as "Low Profit" if it is equal to
or greater than $ but less than $ Should the expenditure be less than $ it is
categorized as "High Profit".
The detailed description for these functions of the program record.py is given in Appendix A
You are required to play the role as a software tester, undertaking the following tasks.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
