Question: 01) (10 points] Knowing that data in data.txt file are organized in two columns prodid and prodPrice. Write python program that: Read product information from

 01) (10 points] Knowing that data in data.txt file are organized

01) (10 points] Knowing that data in data.txt file are organized in two columns prodid and prodPrice. Write python program that: Read product information from data.txt and print them on screen. Calculate the summation of product prices Q2) (10 points) Write python code that search specific folder for text files with sizes more than 10MB (print each file name on the screen). Q3) [6 points) Write python program that reads from the user an integer number in the range (1,6) and raise a user defined exception when the number is out of range. 04) [4 points) in thread synchronization, threads can reserve resources and free them. Write python code that generates a deadlock that is used by unplanned reserving and freeing of resources, then explain the solution. (hint: you can use predefined locking objects types)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!