Consider the following BASH script: What will be the output…

Questions

Cоnsider the fоllоwing BASH script: Whаt will be the output of this script?

Exercise 1: Prоpоrtiоn of Defective Items in а Bаtch Scenаrio A factory produces light bulbs, and it is claimed that 5% of the bulbs are defective. A quality control inspector randomly selects a sample of 200 bulbs and finds that 12 are defective. Questions: a. What is the sample proportion of defective bulbs? b. Construct a 95% confidence interval for the true proportion of defective bulbs. c. Interpret the confidence interval in the context of the problem.   Exercise 2: Mean Test Scores of Students Scenario A teacher claims that the average score of her students in a final exam is 75. A sample of 40 students is selected, and the sample mean is found to be 78 with a standard deviation of 10. Questions: a. What is the sample mean of the test scores? b. Construct a 90% confidence interval for the true mean of the test scores. c. Interpret the confidence interval in the context of the problem.   Exercise 3: Proportion of Voters Supporting a Candidate Scenario A political analyst claims that 55% of voters support a particular candidate. A survey of 400 voters is conducted, and it is found that 220 voters support the candidate. Questions: a. What is the test statistic here? b. Conduct a hypothesis test at the 0.05 significance level to determine if the true proportion of voters supporting the candidate is different from 55%. c. Interpret the results of the hypothesis test.   Exercise 4: Average Weight of a Product Scenario A diet product manufacturer claims that their meal replacement shake has an average weight of at least 350 grams. A quality control inspector suspects that the actual average weight is less than 350 grams. A sample of 25 shakes is selected, and the sample mean weight is found to be 348 grams with a standard deviation of 5 grams. Questions: a. What is the critical value here? b. Conduct a hypothesis test at the 0.01 significance level to determine if the true mean weight of the meal replacement shakes is less than 350 grams. c. Interpret the results of the hypothesis test.   Exercise 5: Mean Difference in Test Scores (Matched Pairs) Scenario A teacher wants to determine if a new teaching method is effective. She tests 10 students before and after using the new method. The scores before and after the new teaching method are recorded. The differences in scores (after - before) are analyzed. Questions: a. What is the sample mean of the differences in test scores? b. Conduct a hypothesis test at the 0.05 significance level to determine if the new teaching method has a significant effect on the test scores. c. Interpret the results of the hypothesis test. Data: Before: 70, 75, 80, 65, 85, 90, 75, 70, 80, 85 After:    72, 78, 85, 67, 87, 93, 77, 73, 83, 88