Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You need to create a project plan that includes: 1. A diagram or outline showing how each of the statistical and calculator functions relate to

You need to create a project plan that includes:

1. A diagram or outline showing how each of the statistical and calculator functions relate to each other. This should help you plan the order of the tasks. You should show your instance class, static method class that "Wraps" calls the static functions, and the individual class and function for each operation.

For example:

  1. Calculator Object
    1. Properties
      1. Result
    2. Methods
      1. Addition -> Calls addition static method from math operations
      2. Subtraction -> Call subtraction static method from Math operations
    3. Math Operations Static Class
      1. Methods
        1. Addition -> Calls addition class method of sum
        2. Subtraction->Calls subtraction class method of difference
    4. Operations class(s)
      1. Addition
        1. Methods
          1. Sum 1 numbers
          2. Sum List of numbers
      2. Subtraction
        1. Methods
          1. Subtract 2 numbers

2. A list of task that break each development task down to the function level. Each task requires a description, formula, and an example of the formula with data and the result of the calculation.

3. A Gitub Repository and a Project that has a 4 column chart: Todo, In progress, Review, Done.

  • ToDo Shows your Tasks List
  • In progress needs to show the task assigned to a developer
  • Review needs to be for pull requests to review and who did the review
  • Done is for complete tasks

Program Requirements

  1. Demonstrate the use of overloading / polymorphism to reduce the high level names of functions by using the same name with different parameter types
  2. Demonstrate inheritance by extending the calculator
  3. Demonstrate encapsulation by having the calculator have methods and a result property
  4. Demonstrate abstraction by layering your code and using static methods. Object methods should call static methods to perform the operation.
  5. Check values for being valid numbers and not strings
  6. Throw an exception for divide by zero
  7. Throw exception for empty list
  8. Use random data for tests and be able to increase the number of calculations required i.e. be able to increase the list of numbers that the mean calculation is done on. You can actually use built in libraries or 3rd party libraries to check your calculations that you complete yourself. i.e. you can use the standard deviation function from a stats library to compute the correct value for your list of random numbers and then use that to test that your own calculation is correct for that list.

Random Generator function

  1. Generate a random number without a seed between a range of two numbers - Both Integer and Decimal
  2. Generate a random number with a seed between a range of two numbers - Both Integer and Decimal
  3. Generate a list of N random numbers with a seed and between a range of numbers - Both Integer and Decimal
  4. Select a random item from a list
  5. Set a seed and randomly.select the same value from a list
  6. Select N number of items from a list without a seed
  7. Select N number of items from a list with a seed

Population Sampling functions

  1. Simple random sampling
  2. Systematic sampling
  3. Confidence Interval For a Sample
  4. Margin of Error
  5. How to Find a Confidence Interval
  6. Cochrans Sample Size Formula
  7. How to Find a Sample Size Given a Confidence Interval and Width (unknown population standard deviation)
  8. How to Find a Sample Size Given a Confidence Interval and Width (known population standard deviation)

Descriptive Statistics functions

  1. Mean
  2. Median
  3. Mode
  4. Variance
  5. Standard Deviation
  6. Quartiles
  7. Skewness
  8. Sample Correlation
  9. Population Correlation
  10. Z-Score
  11. Mean Deviation / Mean Absolute Deviation

Additional Modules

  1. Helper Functions (Functions you use for checking types or performing repeated operations)
  2. Random Number Generator

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

=+j Improve the effectiveness of global and virtual teams.

Answered: 1 week ago