Font Size: a A A

The Research And Implementation Of Java Programs Automatic Grading Technology

Posted on:2014-04-01Degree:MasterType:Thesis
Country:ChinaCandidate:Y E ZhengFull Text:PDF
GTID:2298330422490055Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In computer programming language examination, the automatic gradingtechnology of programs is still not perfect, it is the key and difficult to realize thecomputer online test and automatic grading, so many researchers are trying to find amiddle form (such as PMD or abstract syntax tree) for source code analysis andmatch to give a score. However, this method is to manipulate the program as a wholeto compare, it has not only the high memory usage but also difficulty to realize andloses flexibility.This paper fuses program error checking and partial correction techniques, blackbox testing techniques based on reflection mechanism, regular expression matchingand grading techniques for knowledge points to achieve Java programming questionsautomatic grading technologies and prototype systems. The way of grading takesinto account the dynamic test of executable code and static analysis of source code,and uses the following two grading methods for different examine programs:1.As the examinee program can pass compiling, it uses Java reflection mechanismto extract the related information of examinee programs for black box testing andthen give a test point, combines with the grammar point and running results point tocalculate a total score.2.As the examinee program will not pass compiling, it uses the compiler of thelocal jdk package to compile the examinee program, and then checks errors andmakes partial correction, once corrects an error should be recompiled it to eliminatefalse errors. If the examinee program can smoothly pass compiling after correcting,it uses the first method to calculate score. If the examinee program can not correct,then it abandons correction and properly gives grammar points according to the kindof errors, combines with the matching of knowledge points to calculate a total score.Experimental results show that the Java programming questions automatic gradingtechnologies which achieve in this paper, improve the reasonableness and accuracyof questions grading process, and have good flexibility...
Keywords/Search Tags:reflection mechanism, regular expression, XML, program errorchecking, partial correction
PDF Full Text Request
Related items