You can remember the meaning of 同学 with this easy mnemonic:
My classmates who study at the same (同) school as me seem to be learning (学) different things.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.