The first thing is not having a 4 flat result. That is not necessary. To me, the necessary action is to try to attend a sort of webinars/seminars or workshops related to my program. This is to expose me to different kinds of techniques that may be useful when I am in my working field. A 4 flat result does not mean I am really good at it but merely showing that I had memorized all the stuff I had learned.
Conclusion: do not just study hard, learn some other things ouside of your syallabus but do not show off in class when the lecturer asked something related to it.