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

  Without good measurement-statistical analysis is worthless

Evaluate this statement: "Without good measurement, statistical analysis is worthless." Do you believe it is an overgeneralization.

  Will it earn monopoly profits

Suppose that the dominant firm's unit costs are greater than the maximum value found in (a), but still less than p f , and capacity is not constrained. What is the profit-maximizing price of the dominant firm?

  Find the probability that the surgury is successful

Find the probability that the surgury is successful for fewer than six patients

  Determining modelling and simulation

The dying rate in an industrial process is department of many factors and varies according to the following distribution.

  Collapse the response categories in the following table so

Collapse the response categories in the following table so that it meets the assumption of the chi-square test; then perform the test.

  A quiz consists of 20 multiple-choice questions each with 5

a quiz consists of 20 multiple-choice questions each with 5 possible answers. for someone who makes random guesses for

  Approximate probability that total time spent is greater

What is the approximate probability that the total time spent on the calls will be greater than 98 minutes? Give your answer to four decimal places.

  What is the difference between significance level and a

what is the difference between significance level and a p-value? explain in

  Run the chi-square test for independence using the

a researcher is interested in knowing if there are differences between the incidence of accidents among male and female

  What score on act is equivalent to sat score

Jose scores 842 on the SAT. Assuming that both tests measure the same thing, what score on the ACT is equivalent to Jose's SAT score?

  It is estimated that 20 of the athletes competing in a

it is estimated that 20 of the athletes competing in a large tournament are users of an illegal drug to enhance

  Confidence interval for differences in proportions

Generate a 95 % confidence interval for the difference in proportions of patients who report pain relief.

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