Automatic Clustering Of Different Solutions To Programming Assignments In Computing Education
PROCEEDINGS OF THE ACM CONFERENCE ON GLOBAL COMPUTING EDUCATION (COMPED '19)(2019)
Abstract
A computer programming assignment may have various solutions, and extracting them is of great significance for both teaching and learning. However, it could be challenging for instructors and students to identify the differences between those solutions if they are on a large scale. Since code similarity is of vital importance in identifying the differences between solutions, we review previous researches on code similarity and design a neural network-based algorithm for detecting the similarity between codes in a pair as well as identifying the features that have a big impact on code similarity. Then we develop a clustering algorithm based on code similarity that can automatically generate clusters for all correct solutions to a given programming assignment. Our experiment demonstrates that the clustering algorithm can successfully obtain distinctive clusters in our dataset. Our analysis of typical solutions can provide inspirations for instructors and students.
MoreTranslated text
Key words
code clustering, code similarity, neural network, programming education
AI Read Science
Must-Reading Tree
Example
![](https://originalfileserver.aminer.cn/sys/aminer/pubs/mrt_preview.jpeg)
Generate MRT to find the research sequence of this paper
Chat Paper
Summary is being generated by the instructions you defined