Question 8
AQA Computer Science November 2020 Paper 2 (7517/2)A level10 marks
On the specification
- 8.1
- 3.7 Fundamentals of computer organisation and architecture
- 8.2
- 3.7 Fundamentals of computer organisation and architecture
- 8.3
- 3.7 Fundamentals of computer organisation and architecture4.10 Fundamentals of databases
Question text
8 box A warehouse stores products that are waiting to be delivered to supermarkets. The products are packed onto pallets. For example, a pallet might hold 120 boxes of washing powder. All of the products on one pallet are of the same type. The individual products on the pallets could be identified by labelling them individually with barcodes or by attaching RFID (radio-frequency identification) tags to them. Each barcode/RFID tag would store a representation of a ProductID number that uniquely identifies the type of product (eg 102546 might represent a specific brand and box size of washing powder) together with an ItemID number that is unique to the specific item (eg box number 1 of the washing powder, box number 2 of the washing powder etc). Figure 9 shows an example of five boxes of washing powder loaded onto a pallet and their ProductID and ItemID values. Figure 9 Figure 10 shows an excerpt from the simple database table that stores the details of the products that the warehouse has in stock. Figure 10 ProductID Description QuantityInStock 102546 Washing Powder 1kg box 10 000 398352 Baked Beans 455g tin 1450 293820 Large Dishcloths 300 Some pallets delivered to the warehouse will be of products that already exist in the database table. Other deliveries will be of pallets of items that don’t exist in the table because the warehouse has not stocked them before. 8 1 box . Explain why the warehouse owners might prefer the individual products to be identified using RFID tags. [2 marks] 8.2 Explain why the product manufacturers or supermarket owners might prefer the individual products to be identified using barcode labels. [2 marks] 8 3 box . Describe how an RFID reader would read the ProductID and ItemID values from RFID tags as pallets are delivered and explain how this data could be used to update the database table that stores details of the products that the warehouse has in stock. You should include in your description references to the type(s) of SQL statements (eg INSERT, SELECT, UPDATE) that could be used and their purpose, but you do not need to write any SQL code. [6 marks]