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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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