I agree that it's a little odd. But even this episode, IMO, points to something that Bashir is hiding....
It's revealed here that he deliberately messed up his final exam, thereby ensuring that he wouldn't graduate at the top of his class. That goes along with what we later then about him....