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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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