Answer:
B. fundamental attribution error
Step-by-step explanation:
The fundamental attribution error is the tendency of people that people emphasize on personal characteristics and they ignore situational factors in judging the behaviors of others. The given example also describe the same situation where the teacher is just taking the performance of students and relates it to the behavior of students.