A Cognitive Approach to Predicting Academic Success in Computing