There are three possibilities for the score of each question: 0, 1, 2. There are 3 2 = 9 possibilities for these two problems.
If you can make sure that at least six students get the same score in each question. Then when there are five students with the same score in each question, the minimum number of students in the class may be exactly+1.