logo

Pearson Edexcel GCSE (9-1) Computer Science practice

An online retail company needs to store product information. Each product has a unique `ProductID` (e.g., 'ELEC001'), a `ProductName` (e.g., 'Laptop Pro X'), and a `Price` (e.g., 1200.50). The company also wants to keep track of the `StockLevel` (e.g., 50) for each product. Describe how you would use a combination of data structures to store information for 100 different products. Justify your choice of data structures. [6 marks]

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

exam_style

Style

Topic

Algorithms

Exam-style question

Try this first

An online retail company needs to store product information. Each product has a unique `ProductID` (e.g., 'ELEC001'), a `ProductName` (e.g., 'Laptop Pro X'), and a `Price` (e.g., 1200.50). The company also wants to keep track of the `StockLevel` (e.g., 50) for each product. Describe how you would use a combination of data structures to store information for 100 different products. Justify your choice of data structures. [6 marks].

Answer and explanation

Attempt the question first, then reveal the model answer and explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions

No questions are published for this page yet.
An online retail company needs to store product information. Each product has a unique `ProductID` (e.g., 'ELEC001'), a `ProductName` (e.g., 'Laptop Pro X'), and a `Price` (e.g., 1 | ExamCompanion