| The teaching of secondary vocational schools focuses on the process of teaching,and the course C programming offered by secondary vocational schools pays more attention to the process of teaching and learning."C program design" is a highly operational discipline,in the teaching process to focus on computer practice.The traditional scoring algorithm of programming questions only adopts the result of running,which ignores the process of programming questions,and the score result is either zero or full mark.Due to the bipolarity of scoring results in the traditional scoring algorithm of programming questions,the scoring rate of programming questions is reduced."C programming" is more about cultivating students’ programming ability.Under such demand,how to change paper exam into paper exam + computer exam is extremely important.In order to achieve such a combination we must improve the programming problem scoring algorithm rationality.In order to enhance the rationality of programming problem scoring algorithm,it is necessary to consider the process of programming problem in scoring.The attributes related to coding process include the number of syntax errors,statement type,code similarity,etc.In this paper,the scoring algorithm of programming questions is based on the number of grammar errors,running results,statement types,and code similarity.These four attributes highlight not only the result ability of programming questions,but also the procedural nature of programming questions.Moreover,these four attributes are also the main scoring basis in manual marking.This scoring algorithm,which considers both the result and the process,is more suitable for the scoring of programming questions and more conducive to the combination of paper examination and computer examination in the course assessment of C programming in secondary vocational schools.The author applies the intelligent scoring algorithm of programming questions studied in this paper to the examination of C programming course in secondary vocational school.In the first semester of 2019,the computer major of the first grade of secondary vocational school took four computer tests on programming questions and applied the scoring algorithm studied in this paper.Each test will give feedback on the scores of each part of the student’s test.Through this information,teachers can understand the problems of each student in programming,and then make teaching adjustment.Students can know the problems in their programming through this information,and then learn and improve.The problems in programming of the students in the four times programming test are decreasing gradually.Compared with the traditional scoring algorithm,the score of students’ programming problems is increasing. |