Find out whatever you can from students who have previously had that teacher or class what the teacher likes or doesn’t like, or what to expect at different points in the class.
To be honest, school is not a depiction of who is the smartest. It is an example of who can “play school” the best. Part of this is understanding the teacher and how to play to the teachers’ wishes.