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

代码相似性检测在程序设计教学中的应用
引用本文:张莉,周祖林.代码相似性检测在程序设计教学中的应用[J].计算机教育,2009(13):116-118,112.
作者姓名:张莉  周祖林
作者单位:对外经济贸易大学,信息学院,北京,100029
摘    要:代码剽窃是程序设计课程中经常出现的一种作弊行为,检测剽窃的源代码、验证学生程序作业的原创性在教学中很重要。程序代码的相似度度量是剽窃检测的关键技术。本文首先对现有程序代码相似性检测技术进行研究,然后改进Halstead算法,提出了基于统计学方法程序代码相似性检测算法,最后对算法的有效性进行了实验分析。

关 键 词:相似性检测  属性计数  程序代码  卡方检验

Application of Code Similarity Detection in Program Designing Teaching
ZHANG Li,ZHOU Zu-lin.Application of Code Similarity Detection in Program Designing Teaching[J].Computor Education,2009(13):116-118,112.
Authors:ZHANG Li  ZHOU Zu-lin
Affiliation:(School of Information Technology & Management Engineering of University oflntemational Business and Economics, Beijing 100029, China)
Abstract:Code plagiarism is one kind of cheat behavior, which appears frequently in the programming curriculum. Detection of source code plagiarism is important to verify the originality of students' project works during teaching. The code similarity measurement is the key technology in the plagiarizing detection. In the paper, first, the existing program code similarity detection techniques are studied. Then, improve Halstead algorithm and propose an algorithm for code similarity detection based on statistical methods. At last, the effective of algorithm is analyzed through experiments.
Keywords:similarity detection  attribute account  program code  chi-square test
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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