Common Code Writing Errors Made by Novice Programmers: Implications for the Teaching of Introductory Programming

被引:0
|
作者
Ben Mase, Mokotsolane [1 ]
Nel, Liezel [2 ]
机构
[1] Univ Free State, Dept Comp Sci & Informat, Phuthaditjhaba, South Africa
[2] Univ Free State, Dept Comp Sci & Informat, Bloemfontein, South Africa
来源
ICT EDUCATION, SACLA 2021 | 2022年 / 1461卷
关键词
Novice programmer; Common programming errors; CS1; Computer Science education; PROBLEM-SOLVING SKILLS;
D O I
10.1007/978-3-030-95003-3_7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Novices tend to make unnecessary errors when they write programming code. Many of these errors can be attributed to the novices' fragile knowledge of basic programming concepts. Programming instructors also find it challenging to develop teaching and learning strategies that are aimed at addressing the specific programming challenges experienced by their students. This paper reports on a study aimed at (1) identifying the common programming errors made by a select group of novice programmers, and (2) analyzing how these common errors changed at different stages during an academic semester. This exploratory study employed a mixed-methods approach based on the Framework of Integrated Methodologies (FraIM). Manual, structured content analysis of 684 programming artefacts, created by 38 participants and collected over an entire semester, lead to the identification of 21 common programming errors. The identified errors were classified into four categories: syntax, semantic, logic, and type errors. The results indicate that semantic and type errors occurred most frequently. Although common error categories are likely to remain the same from one assignment to the next, the introduction of more complex programming concepts towards the end of the semester could lead to an unexpected change in the most common error category. Knowledge of these common errors and error categories could assist programming instructors in adjusting their teaching and learning approaches for novice programmers.
引用
收藏
页码:102 / 117
页数:16
相关论文
共 24 条