implement class that reads the student ID and 10 answer String representation as data Solution

The result of a true=false exam is given to computer science class have been coded for input to a program. the information available for each student. consists of a student ID and student's answers to 10 true-false question. The available data as follows:
student identification answer string
0080 FTTFTFTTFT
0340 FTTFTTTTTT
0462 TTTTTTTTTT

Design and implement class that reads the student ID and 10 answer String representation as data. The class should check and compare the student's correct and wrong answers according to a key answers, then determine the student final grade following the rules:
correct answers grade
9-10 A
8 B
7 C
6 D
0-5 F
Assume the key answer is " FFFFFTTFTT"/ write a java program to test the class
Powered by