The flowchart on the opposite page shows what happens when the barcode on a product is scanned at the checkout in a supermarket. The barcodes are used in an automatic stock control system. Several of the statements in the flowchart are missing. Using item number only from the list below, complete the flowchart. Item number Statement 1 Add flag to product record to indicate re-order made 2 Any more barcodes to scan? 3 Has the scanned barcode been found in the file? 4 Has the re-order flag already been added to the product record? 5 Is number of product in stock <= re-order level? 6 Number of product in stock is reduced by 1 7 Output an error message 8 Automatically send out order for new product [Figure on page 5]
- (a)Using item number only from the list below, complete the flowchart. Item number Statement 1 Add flag to product record to indicate re-order made 2 Any more barcodes to scan? 3 Has the scanned barcode been found in the file? 4 Has the re-order flag already been added to the product record? 5 Is number of product in stock <= re-order level? 6 Number of product in stock is reduced by 1 7 Output an error message 8 Automatically send out order for new product [Figure on page 5][4]
This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.
Mark scheme
Marking points from the official mark scheme (Oct/Nov 2015). The mark or mark type is shown in brackets.
- Correct placement of '3' (Has the scanned barcode been found in the file?)
- Correct placement of '7' (Output an error message)
- Correct placement of '6' (Number of product in stock is reduced by 1)
- Correct placement of '5' (Is number of product in stock <= re-order level?)
- Correct placement of '4' (Has the re-order flag already been added to the product record?)
- Correct placement of '1' (Add flag to product record to indicate re-order made)
- Correct placement of '8' (Automatically send out order for new product)
- Correct placement of '2' (Any more barcodes to scan?)
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 →