首页    期刊浏览 2025年06月13日 星期五
登录注册

文章基本信息

  • 标题:Categorization of Frequent Errors in Solution Codes Created by Novice Programmers
  • 本地全文:下载
  • 作者:Md.Mostafizer Rahman ; Shunsuke Kawabayashi ; Yutaka Watanobe
  • 期刊名称:SHS Web of Conferences
  • 印刷版ISSN:2416-5182
  • 电子版ISSN:2261-2424
  • 出版年度:2021
  • 卷号:102
  • 页码:1-7
  • DOI:10.1051/shsconf/202110204014
  • 语种:English
  • 出版社:EDP Sciences
  • 摘要:In recent times, e-learning has become indispensable for both technical and general education. Among all the subjects, programming education has drawn attention because of its importance for continuous development in the ICT sector. Finding errors in a solution code is a laborious task for novice programmers, teachers and instructors. Novice programmers are spending a lot of valuable time to search errors in the solution codes. In this paper, a method for the categorization of frequent errors in solution codes is presented. In the proposed method, the differences between wrong solutions and accepted solutions are used to define feature vectors for a clustering algorithm. A longest common subsequence (LCS) algorithm is leveraged to find the differences between wrong and accepted codes, then all the inequalities are converted into feature vectors. The k-mean clustering algorithm is applied to cluster the elements of the feature vector to find the most common errors in solution codes. In our experiment, the method was applied to a set of program solution codes accumulated in an e-learning system. Experimental results show that the proposed method is efficient and capable to detect the most common errors occurred in solution codes that can be helpful for novice programmers to resolve errors quickly as well as useful for teachers to prepare lesson plan.
国家哲学社会科学文献中心版权所有