首页 | 本学科首页   官方微博 | 高级检索  
     

基于遗传编程的学生程序修正方法
引用本文:王克朝,王甜甜,王知非,任向民.基于遗传编程的学生程序修正方法[J].计算机应用研究,2018,35(6).
作者姓名:王克朝  王甜甜  王知非  任向民
作者单位:哈尔滨学院 软件学院,哈尔滨工业大学 计算机科学与技术学院,哈尔滨学院 软件学院,哈尔滨学院 软件学院
基金项目:国家自然科学基金(61202092);黑龙江省普通高校青年学术骨干项目(1254G037); 哈尔滨科技创新人才研究专项资金项目(2016RAQXJ013)。
摘    要:学生程序的自动修正是程序设计类大规模网络公开课亟需解决的关键问题。结合学生程序在线评测的需求,提出了基于遗传编程的学生程序修正模型,设计并实现了基于Web的便于教师和学生使用的程序自动修正系统。基于测试用例集实现程序在线评测,对评测结果中满足自动修正条件的学生程序进行错误定位,在此基础上实现自动修正。应用结果表明,该系统可以有效管理、测试学生程序、并为学生修正含有缺陷的程序提供参考,减轻了教师的负担。

关 键 词:缺陷修正  错误定位  遗传编程  程序评测  大规模网络公开课
收稿时间:2017/7/8 0:00:00
修稿时间:2018/5/4 0:00:00

Automatic bug fixing of student programs based on genetic programming
WANG Kechao,WANG Tiantian,WANG Zhifei and REN Xiangmin.Automatic bug fixing of student programs based on genetic programming[J].Application Research of Computers,2018,35(6).
Authors:WANG Kechao  WANG Tiantian  WANG Zhifei and REN Xiangmin
Affiliation:School of Software,Harbin University,,,
Abstract:Automatic bug fixing of student programs is an attractive topic of massive open online programming courses. According to the requirements of online assessment of student programs, the automatic bug fixing model of student programs based on genetic programming was proposed and a web-based program fixing system was developed. Firstly, student programs were judged online based on test suite; secondly, the faults were located within student programs that satisfied with fixing conditions; lastly, the bugs were automatically fixed. The application of the system shows that it can effectively help students in testing and fixing programs, and the workload of teachers has been reduced.
Keywords:bug fixing  fault location  genetic programming  program assessment  massive open online courses
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号