Question: For this lab you will implement a program that mimics data analysis for an e-commerce site. You will implement a set of classes (as determined
For this lab you will implement a program that mimics data analysis for an e-commerce site. You will implement a set of classes (as determined by you) to represent the data stored in a "log" file. You will then work with the data to compute various statistics on the collected data.




--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------






Lab 3 collect data Orientation For this lab you will implement a program that mimics data analysis for an e-commerce site. You will implement a set of classes (as determined by you) to represent the data stored in a "log" file. You will then work with the data to compute various statistics on the collected data Objectives . Understand the provided base code that reads data from a file into an array of strings Write code to process the data into appropriate data structures (including writing your own classes and creating hashmaps to store lists of those classes as appropriate) Write code that operates on the data in order to compute statistics about that data (including relating the various peices of data to one another and computing averages, differences counting given specific instructions) Given Files Retrieve the files provided for this lab here: https://classroom.github.com/a/lehOUDGO These given files include base code to help in the task of analyzing log data. Your final program will need to read in e-commerce like data from a file and compute statistics based on the information in the log. The base code implements the file reading (but not the processing of the data read). You will need to complete the processing of the data for this lab, (including putting the data into appropriate data structures, i.e., not an array of strings). You are encouraged to read through the provided code Log File Examine the provided log files. For example, look at the contents of small.log. You will find various entries representing customer use of an imaginary e-commerce site. Each entry will appear on a single line in the file and consist of an entry type tag followed by the corresponding entry attributes The different types of entries and their attributes are as follows. START sessionId customer!d VIEW sessionId productid price BUY sessionId productId price quantity END sessionId 1 of 4 1/31/2018, 12:25 PM
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
