Develop a console application that grades a multiple choice


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.

 

Solution Preview :

Prepared by a verified Expert
Basic Statistics: Develop a console application that grades a multiple choice
Reference No:- TGS01236074

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)