摘要
针对期末编程机试时或学生自学练习编程时,C语言编程题自动评分算法在编程结果不正确或是编译有错没有运行出结果的情况下,不能给出相应的步骤分的问题,模拟人工评分的思路提出了一种改进的动态测试和静态分析相结合的算法,用于改善编程题稍有错即为零的情况,以及帮助自学者衡量知识点的掌握程度。
When the programming test is given on a computer in final exams or when students practice programming by them⁃selves,the automatic scoring algorithm for C language programming problems can't give any corresponding step scores when the pro⁃gramming runs out incorrect results or doesn't work due to compilation errors.The idea of simulating manual scoring presents an im⁃proved algorithm combining dynamic testing and static analysis to improve the situation where slightly wrong in programming problems can result in zero score and to help self-teaching people measure the mastery of knowledge.
作者
李建华
许芝卉
LI Jian-hua;XU Zhi-hui(School of Mathematics and Statistics,Shanxi Datong University,Datong Shanxi,037009)
出处
《山西大同大学学报(自然科学版)》
2020年第2期25-27,共3页
Journal of Shanxi Datong University(Natural Science Edition)
基金
山西大同大学校级科研项目[2018K3]。
关键词
自动评分
C语言
静态分析
动态测试
automatic scoring
C language
static analysis
dynamic testing