Relations between student learning patterns and personal and contextual factors and academic performance