It's given that the correct answer for each true or false question cannot be the same. The possibility or all TRUE and all FALSE must be eliminated from the total number of possibilities.
Total number of ways in which:
a student can answer the 1st true or false question = 2
a student can answer the 2nd true or false question = 2
a student can answer the 3rd true or false question = 2
Total number of ways in which a student can answer the true or false questions = 2 x 2 x 2 = 8
Now this includes the two cases in which all answers are the same (all true and all false)
Therefore, the total number of ways in which the true and false questions such that the response for all the questions is not the same = 8 - 2 = 6
Number of ways in which the two MCQs can be answered = 4 x 4 = 16
Total number of ways in which the entire test can be answered = 16 x 6 = 96 ways...
Now... I have assumed that the student must compulsorily attempt each question

If the student has the option to skip questions, the approach is different.