Font Size: a A A

Design And Implementation Of Interactive Teaching Platform For C Language Based On Web

Posted on:2018-07-14Degree:MasterType:Thesis
Country:ChinaCandidate:K H ZhangFull Text:PDF
GTID:2348330518499370Subject:Engineering
Abstract/Summary:PDF Full Text Request
C language programming courses is an introductory course in computer science and related courses.It is very important for beginners,and the learning of C language programming needs to combine theory and practice.Currently there are two problems need to be solved in C language teaching.First,the compiler environment is diverse and complicated which brought troubles to beginners.The beginners are not similar to the process of executing code by computer,and the abstract code seriously affects the understanding of program execution.Second,there are a large amount of solutions in a simple programing exercise.The different solutions are valuable resources to teachers,such as typical mistakes.So it is important to understand the differences between codes and provide feedback to students in C language teaching.We propose a C language interactive teaching platform based on Web to solve the above problems.The main work of this thesis are as follows:1.We proposed an online interactive C language integrated development environment based on Web.The integrated development environment has achieved the code editing,compiling,running and debugging functions.The compiler environment can remove the code incompatibility caused by the development environment.And it makes students pay more attention to programing language rather than development environment.Online development environment does not need to download and install development tools,and students can directly learn programing through the Internet,which has improved the efficiency of teaching environment deployment.2.We proposed a classification algorithm for C,and the time complexity is O(n).Firstly,we achieve preliminary classification according to the similarity of function call relationship;and then rename the variable;finally,we take the similarity calculation for second classification to complete the classification.Through the classification algorithm,the high similarity codes are fall into one class,and the codes with great differences are fall into different classes.It makes the teacher save a lot of repetitive works,and it is easier for teachers to extract thesimilarity and difference between codes.The algorithm has format code and rename the variables,and it unified code partitioning and variable name rules,which have improved the readability of the code and reduce the difficulty of code reading.We have a test on the actual C language teaching data.The test shows that the algorithm achieves good classification effect,and the classification result and the manual classification result are in high degree of coincidence.3.We proposed a C language interactive teaching platform combined online C language integrated development environment with a classification algorithm for C.We have achieved design and implement of the platform.The experiment shows that the platform exerts a better results of online integrated development environment and C language code classification algorithm,which is conducive to the learning and teaching of C language courses.The C language online teaching platform we proposed has a broad application and prospect.The platform not only realized the online programming environment,and it removes the confusion of different development environment.It also implements the code classification algorithm,and it helps teachers to correct homework and extract useful teaching resources,which have improved the teaching efficiency.
Keywords/Search Tags:Teaching platform, C language, Online programing, Code classification algorithm
PDF Full Text Request
Related items