期刊文献+

VB.NET程序设计题动态评阅技术研究 被引量:1

Research on the Dynamic Marking Technology for VB.NET Program
下载PDF
导出
摘要 程序设计题的自动评阅能有效地辅助教师灵活开展实验教学,进而提升教学质量。针对传统动态评阅方法在处理人机交互和获取控件句柄方面存在的不足,设计和实现了一种基于代码预处理和代码嵌入式的新型动态评阅方法。该方法包含代码预处理、代码嵌入、编译运行和结果评阅等4个环节,首先在代码预处理环节对学生程序进行功能替换,然后通过植入辅助代码和功能测试代码驱动程序运行并产生结果数据,最后根据保存在临时文件中的结果数据进行评定。实施结果表明,该方法很好地实现了程序的功能检测,能准确识别和处理编译失败以及运行出错或超时等问题,体现出良好的健壮性和正确性。 Automatic marking for VB. NET program is of great significance to liberate teachers' working and improve teaching quality. control ' s window overcome the deficiency of conventional dynamic marking in processing interaction and acquiring handle, a novel method based on code preprocessing and code embedding is designed and implemented in this paper. Four parts including code preprocessing, code embedding, compiling and running, result reviewing constitute this method. Firstly, function replacement is fulfilled on student's program during the code preprocessing. Then auxiliary code and function testing code are embedded to run and output result data. Finally, the program is evaluated by the resulting data from temporary file. Practical results indicate that the function detection for specified program can be well achieved by this method. Moreover, it can accurately identify and deal with problems such as compiling failure, runtime error, timeout and so on. This shows that the proposed method is robust and accurate.
出处 《实验室研究与探索》 CAS 北大核心 2017年第11期122-125,共4页 Research and Exploration In Laboratory
基金 广东省高等教育教学改革项目(粤教高函[2016]260) 2015年度广东医科大学教育教学研究课题(201530)
关键词 程序设计 动态评阅 代码预处理 代码嵌入功能检测 program design dynamic marking code preprocessing code embedding function detection
  • 相关文献

参考文献12

二级参考文献51

共引文献93

同被引文献2

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部