Attention, short-term memory, and academic performance