Journal of Chuxiong Normal University ›› 2024, Vol. 39 ›› Issue (3): 116-122.

• Computer Science • Previous Articles     Next Articles

Automatic Grading System for Excel Manipulation Questions Based on Office Open XML

LI Yuxiang1, YANG Qingkun2, ZHANG Lei3   

  1. 1. Beipu Middle School, Chuxiong, Yunnan Province 675000;
    2. Chuxiong Teachers Training Center, Chuxiong, Yunnan Province 675000;
    3. Institute of Educational Physical Education Science of Chuxiong Yi Autonomous Prefecture, Chuxiong, Yunnan Province 675000
  • Received:2023-12-18 Online:2024-05-20 Published:2024-06-05

Abstract: Excel automated grading systems for problem-solving questions often rely on RTF and VBA approaches, but their effectiveness is far from satisfactory. To address this issue, a method based on the Office Open XML format and Python language, utilizing open-source libraries such as Openpyxl, Element Tree, along with custom classes for Excel file parsing, has been proposed. This method presents a summary of common tags and their functions in the Spread sheet ML markup language of the Office Open XML format. Furthermore, an automated grading workflow is designed, which is divided into three stages: format parsing, format saving, and format comparison for quantitative scoring. The format parsing stage is further broken down into two steps-Openpyx l parsing and Element Tree parsing-that can effectively address custom error handling during parsing. Testing demonstrated that this method enables reliable automated grading of Excel 2010 problem-solving questions.

Key words: Office Open XML, Excel manipulation question: automatic grading

CLC Number: