摘 要:在C程序設計語言考試中為了解決定位難、一題多解和對于主觀題沒有統一的評價標準的情況,對考試系統中客觀題和程序題的評分方法進行了研究。在比較結果的評分基礎上,引入了XML結構的答案庫,以及使用了黑盒測試方法與抽取骨架的方法,成功地解決了上述問題。在設計系統的過程中,十分注重軟件的實用性。該系統設計成功后,通過在小范圍內使用,初步實驗結果證明自動評分模塊運行穩定,評分標準能夠統一。關鍵詞:定位;黑盒測試; 骨架法; 日志
中圖分類號:TN911-33;G420 文獻標識碼:B
文章編號:1004-373X(2010)16-0130-03
Auto-scoring System of C Language Exam Based on XML Structure
LI Fu-xing,NIU Yong-jie
(Computing Center, Yan’an University, Yan’an 716000,China)
Abstract: Along with the improvement of social information degree, computer training is developed rapidly, traditional hand-scoring in examination uses computer auto-scoring. In the C programming language examination, the objective questions are difficult to position and one problem with many solutions, the subjective questions have non-uniform evaluation standard. The scoring method of objective questions and program problems in test system is studied. The answer database of XML structure, the use of black-box test method and the skeleton extraction method are used on the basis of scoring of results comparison to solve the problems. The test results prove that the auto-scoring module runs stable, thescoring criteria can be unified.
Keywords: position; black box testing; skeleton method; log
0 引 言
目前,很多高校都開設了計算機語言程序設計課程,在考試中,使用人工進行閱卷既費時、費力且容易出錯。于是,針對計算機語言程序設計的自動評分系統就被應運而生。濟南大學計算機工程學院的喬善平等人在《基于智能移動Agent的C語言考試系統》中提出了從人工智能中可信度的角度引入執行可信度、程序最大相似性、代碼可信度、指數曲線衡量標準和輸出可信度等幾個新的概念,然后分析了實現的過程。并且將整個程序的設計分為幾個部分執行、代碼、輸出和其他因素。使之存在偏序和制約關系,以實現自動評分[1]。但是在實際的使用過程中,自動評分系統[2]也存在很多問題,不能客觀、真實地評價一個考生的真實答題情況。主要存在的問題主要如下:
C語言程序設計考試的題型主要分為改錯題、填空題、編程題等類型,在C語言的程序設計考試中,改錯題與填空題可以歸為客觀試題的范疇,而編程題可以歸為主觀題的范疇?!?br>