You can remember the meaning of 上校 with this easy mnemonic:
Show some more respect to the higher ups (上), or the colonel will expel you from this military school (校).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.