An analysis of common errors leading to excessive student struggle on homework problems in an introductory programming course

7Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Students make many errors in an introductory programming course (aka CS 1). While previous research reports common errors, some errors are normal, being corrected by students in a reasonable amount of time, and being part of the learning process. However, some errors may lead to frustration due to excessive struggle, which may lead to student attrition. We defined a struggle metric using a combination of excessive time spent and excessive attempts, relative to other students in a course and reasonable thresholds. We analyzed struggle on 78 short, auto-graded coding homework problems for an 80-student Spring 2017 introductory C++ programming course at a research university. We found the struggle rate to be 10-15%. Our main focus was to determine the errors that led to such struggle, and thus we manually examined the student submissions for the 10 homework problems having the highest struggle rates. We described the errors and potential underlying student misconceptions that seemed to lead to that struggle. We found that most common errors belong to the following: nested loops, else-if vs. multiple if, random range, input/output, for loop and vector, for loop and if, vector index, negated loop expression, and boolean expressions. Having a deeper understanding of these common errors may aid teachers and authors to help students avoid or correct such errors, thus reducing struggle, which may reduce frustration and potential attrition.

Cite

CITATION STYLE

APA

Alzahrani, N., Vahid, F., Edgcomb, A. D., Lysecky, R., & Lysecky, S. (2018). An analysis of common errors leading to excessive student struggle on homework problems in an introductory programming course. In ASEE Annual Conference and Exposition, Conference Proceedings (Vol. 2018-June). American Society for Engineering Education. https://doi.org/10.18260/1-2--29771

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free