Write a prototype program to perform simple statics

Assignment Help Programming Languages
Reference no: EM131295267

Your software company has been contracted to write a prototype program to perform simple statistical evaluations of integer data. Your program needs to implement the following functions:

def calcMean (scores, count)

// Where scores is an an array/list of integers and

// count is the number of items in the array

// mean is essentially the same as the average.

// return the mean of the data in scores as a float

def calcMedian (scores, count)

// Calculate the median value for the data in scores

// Median is middle value if the number of items is odd

// or the average of the middle two values if the number

// of items is even.

def calcVariance (scores, count)

// Calculate the variance value for the data in scores

// variance is determined using the formula:

the sum of the square of the values / count

- square of the sum of the values / square of the count

def calcStdDev (variance)

// Calculate the standard deviation value for the data in scores

// standard deviation is the square root of the variance

def Histogram ()

// Print a histogram of the data in scores

// the bar chart in chapter 6.10 will give you a

// good starting point.

You will also need to provide a main program to exercise the functions and a few sample data sets that you use to test the program.

Reference no: EM131295267

Questions Cloud

Explain the key principles of data security : Explain the key principles of data security and identify data security risk and violations in data management system design.Use technology and information resources to research issues in the strategic implications and management of database systems.
Miscommunications that turn out to be very problematic : In retrospect, was there something that you could or should have been done differently? Why do we sometimes run into these miscommunications that turn out to be very problematic?
Cost is different for identical items of inventory : One of the disadvantages of the specific identification inventory cost flow method is that it can allow managers of a business to manipulate the amount of income the business reports by choosing which item to sell if the cost is different for identic..
Develop your writing skills which are very important : Each student is required to submit a project. This is not a group assignment. The goal of this project is to apply the concepts you learn in this course to real-life situations. The project should also help you develop your writing skills which ar..
Write a prototype program to perform simple statics : Your software company has been contracted to write a prototype program to perform simple statistical evaluations of integer data. Your program needs to implement the following functions given below.You will also need to provide a main program to ex..
Find the input output relationship of the circuit in figure : Find the input-output relationship of the circuit in Figure.- Design a circuit that realizes the relationship found in part (a) using only 10-kΩ resistors and one OP AMP.
Capital account after the new partnership is created : The capital account balances for Donald and Hanes, LLP on Jan. 1, 2013 were as follows: Donald, capital $200,000; Hanes, capital $100,000. Donald and Hanes shared net income and losses in the ratio of 3:2 respectively. The partners agreed to admit Ma..
Reconciles pre-tax accounting income to taxable income : Northern Corporation began operations in January 2011, and purchased a machine for $20,000. Northern uses straight-line depreciation over a four-year period for financial reporting purposes. For tax purposes, the deduction is 50% of cost in 2011, 30%..
Design a single op amp amplifier with a voltage gain : Design a single OP AMP amplifier with a voltage gain of -1000 and an input resistance greater than 5 kΩ using standard 5% resistance values less than 3:3 MΩ.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd