Hi, I have been given four programs to complete I have completed 3 but cant get my head around this. can someone help me please
Thanks

Write a class-based program for the following problem.
An examination consists of 10 true or false type questions. A
solution to the exam can be represented as a string of ten
characters where each character is either 'T' if the answer to
the corresponding question is true or 'F', if the answer to the
corresponding question is false. For instance, the string
"TTFFFTFTTF" indicates that the answers to questions 1,2,6,8 and
9 are true, whose those to questions 3,4,5,7 and 10 are false.
The program should mark such an exam. It should read and store
the string representing the correct solution, and should then
read the candidate number and the string representing the answers
as given by each the candidate who took the exam. It should then
print out the mark obtained by that candidate.