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 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
Get step-by-step solutions from verified subject matter experts
