Common logic errors made by novice programmers

Common logic errors made by novice programmers
复制标题

新手程序员常犯的逻辑错误

DOI:
--
复制
发表时间:
2018
期刊:
IFAC Symposium on Advances in Control Education
影响因子:
--
通讯作者:
Paul Denny
Paul Denny
中科院分区:
--
文献类型:
--
作者:
Andrew Ettles;Andrew Luxton;Paul Denny

文献摘要

被引文献

相似文献

程序逻辑中的错误(有时称为语义错误)对于新手程序员定位和解决可能非常令人沮丧。更好地了解学生最常见和最有问题的逻辑错误类型,并找到针对这些错误的策略,可能有助于指导教学实践,减少学生的挫折感。在本文中,我们分析了15,000个由编程新手学生创建的包含逻辑错误的代码片段,并将错误分类为算法错误、对问题的误解和基本的误解。我们发现,错误概念是最常见的逻辑错误来源,也是学生最难解决的错误。我们列出了这类最常见的错误,以此作为设计具体教学干预措施的起点。
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.