Problem

Redo Programming Exercise 6 of Chapter 8 using dynamic arrays. REFERENCE: The history...

Redo Programming Exercise 6 of Chapter 8 using dynamic arrays.

REFERENCE:

The history teacher at your school needs help in grading a True/False test. The students’ IDs and test answers are stored in a file. The first entry in the file contains answers to the test in the form:

Every other entry in the file is the student ID, followed by a blank, followed by the student’s responses. For example, the entry:

indicates that the student ID is ABC54301 and the answer to question 1 is True, the answer toquestion2isFalse, and soon. This student did not answer question 9. The exam has 20 questions, and the class hasmore than 150 students. Each correct answer is awarded twopoints, eachwrong answer gets one point deducted, and no answer gets zero points. Write a program that processes the test data. The output should be the student’s ID, followed by the answers, followed by the test score, followed by the test grade. Assume the following grade scale: 90%–100%, A; 80%– 89.99%, B; 70%–79.99%, C; 60%–69.99%, D; and 0%–59.99%, F.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 12
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT