Font Size: a A A

The Research And Implementation Of Automatic Scoring System Of VB Programming Problem Based On Windows API

Posted on:2012-08-09Degree:MasterType:Thesis
Country:ChinaCandidate:C Y ZhangFull Text:PDF
GTID:2178330335955565Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Presently, the paperless examination has become a trend, at the same time, a series of new issues have emerged, including the study of automation marking technology for programming problem in programming language. The implementation of automation marking technology for programming problem in the examination of programming language is one of the key issues which must be resolved in the paperless examination. The automation marking technology has become a hotspot and difficulty. There already were some programming languages on the examination systems at home, most of them are for multiple-choice, blank-filling and procedure-improving. It can be said that the technology which is for objective questions or operation-limited subjective questions is already mature. But for the programming problem which is very subjective, there is no particularly good approach and mature technology. This topic is put forward to solve the difficult problem of scoring programming problem scoring, with important theoretical and practical significance.This article first researches and analyzes the status and the background of the automatic scoring system of VB programming problem, and then studies the API functions, Windows message mechanism, inter-process communication and string matching algorithms in depth; this paper simulates the thinking process of manual marking, uses the method, which combines dynamic marking and static marking, to assess the event code of the function and statically evaluate the form design of student programs. This paper has given the solutions and design ideas of the automatic scoring system of VB programming problem, it uses API Hook to record the message,which is triggered by a man operator, when the standard answer program is in the run-time, and during dynamic scoring, it compiles and runs the program for students with the VB 6.0,and sends the message recorded to student program that is running to drive student program to run automatically, it uses the output code to output the results of actual runs of student program to the designated file, and matches the results with the results of actual runs of the standard answer; in static scoring, it is for the form message matching,the control message matching in form, key words matching and scoring matching, and it calculates the score, according to the different weight of each part. Finally, it develops an automatic test scoring system for a VB testing on the machine.Preliminary results show that:the automatic scoring system of VB programming problem based on Windows API can give an accurate score, and it is stable, and has smaller scoring errors.
Keywords/Search Tags:Windows API, Windows Message Mechanism, String Matching, Automatic Scoring
PDF Full Text Request
Related items