A Fault Location Method for Student Homework Program  

作  者:Li Zhang Zheyu Yang Hao Li Jing Jiang Zian Sun 

机构地区:[1]the State Key Laboratory of Complex&Critical Software Environment,Beihang University,Beijing,100191,China

出  处:《计算机教育》2025年第3期111-121,共11页Computer Education

基  金:supported by the National Natural Science Foundation of China(Grant No.62177003);the Fundamental Research Funds for the Central Universities of Ministry of Education of China(Grant No.JKF-20240213)。

摘  要:In order to solve the code debugging difficulties faced by students and relieve the pressure of manual personalized tutoring,this paper proposes a method for locating faults in student code,called SCFL(student code fault location).This method utilizes a historical correct code repository composed of correct codes submitted by previous students in the same assignments.It standardizes the erroneous code and historical correct code variables simultaneously and calculates the abstract syntax change tree.Then,by establishing the mapping between the abstract syntax change tree and the student assignment code,the fault location results of the student assignment are calculated.The evaluation experiments show that the SCFL method has a result of 9.25 in the cumulative inspection statement count and 15.9%in the fault localization cost indicator.Both indicators are better than the three currently commonly used spectrum-based baseline methods.

关 键 词:Programming education Fault localization Personalized tutoring Programming practice 

分 类 号:G642[文化科学—高等教育学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象