滨州学院学报
濱州學院學報
빈주학원학보
JOURNAL OF BINZHOU UNIVERSITY
2012年
3期
96-99
,共4页
自动评分%Java反射机制%正则表达式%XML
自動評分%Java反射機製%正則錶達式%XML
자동평분%Java반사궤제%정칙표체식%XML
:automatic grading%Java reflection mechanism%regular expressions%XML
针对传统的编程题自动评分方法没有考虑如何检测考生编程思想以及现有的基于程序理解与基于语义分析模型实现难度大且灵活性差等问题,提出一种基于Java反射机制的采分点匹配技术.评分过程注重动态测试与考生程序的内部结构分析相结合,采用Java反射机制原理与正则表达式匹配的方法进行评分.实验证明评分系统运行稳定,评分结果与人工评分大致相符且具有较好的灵活性.
針對傳統的編程題自動評分方法沒有攷慮如何檢測攷生編程思想以及現有的基于程序理解與基于語義分析模型實現難度大且靈活性差等問題,提齣一種基于Java反射機製的採分點匹配技術.評分過程註重動態測試與攷生程序的內部結構分析相結閤,採用Java反射機製原理與正則錶達式匹配的方法進行評分.實驗證明評分繫統運行穩定,評分結果與人工評分大緻相符且具有較好的靈活性.
침대전통적편정제자동평분방법몰유고필여하검측고생편정사상이급현유적기우정서리해여기우어의분석모형실현난도대차령활성차등문제,제출일충기우Java반사궤제적채분점필배기술.평분과정주중동태측시여고생정서적내부결구분석상결합,채용Java반사궤제원리여정칙표체식필배적방법진행평분.실험증명평분계통운행은정,평분결과여인공평분대치상부차구유교호적령활성.
As for the problem that traditional method of the program automatic grading doesn't con- sider how to detect candidates' programming ideas,as well as the existing models which based on pro- gram understanding and based on semantic analysis are not only difficult to realize but also non-flexible, the key points matching technology is put forward based on Java reflection mechanism. The paper pays attention to the combination of the dynamic test with the programs' internal structure analysis, and by the method of Java reflection mechanism and regular expression to match a score is given. Experimental results show that the system is stable, and the results are consistent with the manual grading, and it also has good flexibility.