Question: MCTST is a program that grades multiple-choice examinations. The input is a data file named OCR, with multiple records that are 80 characters long. Per

MCTST is a program that grades multiple-choice examinations. The input is a data file named OCR, with multiple records that are 80 characters long. Per the file specification, the first record is a title used as a title on each output report. The next set of records describes the correct answers on the exam. These records contain a "2" as the last character. In the first record of this set, the number of questions is listed in columns 1-3 (a value of 1-999). Columns 10-59 contain the correct answers for questions 1-50 (any character is valid as an answer). Subsequent records contain, in columns 10-59, the correct answers for questions 51-100, 100-150, and so on.

The third set of records describes the answers of each student; each of these records contains a "3" in column 80. For each student, the first record contains the student's name or number in columns 1-9 (any characters); columns 10-59 contain the student's answers for questions 1-50. If the test has more than 50 questions, subsequent records for the student contain answers 51-100, 101-150, and so on, in columns 10-59. The maximum number of students is 200. The input data are illustrated in Figure (mentioned below). The four output records are as follows:.

1. A report, sorted by student identifier, showing each student’s grade (percentage of answers correct) and rank.

2. A similar report, but sorted by grade.

3. A report indicating the mean, median, and standard deviation of the grades.

4. A report, ordered by question number, showing the percent- age of students answering each question correctly.

Title 1 80 Correct answers 1-50 No. of questions 34 9 10 59 60 79 80 Correct answers 51-100 9 10 59 60 79 80 Student identifi

Things to do:

1. Identify and list test cases.

2. Identify boundary value cases related to the student’s answers.

3. Identify some error guessing
 

1 1 1 1 No. of questions 34 Student identifier Student identifier 9 10 9 10 9 10 9 10 9 10 Title Correct answers 1-50 Correct answers 51-100 Correct answers 1-50 Correct answers 51-100 Correct answers 1-50 59 60 59 60 59 60 59 60 59 60 80 79 80 79 80 3 79 80 3 79 80 3 79 80

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ANSWER We can begin by methodically reading the specification looking for input conditions The first ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!