Guys are always the kind of ‘best-foot forward’ during this stage. Aside from complimenting you, he also compliments himself by bragging a little to impress you. He might be obviously showing you off that he’s studying, asking you about the academic works or casually dropping into a conversation of what he’s good at or he got a good grade.
This may be a sign that he’s trying to get you to like him. It’s like telling you that he’s the most decent guy in town and he’s unique from any other guy.