Develop a console application that grades a multiple choice

Assignment Help Programming Languages
Reference no: EM131136015

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.

Reference no: EM131136015

Questions Cloud

Where do you stand on the issue : Texas is one of a small group of states that allows straight ticket voting. Like all election policies, this one has its supporters and detractors. Where do you stand on the issue
Determine the effectiveness of the onboarding program : How you will determine the effectiveness of the onboarding program. The content of the onboarding program may included the following examples: Overview and introduction of the corporation and its industry.
What are you total costs-including the cost of goods : Annual demand for your product is 50,000 units. Holding cost is 25% of the value of the item. The cost, per unit, is $5.00. It costs $200 to place an order. What are you total costs, (including the Cost of Goods), if you choose to buy from this suppl..
Define a competitive equilibrium : Show that when there is dynamic inefficiency, it is possible to construct an unfunded social security system that creates a Pareto improvement relative to the competitive allocation.
Develop a console application that grades a multiple choice : 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.
Find the min of the maximum of set of decision variables : If we employ enumerating corner point methods to solve an LP problem, we may skip some alternate optional solution points? An Min-max LP problem seeks to find the min of the maximum of a set of decision variables, which are not independent variables.
Prepare a spreadsheet to calculate the depreciation for resi : Prepare a spreadsheet to calculate the depreciation for residential (27.5-year recovery period) and commercial (39-year recovery period) real estate using the straight-line depreciation method.
Consider the above-described olg economy : Consider the above-described OLG economy and suppose that the decentralized competitive equilibrium is dynamically inefficient.
What is the importance of reputation management : What is the importance of reputation management in relation to an organization's credibility. If a public relations person only has their credibility to offer and only as good as his or her deserved reputation, how can social media help or hurt that ..

Reviews

Write a Review

Programming Languages Questions & Answers

  Display the sine cosine and tangent of the angle

Write a program that asks the user for an angle, entered in radians. The program should then display the sine, cosine, and tangent of the angle

  Generate an object-oriented design for a system

Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection. Identify each of the classes, associated data, and operations for the classes.

  Program to read list up to hundred addresses

efine a class called address_t with members for the four integers. Your program should read a list up to 100 addresses and nicknames terminated by a sentinel address of all zeros and nickname.

  Application should calculate and display the order amounts

Make sure the number of units for each package is numeric, and is not negative.

  Write program to permit user to enter last names

Write down the program which permits the user to enter last names of five candidates in local election and number of votes received by each candidate.

  Write a shell script to read from the keyboard

Write a shell script called poject. 21 to read from the keyboard and display on the monitor first name, last name and age if the age is less than 50. If the age is greater than 50, it will display your are over 5 instead of the age.

  Create an xml document that marks up nutrition facts

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package.

  Program that asks for user-s age

Write a program that asks for user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote".

  Divide the input space for the into three equivalence class

Furthermore, you may further divide the third classes into more classes: inputs whose length is long than 60 but less than 120, inputs whose length is long than 120 but less than 180, etc...

  Necessary documentation for a mock meeting for the project

Create the necessary documentation for a mock meeting for the project. Create a sample progress report for the key stakeholders in the project.

  Create a console application that will convert a one digit

Use Visual Studio to create a console application that will convert a one digit roman numeral into our current numerical system. The program should continue asking the user for input until the user types quit.

  Describe program which converts fahrenheit to celsius

Create the following program which converts Fahrenheit to Celsius. Your program must have the following functions: Read integer Fahrenheit temperatures from the user. You need to check whether the input is the correct one or not. If the user enters..

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