Quote Originally Posted by Rtyom
Not студентом, but школьником.
In this case, better to say: Я плохо учился.