Calculate the mean median and mode

Assignment Help Basic Statistics
Reference no: EM13927448

Program Description

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) median of the test scores, and

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

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

The application should do the following:

1. create one two dimensional array to store the student's answer and at least 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.

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. compute the total score for each student and determine the grade the student earns given the following grading scheme:

A: [90%,100%],

B: [80%, 90%),

C: [70%, 80%),

D: [60%, 70%),

E: <60%.

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

3. compute the median of the test scores. You must use the Array.sort() method that is part of .NET Framework Class Library

to sort an array instead of writing code of sorting yourself.

4. display all the information as shown in the sample output.

Sample Output

Note: You do not have to have the same amount of spacing as shown in the sample output above.

But make sure that the output is neatly formatted, the values in the columns in the table of student information should be left

aligned and all the decimal values should be displayed with exactly two digits after the decimal point.

Instructions for Submission

1. Create a ZIP file containing all the subdirectories starting with the project root directory.

The zip file must be named A1_yourLastNameYourFirstName.zip

2. Submit the zip file as an attachment using the E-Learning Assignment tool.

Note that not following the submission instructions exactly will result in loss of points.

 

Reference no: EM13927448

Questions Cloud

Define statistics in detail : Define statistics. Identify different types and levels of statistics.
Prepare contribution format segmented income statements : Prepare contribution format segmented income statements first showing the total company broken down between sales territories and then showing the Northern territory broken down by product line
What are the expected frequencies of winners from each class : Your school is  composed of 30% freshmen, 25% sophomores, 25% juniors, and 20% seniors.  a. Wh..
What will happen to sun devils stock price : If the risk-free rate of return declines to 6 percent, what will happen to Sun Devil's stock price? (Assume that the expected market rate of return remains at 14 percent.)
Calculate the mean median and mode : Develop a Console Application that grades a multiple choice test with 10 questions taken by 8 students.
Benefit of strategic management : 1) In a survey of 50 corporations, which of the following was rated as a benefit of strategic management?
What is the new value of a share of stock : What is the value of a share of stock in Caledonia Minerals prior to the merger? What is the new value of a share of stock, assuming that the merger is completed?
Construct full-spectrum least-squares fit to tissue spectrum : Construct a full-spectrum least-squares fit to the tissue spectrum. Using these fitting coeffcients for oxy and deoxy hemoglobin, calculate the O2 saturation percentage.
Fully describe the value of portfolio analysis : List and describe the different types of portfolio analyses available to a firm's management team. (BCG MATRIX AND GE BUSINESS SCREEN)

Reviews

Write a Review

Basic Statistics Questions & Answers

  The lawyer is worried that her sample mean will be

the workers in a large meat packing plant earn annual incomes with mean 30000 and standard deviation of 9000. a labor

  If the z-value for a given value x of the random variable x

if the z-value for a given value x of the random variable x is z 1.96 and the distribution of x is normally

  Correlation coefficient and scatter plot

Display the data in scatter plot. Calculate the linear correlation coefficient. Use the scatterplot to make a conclusion about the type of correlation.

  In a second grade class containing 12 girls and 10 boys 2

in a second grade class containing 12 girls and 10 boys 2 students are selected at random to give out the math papers.

  Normal distribution

Nrmal distribution

  Statistics problem set: confidence level

An investor wants to assess at confidence level of 98% if a medicament can improve the marks of students. He notices that for the following daily dozes: 2,2.5,3,4.5,7 mg, the improvement over the students that studied the same but took no mental b..

  Determine percentage of total production expect to replace

If Accrotime guarantees full refund on any defective watch for 2 years after purchase, determine percentage of total production will company expect to replace?

  Suppose 40 of the students of a campus are women if 20 of

suppose 40 of the students of a campus are women. if 20 of the women and 16 of the men of this campus are a students

  Lt x be a discrete random variable with possible values x

let x be a discrete random variable with possible values x ?1012 and probability function fx kx3 0.15 for x ?1012.a

  Explain conclusion-no statistically significant differences

Explain the conclusion that there were no statistically significant differences (p ≥ 0.05) between the benefits of behavioral therapy and psychoanalysis when treating an eating disorder.

  Find out the probability based on a random experiment

Probability based on a random experiment - What is the probability, without looking in the drawer

  Te mean was 2747 years with a standard deviation of 1069

a survey was conducted of the age in years of 50 randomly selected customers. the mean was 27.47 years with a standard

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