期刊文献+

从C程序到XML文本转换模型的设计与实现

Design and Implementation of the Transformation Model from C Program to XML Text
下载PDF
导出
摘要 针对C程序提出一种生成标记字符串的方法,即用XML文本表示C程序.首先格式化源程序,从C语言全集中挑选出部分能代表程序结构的关键结构,并用正则表达式进行识别,然后将C程序中容易发生抄袭的结构信息存储到XML文本中,最后对实验系统进行了测试.测试结果表明,该方法能快速找到程序中发生抄袭的代码,从而提高相似度比较的速度和准确性. A method of generating token string for C program was presented,that is said that using XML text represent C program.Firstly,formatting the source program;secondly,picking out the key structure that can represent the procedural structure from C language,the key structure was identified by corresponding regular expressions;thirdly,the structure information in C program,which is prone to plagiarism,is stored in XML text;finally,the experiment system is tested,and the result proved that the method quick searches the code which is plagiarized and the speed and accuracy be improved.
作者 钟美 刘东升
出处 《内蒙古师范大学学报(自然科学汉文版)》 CAS 2011年第3期320-324,共5页 Journal of Inner Mongolia Normal University(Natural Science Edition)
基金 国家自然科学基金资助项目(60940027) 内蒙古师范大学研究生科研创新基金(CXJJS10052)
关键词 C程序 转换 XML文本 相似度 C program conversion XML text similarity
  • 相关文献

参考文献11

  • 1Georgina C,Mike J. Source-code plagiarism: AUK academic perspective [R]. Department of Computer Science,University of Warwick,2006. 被引量:1
  • 2Sheard J,Dick M,Markham S,et al. Cheating and plagiarism: perceptions and practices of first year it students [C]// Proc. of the 7th Annual SIGCSE Conference on Innovation and Technology in Computer Science Education. New York: Association for Computing Machinery, 2002 : 183-187. 被引量:1
  • 3Preehelt L,Malpohl G,Philippsen M. Finding Plagiarisms among a Set of Programs with JPlag[J]. Journal of Universal Computer Science, 2002,8 (11) : 1016-1038. 被引量:1
  • 4Aiken A. Moss:a system for detecting software plagiarism [EB/OL]. [2009-02-01]. http://theory, stanford, edu/-aiken/moss/. 被引量:1
  • 5Wise M J. YAP3: Improvement Detection of Similarities in Computer Program and Other Texts [C]//Proc. of the 27th SIGCSE Technical Symposium on Computer Science Education. New York.. Association for Computing Machinery, 1996: 130-134. 被引量:1
  • 6Seo-Young Noh, Shashi K Gadia. An XML Plagiarism Detection Model for Procedural Programming Languages I-R]. California:Proceedings of the 2nd International Conference on Computer Science and its Applications,2004. 被引量:1
  • 7Seo-Young Noh,Sangwoo Kim,Cheonyoung Jung. A Lightweight Program Similarity Detection Model using XML and Levenshtein Distance[J].FECS, 2006 : 3-9. 被引量:1
  • 8王万山.从Java语言到XML语言的转换[D].长春:吉林大学计算机与技术科学学院,2004. 被引量:1
  • 9王继远..一种用于软件作业评判系统的程序结构分析算法的设计与实现[D].北京邮电大学,2007:
  • 10StevenHolzner.XML使用详解[M].北京:机械工业出版社,1999.. 被引量:3

共引文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部