lz do not copy from chegg umericAnalyzer will accept a list of 1 or more numbers as command line arguments. NOTE: Don’t prompt the user for input – this is an exercise passing values to your program via the command line! We’re forcing the user to “push” data values to the application rather than “pull” it from the user! Error checking: if the user fails to pass in parameters, the program will display an error message (of your choice) and exit early. EXTRA CREDIT (+5) Data Validation – flag non-numeric parameters as “invalid data” and exit early. The main() method’s String [] args argument values must be converted and assigned to a numeric/integer array and passed to an instance of NumericAnalyzer. (SEE EXAMPLE main() IMPLEMENTATION BELOW). main() should also be responsible for error checking logic. Your program will display the following information about the numbers provided by the user: The set of numbers provided by the user sorted ascendingly. NOTE: DO NOT implement your own sort algorithm! Part of this assignment is to begin discovering functionality provided by Core Java. Here’s a good place to start: https://www.geeksforgeeks.org/arrays-sort-in-java-with-examples/ The size of number list (the number of numbers!) The average or mean The median - the middle ‘value’ of the set of numbers sorted. Specific Definition: Case 1 – odd set of numbers: Median is the middle value. Case 2 – even set of numbers: Median is the average of the middle 2 values Odd Sized Example 2 3 4 8 12 16 32 = 8 ^ Even Sized Example 1 3 4 12 16 32 = 4 + 12 = 16 / 2 = 8 ^ ^ The min value. The max value. The sum The range: the difference between the max and min Variance: Subtract the mean from each value in the list. This gives you a measure of the distance of each value from the mean. Square each of these distances (and they’ll all be positive values), add all of the squares together, and divide that sum by the number of values (that is, take the average of these squared values) . Standard Deviation: is simply the square root of the variance.
lz do not copy from chegg umericAnalyzer will accept a list of 1 or more numbers as command line arguments. NOTE: Don’t prompt the user for input – this is an exercise passing values to your program via the command line! We’re forcing the user to “push” data values to the application rather than “pull” it from the user! Error checking: if the user fails to pass in parameters, the program will display an error message (of your choice) and exit early. EXTRA CREDIT (+5) Data Validation – flag non-numeric parameters as “invalid data” and exit early. The main() method’s String [] args argument values must be converted and assigned to a numeric/integer array and passed to an instance of NumericAnalyzer. (SEE EXAMPLE main() IMPLEMENTATION BELOW). main() should also be responsible for error checking logic. Your program will display the following information about the numbers provided by the user: The set of numbers provided by the user sorted ascendingly. NOTE: DO NOT implement your own sort algorithm! Part of this assignment is to begin discovering functionality provided by Core Java. Here’s a good place to start: https://www.geeksforgeeks.org/arrays-sort-in-java-with-examples/ The size of number list (the number of numbers!) The average or mean The median - the middle ‘value’ of the set of numbers sorted. Specific Definition: Case 1 – odd set of numbers: Median is the middle value. Case 2 – even set of numbers: Median is the average of the middle 2 values Odd Sized Example 2 3 4 8 12 16 32 = 8 ^ Even Sized Example 1 3 4 12 16 32 = 4 + 12 = 16 / 2 = 8 ^ ^ The min value. The max value. The sum The range: the difference between the max and min Variance: Subtract the mean from each value in the list. This gives you a measure of the distance of each value from the mean. Square each of these distances (and they’ll all be positive values), add all of the squares together, and divide that sum by the number of values (that is, take the average of these squared values) . Standard Deviation: is simply the square root of the variance.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
plz do not copy from chegg
- umericAnalyzer will accept a list of 1 or more numbers as command line arguments.
NOTE: Don’t prompt the user for input – this is an exercise passing values to your program via the command line! We’re forcing the user to “push” data values to the application rather than “pull” it from the user!
- Error checking:
- if the user fails to pass in parameters, the program will display an error message (of your choice) and exit early.
- EXTRA CREDIT (+5) Data Validation – flag non-numeric parameters as “invalid data” and exit early.
- The main() method’s String [] args argument values must be converted and assigned to a numeric/integer array and passed to an instance of NumericAnalyzer. (SEE EXAMPLE main() IMPLEMENTATION BELOW).
main() should also be responsible for error checking logic. - Your program will display the following information about the numbers provided by the user:
- The set of numbers provided by the user sorted ascendingly.
NOTE: DO NOT implement your own sortalgorithm !
Part of this assignment is to begin discovering functionality provided by Core Java.
Here’s a good place to start: https://www.geeksforgeeks.org/arrays-sort-in-java-with-examples/ - The size of number list (the number of numbers!)
- The average or mean
- The median - the middle ‘value’ of the set of numbers sorted. Specific Definition:
- Case 1 – odd set of numbers:
- Median is the middle value.
- Case 2 – even set of numbers:
- Median is the average of the middle 2 values
- Case 1 – odd set of numbers:
- The set of numbers provided by the user sorted ascendingly.
Odd Sized Example |
2 3 4 8 12 16 32 = 8 |
Even Sized Example |
1 3 4 12 16 32 = 4 + 12 = 16 / 2 = 8 |
- The min value.
- The max value.
- The sum
- The range: the difference between the max and min
- Variance: Subtract the mean from each value in the list. This gives you a measure of the distance of each value from the mean. Square each of these distances (and they’ll all be positive values), add all of the squares together, and divide that sum by the number of values (that is, take the average of these squared values) .
- Standard Deviation: is simply the square root of the variance.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY