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

C语言程序评测方法研究
引用本文:修晓杰,唐红军. C语言程序评测方法研究[J]. 杭州电子科技大学学报, 2012, 0(3): 57-60
作者姓名:修晓杰  唐红军
作者单位:杭州电子科技大学信息工程学院,浙江杭州310018
基金项目:杭州电子科技大学高教资助项目(B1101,D1102)
摘    要:对于学习计算机编程语言来说,大量的练习是最重要的,然而学生作业人工评测是个枯燥、易错、又耗费大量时间的工作。该文提出一种基于程序切片技术的程序评测方法,通过分解程序降低大规模程序在评测中的复杂度。方法首先获得程序依赖图,然后运用切片算法对程序进行切片划分,并在此基础上将学生程序与模板程序进行语义比较,最后得到程序评测信息。方法已经成功运用到C语言程序评测中,大量评测结果证明,该方法正确、有效。该方法同时也适用于其他编程类课程。

关 键 词:C语言  程序切片  程序评测

Research on C-language Programming Assessment
XIU Xiao-jie,TANG Hong-jun. Research on C-language Programming Assessment[J]. Journal of Hangzhou Dianzi University, 2012, 0(3): 57-60
Authors:XIU Xiao-jie  TANG Hong-jun
Affiliation:( School of Information Engineering, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China)
Abstract:One of the most important steps of learning the art of programming is much practice. For the teach- ers of teaching basic computer programming language, a very large number of student programs should be gra- ded and human graders have great difficulty in judging the correctness and efficiency of programs. Therefore, this paper presents a C-language programming assessment method based on program slicing technique and the method has reduced the complexity in assessment of large-scale program by decomposing program. The method has successfully improved the grading process and it is also employed for the undergraduate courses.
Keywords:C-language  gram slicing  programming assessment
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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