Question 2(a) 2023 · May-June · Paper 42 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (a)
Question 1
mark each
Question 2
Show text version of question
Question 2
Part (a)
Question 2
A business sells a single product. Customers can purchase one or more of this product.
Each sale has an ID and a quantity, for example "ABC" and 2
The business needs a program to store the data about the sales in a circular queue data structure.
Part (a)
Write program code to declare a record structure, SaleData, to store the data about each
sale.
Save your program as Question2_J2023.
Copy and paste the program code into part 2(a) in the evidence document.
Why this question appears here
82% assigned-topic match · Data types and structures › Data types and records
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9618_s23_qp_42.pdf
