My collaborator Duane Shell and I published a paper on CS Education regarding motivation and self-regulation: Shell, D. and L.-K. Soh (2013). Profiles of Motivated Self-Regulation in College Computer Science Courses: Differences in Major versus Required Non-Major Courses, Journal of Science Education and Technology, 22(6):899-913.