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

基于程序理解的编程题自动评分方法
引用本文:马培军,王甜甜,苏小红.基于程序理解的编程题自动评分方法[J].计算机研究与发展,2009,46(7).
作者姓名:马培军  王甜甜  苏小红
作者单位:哈尔滨工业大学计算机科学与技术系,哈尔滨,150001
基金项目:国家自然科学基金项目 
摘    要:针对传统的编程题自动评分方法没有考虑学生程序是怎样实现编程任务的,以及不能从程序文本的语法结构和语义角度衡量学生程序与正确答案的接近程度等问题,提出一种基于程序理解的自动评分方法.以程序理解的一般过程及基本策略为依据,结合人工阅卷的思维过程,建立评分模型.评分过程可划分为3个阶段:首先将程序代码转换成系统依赖图中间表示形式;然后,对系统依赖图进行标准化转换,消除程序表达方式的多样性;最后,匹配标准化后的学生程序与模板程序系统依赖图并根据匹配结果给出评分.该方法被应用于"C语言编程题自动评分系统"中.实验结果表明:它可以根据学生程序的语法和语义衡量学生程序实现编程任务的正确程度,具有较高的准确性.

关 键 词:自动评分  程序理解  程序标准化  程序匹配  语义

Automatic Grading of Student Programs Based on Program Understanding
Ma Peijun,Wang Tiantian,Su Xiaohong.Automatic Grading of Student Programs Based on Program Understanding[J].Journal of Computer Research and Development,2009,46(7).
Authors:Ma Peijun  Wang Tiantian  Su Xiaohong
Affiliation:Department of Computer Science and Technology;Harbin Institute of Technology;Harbin 150001
Abstract:Traditional approaches of automatically grading student programs do not take into account how a student program answers a given programming task,and can not evaluate how close the source code is to correct solutions.Therefore,a new approach is proposed based on program understanding.A model is implemented based on the combining of the common process and basic strategies of program understanding with the thinking mode of manual grading.A set of typical model programs representing the correct way to implement...
Keywords:automated assessment  program understanding  program normalization  program matching  semantic  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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