The programs having syntax errors submitted to some programming examination automatic scoring system would be only given zero point, the result is not coincided with the habit of artificial test paper marking. In order to solve this problem, an automatic grading algorithm which based on the theory of compiler theory is provided. The algorithm gave a method which combined dynamic marking and static marking, and the static marking achieved with matched key knowledge points. According to the experiment, the algorithm has accuracy of remarking and some valuable domains of application.
展开▼