Design and Implementation of an Automatic Grading System for Programming Code Based on Artificial Intelligence

This paper proposes an automatic grading system for programming code based on artificial intelligence, aiming to improve the efficiency and accuracy of grading programming assignments. The system “Semantic-Structure Fusion Scoring Algorithm” (SSFS) combines code semantic understanding and structural analysis to accurately evaluate code quality. In terms of semantic understanding, natural language processing technology is used to convert the code into semantic vectors to capture the logical meaning of the code; structural analysis uses abstract syntax trees to analyze the integrity and standardization of the code structure. The experiment selected 1,000 programming assignments of different difficulty levels, covering a variety of programming languages. The results show that the average similarity between the SSFS algorithm score and the professional teacher score reached 93%, which is 25% higher than the traditional scoring algorithm based on keyword matching. The system scoring takes an average of only 3 seconds, which is much more efficient than manual scoring. At the same time, for assignments of different difficulty levels, the scoring accuracy is maintained above 90%, which fully verifies the effectiveness of the system and algorithm, and provides an efficient and reliable solution for programming teaching and evaluation.

Authors

Institutions

Publication Details

Published
2025-06-28
DOI
https://doi.org/10.1109/icipca65645.2025.11139057
Primary Topic
Educational Technology and Assessment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and Implementation of an Automatic Grading System for Programming Code Based on Artificial Intelligence

Guolin Jiang
Educational Technology and Assessment
article

Design and Implementation of an Automatic Grading System for Programming Code Based on Artificial Intelligence

Guolin Jiang
article en

Abstract

This paper proposes an automatic grading system for programming code based on artificial intelligence, aiming to improve the efficiency and accuracy of grading programming assignments. The system “Semantic-Structure Fusion Scoring Algorithm” (SSFS) combines code semantic understanding and structural analysis to accurately evaluate code quality. In terms of semantic understanding, natural language processing technology is used to convert the code into semantic vectors to capture the logical meaning of the code; structural analysis uses abstract syntax trees to analyze the integrity and standardization of the code structure. The experiment selected 1,000 programming assignments of different difficulty levels, covering a variety of programming languages. The results show that the average similarity between the SSFS algorithm score and the professional teacher score reached 93%, which is 25% higher than the traditional scoring algorithm based on keyword matching. The system scoring takes an average of only 3 seconds, which is much more efficient than manual scoring. At the same time, for assignments of different difficulty levels, the scoring accuracy is maintained above 90%, which fully verifies the effectiveness of the system and algorithm, and provides an efficient and reliable solution for programming teaching and evaluation.

Guangdong Industry Technical College (CN)
Openalex Percentile: Top 65%
Educational Technology and Assessment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.