(Solved) : University Southern North Dakota Testing Department Needs Write Grading Program Multiple C Q42696671 . . .

The University of Southern North Dakota Testing department needsto write a grading program for multiple choice test. It should becapable of grading tests with up to 50 questions and for any numberof students. The program should grade individual exams andcalculate the grade for the student based on the number ofquestions, each being the same value out of 100. For example, ifthere are 25 questions each is worth 4. Do this in ADA orADA 95 language.

The program must also determine how many times each score wasearned on the test. This is a count or frequency.

The program must should show the number of students graded andthe class average. The program should have

• a procedure (called with different parameters) to read theanswer key and the student responses. The arrays are the same sizeand data type so only one procedure is needed to read both

. • a function that take the answer key and student response asparameters and then computes the score for that student. The scoreis returned as integer by the function.

• an input file. The program asks the user for the name of thefile. The file name is entered at the keyboard. All subsequent datais read from the file.

• a score frequency count. Every time a score is computedincrement a counter for that value. Any score from 0 to 100 ispossible (integer only), so the program needs 101 counters!

Create types for the frequency array, the answer key, and astudent record (ID and test responses).

Create at least the procedures/functions from the FORTRANversion and a new subprogram for printing the frequency.

Still must ask for the input file name and read from thefile.

Behavior not assigned to functions may be done in main.

The program will accept the input file name from the keyboardafter prompting the user for the file name. The first line in theinput files contains the number of questions on the exam, thesecond the answer key, and all following lines contain the studentids and responses to the questions.

The input shown here

20

2 1 1 3 4 4 5 3 2 1 2 4 5 2 1 1 3 4 4 2

12345 2 1 1 1 4 4 3 3 2 1 2 4 5 2 2 1 4 4 4 3

23456 2 1 1 2 3 4 5 3 2 1 2 4 5 2 1 2 3 4 4 1

14567 1 2 1 3 4 4 3 3 2 1 2 4 5 2 2 1 4 4 4 2

15678 2 1 2 3 3 4 5 3 1 1 3 4 5 2 1 1 3 4 4 2

16789 2 1 1 3 4 4 5 3 2 1 2 4 5 2 1 1 3 4 4 2

17890 2 1 1 3 4 4 5 3 2 1 2 4 5 2 2 1 4 4 4 3

12245 1 2 1 3 4 4 3 3 2 1 4 4 5 2 2 1 4 4 4 2

12256 2 1 2 3 3 4 5 3 1 1 2 4 5 2 1 1 3 4 4 2

22345 2 1 1 2 3 4 5 3 2 1 2 4 5 2 1 2 3 4 4 1

22456 1 2 1 3 4 4 3 4 2 1 2 4 5 2 2 1 4 4 4 2

13244 2 1 1 3 3 4 5 3 1 1 3 4 5 2 1 1 3 4 4 2

22458 2 2 1 3 4 4 5 3 2 1 2 4 5 2 1 1 3 4 4 2

23678 2 1 3 3 4 4 5 3 2 1 2 4 5 2 2 4 4 4 4 3

24567 2 1 2 3 3 4 5 3 2 1 2 4 5 1 1 2 3 3 4 1

11412 2 1 2 3 3 4 5 3 1 2 2 4 4 2 1 1 3 4 4 2

produces this output:

Enter file name:scantron.txt

Student ID    Score

===================

12345         75

23456         80

14567         75

15678         80

16789         100

17890         85

12245         70

12256         85

22345         80

22456         70

13244         85

22458         95

23678         75

24567         70

11412         75

===================

Tests graded = 15

===================

Score     Frequency

===================

100          1

95          1

85          3

80          3

75          4

70          3

===================

Class Average = 80

(*** Beware!! The data files can vary in number of questions upto 50, and there can be any number (at least 1) of students. Yourprogram must be flexible! ***)

Expert Answer


Answer to The University of Southern North Dakota Testing department needs to write a grading program for multiple choice test. It…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?