Font Size: a A A

Research And Implementation Of Programming Error Guided Repair Method Based On Crowd Learning Behavior Data

Posted on:2021-11-02Degree:MasterType:Thesis
Country:ChinaCandidate:Q ZhangFull Text:PDF
GTID:2507306548494374Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
The emergence of online education has created a new teaching mode,and at the same time has provided more choices for learners.Through online education,learners can no longer be restricted by time and place.As long as there is a network,they can learn anytime,anywhere.The education platform covers a variety of teaching subjects,and teaching videos can be found in almost all subjects.The arrival of the information age has dramatically increased the demand for programmers in the society.Programming has become a popular learning subject.Today’s online programming education mainly includes three modes,namely text,video and online programming.These three modes can Provide learners with relevant knowledge points to explain,but programming is a highly practical subject.If you can’t write code by yourself,you will not really grasp the knowledge points.Errors cannot be avoided during programming.Modifying program errors will take a lot of time and effort.For programming learners,due to weak foundation and lack of programming experience,incorrect debugging and modification is more difficult.When students are studying in the online education platform,they are not face-to-face with the teacher,and sometimes they are not synchronized in time.As a result,when the student program fails,the existing online programming education platform cannot provide students with timely and targeted Repair instructions.Therefore,providing timely and accurate repair instructions for students in online programming education is an urgent problem.Based on the historical programming data of students in the Educoder online programming education platform,this article has provided personalized repair guidance for students.The main work and contributions are as follows:First,a personalized guidance repair framework was designed.When a student program error occurs,two options are provided for the students.One is the teaching page of the knowledge points involved in the error.The students enter this page to learn the knowledge points that they do not master.The second is to repair the code.You can directly view the repair code.This personalized guidance repair system focuses on letting students understand where their mistakes are,and checking for missing knowledge points to fill in gaps to improve student learning.Second,the grammatical programming error is fixed.Through the processing of student historical programming data in the Educoder platform,the specific error code sentence,program modification code sentence and compiler error information in the student error program are extracted,and then the loop is matched to find the repair code of the error sentence.Third,the classification of knowledge points to which programming errors belong is realized.When the error code finds the corresponding repair code,it compares the component template of the error code and the repair code through the code component segmentation and component template to get the error component,locate the position of the error component in the code after repair,and repair the code.The fragment is put into the original program framework,and then the code fragment that complies with the grammar rules is extracted.In this code fragment,the repair code sentence is located.Finally,the code fragment is generated into an abstract syntax tree,the syntax tree nodes are traversed,and the error component is accessed.When the position is repaired,the name of the grammatical structure,that is,the grammatical knowledge points involved in the error code is output,thereby completing the classification of the knowledge point to which the error belongs.This article has designed a personalized programming error repair guidance framework.The implementation process of this framework includes two parts:programming error repair and the classification of knowledge points to which programming errors belong.Through personalized programming error repair guidance,students are provided with students’ programming errors.Provide repair directions to improve students’ programming learning efficiency.
Keywords/Search Tags:programming error repair, programming error classification, personalized programming repair guidance
PDF Full Text Request
Related items