基于代码编程规范的在线评测系统研究与实现  被引量:2

Research and implementation of online judge system based on code programming specification

在线阅读下载全文

作  者:李菊 傅向华 马军超 Li Ju;Fu Xianghua;Ma Junchao(School of Big Data and Internet,Shenzhen University of Technology,Shenzhen,Guangdong 518000,China)

机构地区:[1]深圳技术大学大数据与互联网学院,广东深圳518000

出  处:《计算机时代》2023年第1期62-65,共4页Computer Era

基  金:2020年广东省高等教育教学改革项目“应用型大学计算机基础课程改革探索”(2021015666604002);教育部高等教育司产学合作协同育人项目“新工科背景下的大数据实验室建设”(202002299020);深圳技术大学自制实验仪器设备基金资助项目(JSZZ202102006)。

摘  要:高校的C++、C、Java、Python等计算机语言类课程的实验均使用在线评测系统完成,目前该系统只能对正确性进行判别,无法对代码的规范性进行判别,这会导致学生代码规范意识淡,代码质量差。基于代码编程规范的在线评测系统,在保证原评测系统功能的基础上,使用一种静态检测方法,对学生提交的源代码进行代码规范符合性检测。实验结果表明,本系统能较快速、稳定、全面有效的检测出代码的规范性问题。Experiments of computer language courses such as C++,C,Java,and Python in universities are completed on the online judge system.At present,the system can only judge the correctness,but cannot judge the code specification,which can lead to the weak awareness of code specification and poor code quality of students.On the basis of ensuring the function of the original system,an online judge system based on code programming specification is designed,which uses a static detection method to detect the code specification compliance of the source code submitted by students.The experimental results show that the system can detect the code specification problems quickly,stably,comprehensively and effectively.

关 键 词:代码规范 代码质量 在线测评系统 静态检测 

分 类 号:G434[文化科学—教育学] TP391[文化科学—教育技术学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象