“…The problem of generating test paper is expressed as a five tuple, which corresponds to the attributes of each question, including subjects, contents, knowledge points, difficulties, etc. [20]. It is a set of finite variables, V = {v 1 , v 2 , ⋯, v n }; L corresponds to the range of each attribute, which is a finite number set, L = {l 1 , l 2 , ⋯, l n }; S corresponds to the constraint of each attribute and is a set of finite rules, S = {s 1 , s 2 , ⋯, s n }; R corresponds to the user's constraint relation, which is a finite rule set, R = {r 1 , r 2 , ⋯, r n }; C indicates that the test questions selected from the test library to meet the various constraints are a sequence of questions, C = {c 1 , c 2 , ⋯, c n }.…”