The invention discloses a semantic understanding and structured modeling combined student
programming answer prediction method, which comprises the following steps: collecting student
programming homework data, preprocessing to obtain a data sample, and translating to obtain an English
feature set; performing
fine tuning on the pre-trained semantic understanding model by using low-rank
adaptation, constructing input features, and predicting an answer correct probability; performing graph neural network structured modeling based on the association relationship between the question and the concept, performing
message propagation and feature updating to obtain an embedded set, fusing the embedded set and student embedding, and inputting the fused embedded set and student embedding into a prediction layer to obtain the probability of answering the question by the student; and fusing the
question answering correct probability and the
question answering probability of the student, inputting the fused result into a multi-layer
perceptron for nonlinear mapping, and predicting the
question answering correct probability. The problems that in
programming knowledge tracking, non-standardized codes submitted by students are difficult to effectively process, topic text semantic understanding is insufficient, and prediction precision is low are solved, and a scientific basis is provided for personalized teaching and
learning resource scheduling.