A coffee shop owner wants to introduce a computerised loyalty card system. A programmer discusses the details of the system with the shop owner.
- (a)Identify the stage of the program development life cycle that this discussion is part of and give a document that will be produced during this stage. Stage Document[2]
- (b)The shop will give each customer a loyalty card that displays a unique customer ID as a bar code. A customer will be able to present their card each time they make a purchase. The system will scan the bar code, calculate points, and add them to the customer's total. When the customer next makes a purchase and presents their card, they will have the option to exchange points for a discount. The designer decides that this activity will be handled by a new module. Decomposition will be used to break the problem of designing the new module down into sub-problems (sub-modules). Identify four sub-modules that could be used in the design of the new module and describe their use. Sub-module 1 Use Sub-module 2 Use Sub-module 3 Use Sub-module 4 Use[4]
Mark scheme
Marking points from the official mark scheme (Oct/Nov 2024). The mark or mark type is shown in brackets.
- [1] MP1 Analysis
- [1] MP2 Named document, examples include: A requirement specification
- [1] MP2 Named document, examples include: Definition of System Objectives
- [1] MP2 Named document, examples include: List of problems with existing system
- [1] MP2 Named document, examples include: Survey results
- [1] MP2 Named document, examples include: Feasibility study
- [1] MP2 Named document, examples include: Interview notes
- [1] Sub-module: ScanCard() / GetID() Use: Read the barcode from the loyalty card / Get the customer ID from the barcode
- [1] Sub-module: GetPoints() Use: Get the number of points the customer has
- [1] Sub-module: ExchangePoints() / UpdateCard() Use: Reduce the number of loyalty points
- [1] Sub-module: GetDiscount() / CalculateDiscount() Use: Calculate the discount
- [1] Sub-module: CalculatePoints() Use: Calculate points (following a purchase)
- [1] Sub-module: UpdatePoints() Use: Update total points a customer has (following a purchase)
- [1] Sub-module: ShowDiscount() Use: Display the discount
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →