摘要 |
PURPOSE: A method and a system for grading program in real time is provided to enable a user to send a solution file on questions, compile the solution file and grade the solution in real time. CONSTITUTION: The method comprises steps of a web server receiving question information and a solution file from a user(S1201), the web server extracting a pair of input data and output data, and a limit time corresponding to the question number from a grading table(S1203), the web server sending the pair of the input data and the output data, and the time limit to a grading server(S1205), the grading server checking a file receiving error to the solution file(S1207), the grading server checking a virus on the received file(S1209), the grading server compiling the solution file according to a usage language(S1211), the grading server grading the compiled file by real time by using the input data and the output data(S1213), the grading server sending the grading the result to the web server(S1215), and displaying the scoring result or the error message on an individual directory screen(S1217).
|