Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

Program Description

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.

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91892529
  • Price:- $35

Priced at Now at $35, Verified Solution

Have any Question?


Related Questions in Programming Language

Task - hand execution of arraysoverviewin this task you

Task - Hand Execution of Arrays Overview In this task you will demonstrate how arrays work by hand executing a number of small code snippets. Instructions Watch the Hand Execution with Arrays video, this shows how to ste ...

Task working with arraysoverviewin this task you will

Task: Working with Arrays Overview In this task you will create a simple program which will create and work with an array of strings. This array will then be populated with values, printed out to the console, and then, w ...

Php amp session managment assignment -this assignment looks

PHP & SESSION MANAGMENT ASSIGNMENT - This assignment looks at using PHP for creating cookies and session management. Class Exercise - Web Project: Member Registration/Login This exercise will cover adding data connectivi ...

Question 1 what is hadoop explaining hadoop 2 what is

Question: 1. What is Hadoop (Explaining Hadoop) ? 2. What is HDFS? 3. What is YARN (Yet Another Resource Negotiator)? The response must be typed, single spaced, must be in times new roman font (size 12) and must follow t ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Structs and enumsoverviewin this task you will create a

Structs and Enums Overview In this task you will create a knight database to help Camelot keep track of all of their knights. Instructions Lets get started. 1. What the topic 5 videos, these will guide you through buildi ...

Background informationthis assignment tests your

Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fun ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Task arrays and structsoverviewin this task you will

Task: Arrays and Structs Overview In this task you will continue to work on the knight database to help Camelot keep track of all of their knights. We can now add a kingdom struct to help work with and manage all of the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As