Consider the checkout counter at a large supermarket chain. For each item sold, it generates a record of the form [Produ

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Consider the checkout counter at a large supermarket chain. For each item sold, it generates a record of the form [Produ

Post by answerhappygod »

Consider The Checkout Counter At A Large Supermarket Chain For Each Item Sold It Generates A Record Of The Form Produ 1
Consider The Checkout Counter At A Large Supermarket Chain For Each Item Sold It Generates A Record Of The Form Produ 1 (38.1 KiB) Viewed 16 times
Consider the checkout counter at a large supermarket chain. For each item sold, it generates a record of the form [Productld, Supplier, Price]. Here, Productid is the unique identifier of a product, Supplier is the supplier name of the product and Price is the sale price for the item. Assume that the supermarket chain has accumulated many terabytes of data over a period of several months. The CEO wants a list of suppliers, listing for each supplier the average sale price of items provided by the supplier. How would you organize the computation using the Map-Reduce computation model? Write the pseudocode for the map and reduce stages. [4 marks]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply