Explain the concept of histogram

Assignment Help Basic Statistics
Reference no: EM13927072

In this assignment, you will redo Assignment 1 using functions and also extend its functionality. Like Assignment 1, you will

develop a Console Application that grades a multiple choice test with 10 questions taken by 8 students.

The applications finds each student's letter grade based on that test, and then displays:

(i) a table listing names, scores and grade for all students,

(ii) average, standard deviation, and median of the test scores,

(iii) a histogram showing the number of students who got A, B, C, D, or F, etc.

Suppose the student's names, their answers to the questions, the answer key and the score for each question are as given

below.

Student's Answers to the Questions

Jack

A B A

C C D E E A D

John

D B A

B C A E E A D

Jill

E D D

A C B E E A D

Mary

C B A

E D C E E A D

Peter

A B D

C C D E E A D

Bob

B B E

C C D E E A D

Nancy

B B A

C C D E E A D

Pat

E B E

C C D E E A D

Key

D B D

C C D A E A D

Score

2 2

5

3 3 4

4

4

6 7

1. The Main() method should create one two dimensional array to store the student's answer and three different one

dimensional arrays to store the student names, the answer key and the scores for each question, and initialize them to the

values given above.

You may create other arrays if you like, but only if necessary.

DO NOT declare any array at class-level. Every array you declare should be declared inside a function (Main or other).

Note that we may change the student responses, the answer key and/or the scores for the questions when we test your

application. So, write your code in such a way that it will work for any values.

2. The Main() method should then call a method called ComputeGrades().

The ComputeGrades method must

(1) take 3 arrays as input: one containing the student responses, the second containing the answer key, and the third

containing the scores for the questions,

(2) compute the total scores and grades that the students earn, and

(3) "return" two arrays: one containing the total score for each student and the other containing the grade the student earns.

The grading scheme to be used is: A: [90%,100%], B: [80%, 90%), C: [70%, 80%), D: [60%, 70%), F: <60%. Note that

B:[80, 90) means a student gets a B if his score is >= 80%, but strictly less than 90%.

3. The Main() method should then call a method called ComputeStatistics() that takes the students' scores array as input and

computes and "returns" the average, the standard deviation, and the median of the student scores.

4. The Main() method should then call a method called DisplayResults() that takes appropriate inputs and display the results

as shown in the sample output.

To do this, the DisplayResults() method should in turn call a method called DrawHistogram() which takes appropriate inputs

and displays the histogram as shown in the sample output.

Reference no: EM13927072

Questions Cloud

Define the terms demand deposits and compensating balance : Define the terms Demand deposits, Compensating balance, Disbursement float, Deposit float, Lockbox, Wire transfer, Depository transfer check, Zero-balance system, Draft and Automated clearinghouse.
What is the maximum price the company should pay : What is the maximum price the company should pay for each hour of additional molding time, and how many hours of molding time should they obtain at that price?
Characterize unattractive industries : __________ and barriers to exit characterize unattractive industries.
An enterprise-level implementation project : Once consultants and stakeholders mutually decide upon an adequate software suite for their particular organization, the development team must begin what is known as the design phase of an enterprise-level implementation project.
Explain the concept of histogram : take 3 arrays as input: one containing the student responses, the second containing the answer key, and the third containing the scores for the questions,
Inventory management from perspective of software : Please respond to Questions 1 - 11 on page 87 in Word formatting. Ensure that you use APA formatting and cite outside sources including our text. Finally, in 300 words or more, discuss the trends in inventory management from the perspective of a s..
What are primary reasons a firm holds a liquid asset balance : What factors should the firm consider in deciding whether to establish a lockbox collection system? What are the primary reasons a firm holds a liquid asset balance?
Crucial and difficult stage of any erp development project : Implementation is arguably the most crucial and difficult stage of any ERP development project. An organization's transition between legacy and enterprise systems can proceed smoothly, according to plan, or result in the disastrous consequences of..
Dell strategy for success in the marketplace : What is Dell's strategy for success in the marketplace? Does the company rely primarily on a customer intimacy, operational excellence, or product leadership customer value proposition? What evidence supports your conclusion?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Maximum error of estimate and confidence level

A confidence interval estimate for the population mean is given to be (41.16, 49.85). If the standard deviation is 16.290 and the sample size is 54, answer each of the following (show all work):

  Report governmental activities in government-wide financial

What basis of accounting is used to report governmental activities in government-wide financial statements? Can another basis be used? Please explain.

  Find what percentage of teachers earn anywhere

Bell-shaped with a mean of $45, 000 and a standard deviation of $3, 500. What percentage of teachers earn anywhere from $38, 000 to $48, 500?

  Gaussian copula for time to default

Suppose that bank has made a large number of loans of a certain type. The one year probability of default each loan 1.2%. The bank uses a Gaussian copula for time to default.

  Multiple choice questions based on multiple regression1 a

multiple choice questions based on multiple regression.1. a regression model between sales y in 1000 unit price x1 in

  A smooth talking student has a 13 probability of talking a

a smooth talking student has a 13 probability of talking a policeman out of giving him a speeding ticket. the

  In a contest of 5 min there are several mixed up rubiks

it takes annie an average of 60 sec. to solve a rubiks cube. you come in with a rubiks cube and mix it all up and ask

  Find probability that all the products are acceptable

The remainder are defective. If 4 of the products are randomly selected, find the probability that all of them are acceptable.

  One sample has n 8 and ss 21 and a second sample has n 8

one sample has n 8 and ss 21 and a second sample has n 8 and ss 35. what is the pooled variance for the two

  Conclusion for positive correlation in the population

A study of 20 worldwide financial institutions shows the correlation between their assets and pretax profit to be .86. At the .05 significant levels, can we conclude that there is positive correlation in the population?

  To find the sample size needed for a hypothesis test if ho

to find the sample size needed for a hypothesis test if ho mu10 ha mult10 sigma is unknown alpha 0.01 beta 0.05 and e

  Normal distribution curve-symmetric to mean

1. True or False. Justify for full credit. (a) The normal distribution curve is always symmetric to its mean. (b) If the variance from a data set is zero, then all the observations in this data set are identical.

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