检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]广东医科大学信息工程学院,广东湛江524023
出 处:《实验室研究与探索》2017年第11期122-125,共4页Research and Exploration In Laboratory
基 金:广东省高等教育教学改革项目(粤教高函[2016]260);2015年度广东医科大学教育教学研究课题(201530)
摘 要:程序设计题的自动评阅能有效地辅助教师灵活开展实验教学,进而提升教学质量。针对传统动态评阅方法在处理人机交互和获取控件句柄方面存在的不足,设计和实现了一种基于代码预处理和代码嵌入式的新型动态评阅方法。该方法包含代码预处理、代码嵌入、编译运行和结果评阅等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.
关 键 词:程序设计 动态评阅 代码预处理 代码嵌入功能检测
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15