Automatic Grading Method for Programs with Syntax Error——via Local Syntax Analysis and Key Point Matching

王倩,苏小红,马培军
DOI: https://doi.org/10.3778/j.issn.1002-8331.2010.17.068
2010-01-01
Computer Engineering and Applications Journal
Abstract:The programs having errors in syntax submitted to some programming examination automatic grading systems can only be given zero point.To solve this problem,which is not coincided with the habit of artificial test paper marking,an automatic grading method called key point matching is provided to tolerate syntactic errors.This method divides the student programs into basic sentence pieces and transforms every basic sentence piece or each key sentence marked in template programs to a syntax tree to do a local syntax analysis for the following key point matching.This paper focuses on the accurate expressions of specific basic syntactic and semantic points in student programs and enhances the performance of the grading system to be in accord with the idea of manual grading better.
What problem does this paper attempt to address?