Font Size: a A A

The Research And Implementation Of The Technique Of Grading Program Automatically

Posted on:2008-07-20Degree:MasterType:Thesis
Country:ChinaCandidate:S Q SheFull Text:PDF
GTID:2178360215985046Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In computer-examinations, the technique of grading program automatically is a very valuable application and a pivotal technique for implementing online exam. There are many ways to implement a function by program so drawing the standard answer becomes complex. Moreover, even if the standard answer is achieved, another case that student's program may be partially correct when it doesn't match the answer must be taken into account.Many experts and scholars are bending themselves to find an interim form and attempt to use such a form to denote the standard answer. When the form is found, student's codes will be transformed in the same way. And finally match the two items to get a degree for grading. People find that a system depending graph is a nicer choice of the middle form so that many auto-checking systems and literatures have been mentioned.This paper uses regular expressions to denote such middle forms and simulate the characteristic of manual work. Regular expressions are used to describe the score points. Searching these score points can obtain a match results which can be used to grade the student's program. Furthermore, error quantity is counted by lexical analyzing and parsing in this paper. Some useful methods for avoiding illusive error information are pointed out in this paper in the process of syntax error checking.Using the method mentioned in this text to auto-checking programs can obtain a similar result as manual checking.
Keywords/Search Tags:auto-checking, C language, regular expression, grammar, synchronized token
PDF Full Text Request
Related items