Question: Q1. You wrote items to buy on two different papers. They are found in the text file (*.txt). Each of the papers is missing some

Q1. You wrote items to buy on two different papers. They are found in the text file (*.txt). Each of the papers is missing some items. You need to merge these two papers into one paper to go shopping. Display the new paper on the console. ( 2pts) Q2. Define a student record using a dictionary data structure, In this record, save your first name, student ID, and the current semester as First 2022/2023. (2 pts) Q3. Solve the following system of linear equations: (3 pts) 3x1+4x2+2x3=2x1+2x2+3x3=84x1+x2x3=1 Display the answer on the console as x1=,x2=, and x3=. Replace by the corresponding values. (1pt) Q4. In a distribution center, several products are stored along with their stock_level, unit_price, unit_holding_cost, and qty_sold (refer to the *.txt file). These data present yesterday's values. - Help an operator in the distribution center to define a dictionary that stores the total revenue associated with each product. (2 pts) - Use the total calculated revenue to plot a pie chart. Do not forgot to add labels. (1 pt) Q5. Define a function that calculates standard deviation for a population [You have to write the full formula]. This function receives one-dimensional array as an input. (4 pts) Use the defined function to calculate the standard deviation for an array named data in the *.txt file. Print the output on the console. (1pt) Q6. Calculate the square root of 2.5,3,3.5,40. Save the square roots in a selected data structure and name it as square_roots. Calculate the mean of the square roots and display it on the console. (2 pts) (1pt) Q7. Write a code to print the below output. Do not define a data structure with these numbers to copy it or to print it line by line. Hint: handle each line as an integer. (4 pts) 131531753197531
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
