Answered step by step
Verified Expert Solution
Question
1 Approved Answer
here is files link: https://easyupload.io/m/wvm24y LAB OBJECTIVES: - Parse JSON objects - Make use of multithreading approach in python programs Program 1: Go to LMS,
here is files link:
https://easyupload.io/m/wvm24y
LAB OBJECTIVES: - Parse JSON objects - Make use of multithreading approach in python programs Program 1: Go to LMS, and download three files (TweetsDataPart1.txt, TweetsDataPart2.txt, TweetsDataPart3.txt) each of which has 1000 Tweet JSON objects. Each line is one Tweet JSON object. You can check out the Twitter documentation to understand the structure of Tweet JSON here (if needed) Read each file and parse the Tweet JSON object to extract the following: Date of Tweet (created_at), The User who posted this tweet (user>screen_name), and The Text (text). Then, Save the output to a file (this output file should contain 3000 Tweets). Report the total time in seconds needed to generate this output file from starting reading the input files until finishing writing the output file. Program 2: Redo Program 1 by utilizing a multithreading approach. Report the total time in seconds needed to generate this output file from start reading the input files until finish writing the output file. and compare it with the total time from Program 1. Report how much this approach is faster than the one in Program 1? Write your answer as a comment in the python fileStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started