Additionally, by the time you're an undergraduate you should be able to play any scale and arpeggio smoothly without hesitation. I'm an idiot and played for about 8 years and really, scales and arpeggios are not that difficult. For someone who aspires for a teaching degree these should be cake and you should not be getting flustered by these at all.
Programming equivalent would be something like needing to write a syntactically correct for loop in a random language pulled out of a hat. A basic exercise with some challenge but simple to do if you have put any practice in it.