摘要
C语言程序设计是一门公共必修课,课程作业多,教师批改压力大,且易受主观影响,造成较大误差。因此,使用PHP技术与MYSQL数据库,构建一个基于B/S结构的C语言作业自动评测系统,利用相似度匹配算法与正则表达式的结合实现程序的过程评分,加上编译评分与结果评分,最终实现程序作业的自动评分。
C language programming is a public compulsory course with many course assignments, great pressure on teachers to correct, and easy to be affected subjectively, resulting in large errors. Therefore, we use PHP technology and MySQL database to build an automatic evaluation system of C language job based on B/S structure. We use the combination of Similarity matching algorithm and regular expression to realize the process score of the program, plus the compilation score and result score, and finally realize the automatic score of the program job.
作者
王猛
WANG Meng(Engineering Training Center of Inner Mongolia University of Science and Technology,Baotou 014010,China)
出处
《电脑与信息技术》
2022年第4期41-43,49,共4页
Computer and Information Technology
基金
“内蒙古科技大学”重点校级教改项目(项目编号:JY2019004)。
关键词
自动评测
B/S结构
相似度匹配算法
正则表达式
automatic evaluation
B/S structure
Similarity matching algorithm
regular expression