He's capable to arrive up with elaborate options on-the-place to transform the tables all over in a bad problem but he won't be able to even spell his personal alias effectively.
This is downplayed a little bit, in that neither Harry nor Ron are undesirable at school, just type of middle-of-the-road, with their grades in a important exam suggesting them to be the wizarding equivalent of B-pupils.