computer science

profileestloe
project_33-_a.docx

Project 33

 

Write a system to score a set of true/false tests.  There are 15 true/false questions.  True is represented by T and false by F.  The key to the test is in file quizkey.dat.  The student answers are in file quiz.dat.  Each student's name (maximum of 20 characters) follows the student's last answer after 1 space.

 

A sample record in quiz.dat looks like

TTFTFFFTTFTFTTF Jill Student

 

The key looks like

TFTTFFTTFTTFTFF

 

The number of students in the class is not known.

Write a report with a heading and columns for name, correct, missed and numerical percentage nicely spaced.

Write the program so that it will grade true/fa/se tests with different numbers of questions.  The number of questions can be determined by the number of T/F in the quizkey.dat file.  No quizzes are more than 100 questions.

 

The user just wants to install a software application and start it running.

 

Follow Project Guidelines