Common logic errors made by novice programmers
Common logic errors made by novice programmers
复制标题
新手程序员常犯的逻辑错误
DOI:
--
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Paul Denny
中科院分区:
文献类型:
--
作者:
Andrew Ettles;Andrew Luxton;Paul Denny
Errors in the logic of a program (sometimes referred to as semantic errors) can be very frustrating for novice programmers to locate and resolve. Developing a better understanding of the kinds of logic error that are most common and problematic for students, and finding strategies for targeting them, may help to inform teaching practice and reduce student frustration. In this paper we analyse 15,000 code fragments, created by novice programming students, that contain logic errors, and we classify the errors into algorithmic errors, misinterpretations of the problem, and fundamental misconceptions. We find that misconceptions are the most frequent source of logic errors, and lead to the most difficult errors for students to resolve. We list the most common errors of this type as a starting point for designing specific teaching interventions to address them.