摘 要:本文针对目前计算机专业毕业生就业难的问题,提出开发一个程序设计类课程在线学习系统,有助于减轻教师的工作量、增加学生的代码量,从而提高学生的编程能力,但程序设计题的主观性较强,大多数在线评阅的准确率难以令人满意;本文就程序设计题的在线评阅技术进行探讨,给出了程序设计题自动评阅模块的实现方法、评阅目标和原则,以及题目测试数据的要求、静态评阅实现的方法、语法错误检测方法,还给出了运行结果自动评阅的实现方法等;评阅的技术具有一般性,可以应用到C 语言、C++ 和Java 等语言的自动评阅上。
关键词:程序设计题;在线评阅;静态评阅;C 语言
中图分类号:TP311.1 文献标识码:A 文章编号:2096-4706(2019)08-0104-03
Research on Online Evaluation Technology of Programming Questions
LIN Ning
(College of Information Engineering,Nanning University,Nanning 530200,China)
Abstract:In view of the difficult employment of computer graduates at present,this paper puts forward that the development of an online learning system of programming courses can help reduce the workload of teachers,increase the amount of code for students,and thus improve the programming ability of students. However,the subjectivity of programming problems is strong,and the accuracy of most online reviews is difficult to be satisfied. This paper discusses the online evaluation technology of program design questions,and gives the realization method of automatic evaluation module of program design questions,the goal and principle of evaluation,the requirement of test data,and the realization method of static evaluation. The method of syntax error detection and the realization method of automatic evaluation of running results are also given in this paper. The technology of review is general and can be applied to automatic review in C language,C++ language and Java language.
Keywords:programming questions;online evaluation;static evaluation;C language
参考文献:
[1] 林宁,左悦. 基于Linux 的C 语言编程题在线评分平台的搭建 [J]. 福建电脑,2018,34(9):45-46.
[2] 何文广,周珂,熊刚强,等.VB.NET 程序设计题动态评阅技术研究 [J]. 实验室研究与探索,2017,36(11):122-125.
[3] 刘悦芳. 依据程序依赖关系匹配度的C 语言程序设计题评分方法 [J]. 电子技术与软件工程,2019(1):238.
作者简介:林宁(1981-),男,汉族,广西北流人,讲师,硕士,研究方向:软件理论与应用、信号与信息处理、算法分析。