Question: PROGRAM SPECIFICATIONSThe zip file from which you downloaded this file also contains a file named Proj 0 1 . py and a file named Proj

PROGRAM SPECIFICATIONSThe zip file from which you downloaded this file also contains a file named Proj01.py and a file named Proj01 Runner.txt. Copy and rename that file Proj01 Runner.py.Since this is your first assignment in this course, you should begin by making sure that you understand everything in this document. Then you should make sure that you understand all the code in the file named Proj01.py. Then you should make sure that you understand all the code in the newly-created file named Proj01Runner.py. If you don't understand something, ask your instructor for clarification. (You could also ask ChatGPT for an explanation if you choose to do so.Just remember that ChatGPT sometimes makes mistakes.)Edit the new file named Proj01Runner.py putting your name in the space where indicated. Then insert code where indicated to compute the following values for an incoming dataset of arbitrary length and numeric content.* mean* median* sample standard deviation* population standard deviationDO NOT modify the code in your copy of the file named Proj01.py. If you do, your program probably won't meet the assignment specifications when I test it with my copy of the file named Proj01.py.Place the file named Proj01 Runner.py in the same folder as the file named Proj01.py and execute the script in the in the file named Proj01-py.Your code in the file named Proj01 Runner.py must compute and return the mean, the median, the sample standard deviation, and the population standard deviation of an incoming dataset without use of the statistics functions named sum, mean, median, stdev, or pstdev. You are only allowed to import the math library and you must write the code to compute those values without the benefit of library functions designed for that purpose.The code in Proj01.py expects you to enter two or more numeric command-line arguments when you execute the code. If you don't enter the command-line arguments, a default dataset is created and used in place of the command line arguments. The first sample shown below was created without entering the command-line arguments. The second sample was created by entering the command-line arguments shown when the program was run.If all of your code is correct, the following output will be displayed on the command-line screen.Expect two or more numeric command-line argumentsCommand-line arguments missing.Will use default values instead.Default dataset =[1,2,3,4,5]- certify that this program is my own work and is not the work of others. I agree not to share my solution with others.Print your name here.mean okay 3.0median okay 3sample standard deviation okay 1.5811population standard deviation okay 1.4142If some of your code is not correct, text similar to the following will be displayed on the command line screen.Expect two or more numeric command-line arguments random_dataset [1,2,3,4,5]I certify that this program is my own work and is not the work of others. I agree not to share my solution with others.Print your name here.mean okay 3.0median okay 3sample standard deviation okay 1.5811OOPS: population standard deviation not okay1.5 was calculated1.4142 is correctThis second example shows an error in the calculations of the population standard deviation. If you see an OOPS message, go back and correct your errors until you get okay for all four statistical measures.Also if you get any runtime errors, you will need to fix your code that is causing them.Be sure that your name appears in the certification as indicated.The code that you write must not import any libraries other than math.The program must terminate and return control to the operating system when control reaches the end of the file named Proj01.py. In other words, infinite loops are not allowed.Do not copy the code from the file named Proj01.py into your file named Proj01Runner.py.The required output depends on the command-line arguments that are entered when the program s run. The default dataset or the dataset based on the command-line arguments is printed at thebeginning. You can use that information to debug your code if needed. Your instructor will test your solution with a different dataset.One good approach is to first calculate the required values with pencil, paper, and a calculator.Then convert those processes to code.The values that you return will be compared with values produced by the statistics functions named mean, median, stdev, or pstdev and they must match.Do not round or limit the number of decimal digits in the values that your code returns.If you have any questions about this assignment, be sure to ask for clarification. Don't end up with a bad grade because you didn't understand the requirements

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 Programming Questions!