Teacher will have a bad impression if you do not bring the books, and if you keep talking, he/she will get angry surely. Also if you do not have books, you are not easy to follow what the teacher say, so you should pay attention so that you can get the points in the class.