Course Professor Assigned Due Tuesday, Jun 28th, 2022 by 11:59 pm Weight 9% Project Description Create a 64-bit Visual Studio C17 console application to compile the following statistics on a list of...








Course Professor Assigned Due Tuesday, Jun 28th, 2022 by 11:59 pm Weight 9% Project Description Create a 64-bit Visual Studio C17 console application to compile the following statistics on a list of real numbers: For the following formulae is the datum, is the dataset, where ( is an element of ). Metric Formula Number of values The count of the elements in the dataset. Minimum value The value that is less than or equal to all values in the set. Maximum value The value that is greater than or equal to all values in the set. Range The range of values of the dataset. Statistical median The middle value of a sorted data set of odd length, or the arithmetic mean of the two closest values to the middle of a sorted data set of even length. Arithmetic mean The sum of all the values divided by the number of values. Variance The mean of the squared differences of each sample from the arithmetic mean. Standard deviation The square root of the variance. Frequency table A table listing the interval, and the count of data set values in that interval, and the percentage of the dataset represented by count of that interval. Our frequency table will use ten buckets. Histogram A graphical depiction of a frequency table – typically a horizontal bar chart. Labels indicate percentages. Logarithmic transform A logarithmically transformed dataset is defined as: This means that the transformed dataset has the natural logarithm of each datum in the original dataset. Provide both the frequency table and histogram of the log-transformed data. Your program must handle any length of list (potentially billions!) so your program must work in a 64-bit build. The list will be input (or piped) from the console, or read from a file. The list is terminated with end-of-stream (^Z, or ^D on Linux) or the word end. Bad input is to be skipped. Sample input lists are posted on FOL. Keep the output clean and minimal. A sample output file is posted on FOL. You will have to sort the data to compute the median and are to implement your own sort. Your grade is dependent upon the sorting algorithm that you choose (to get full marks, implement the quick, merge sort or heap sort). Sorting algorithms can be found at GATS Companion to Searching and Sorting. A sample of the executable, input file format and output file format are posted on FOL. Your output should be formatted as the output file. All statistics numbers calculated should be displayed to 3 decimal places, where applicable. You should create more input files to verify that all your statistics are done properly. Grading Criteria Input Requirements Weight Points Awarded Grade Reads double precision real numbers 1% 1 1 1% Terminates input on EOF 5% 1 1 5% Doesn't handle any size data set (array is NOT heap allocated) -25% 1   0% Skips bad inputs (only terminates on 'end' or EOF) 5% 1 1 5% Input from keyboard 2% 1 1 2% Input from file named on command line 5% 1 1 5% Reports bad filename 5% 1 1 5% Statistics Requirements         Number of values reported 2% 1 1 2% Minimum value correctly reported in all cases 2% 1 1 2% Maximum value correctly reported in all cases 3% 1 1 3% Range value correctly reported in all cases 3% 1 1 3% Mean correctly reported in all cases 6% 1 1 6% Median correctly reported in all cases 5% 1 1 5% Population variance correctly reported in all cases 6% 1 1 6% Population standard deviation correctly reported in all cases 5% 1 1 5% Logarithmic transform 6% 1 1 6% Frequency Table Requirements (must complete statistics first) Group labels 4% 1 1 4% Minimum and Maximum ranges 5% 1 1 5% Count is displayed and correct 5% 1 1 5% Percentage is displayed and correct 5% 1 1 5% Histogram Requirements (must complete Frequency table first) Group labels 1% 1 1 1% Percentages rounded to 2 decimal places 1% 1 1 1% Bars are correct length 2% 1 1 2% Bars scales are correct 3% 1 1 3% Bar scales are adjusted to next highest multiple of 5% greater than maximum percentage 3% 1 1 3% Non-functional requirements         Sort is: bubble 0% 1   0% Sort is: insertion sort 5% 1   0% Sort is: qsort 2% 1   0% Sort is: quick/merge/heap 10% 1 1 10% Sort is: Bogo/Bozo -5000% 1   0% Labels are not left justified -5% 1   0% Values are not right justified -5% 1   0% Values are not rounded to 3 decimal places -5% 1   0% Frequency table code is not contained in a function -5% 1   0% Histogram code is contained in a function -5% 1   0% Not a multi-file solution -5% 1   0% Penalties         Penalties from C & C++ Grading Guide v2.3.0 -5% 1 0 0% Late submission: -10% 1 0 0% Total       100% Difficulties         Moderate         Harder         Hardest         Submission Requirements 1. Submit entire Visual Studio project directory to Fanshawe Online a. Delete all debug and release directories.[endnoteRef:1] [1: Alternatively, you can ‘clean’ your project for submission by downloading ‘vsclean’ a Visual Studio Solution Cleaner from www.gats.ca .] b. Submit in a .ZIP, .7z archive file.
Jun 27, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here