Automating Program Structure Classification

01/15/2021
by   Will Crichton, et al.
0

When students write programs, their program structure provides insight into their learning process. However, analyzing program structure by hand is time-consuming, and teachers need better tools for computer-assisted exploration of student solutions. As a first step towards an education-oriented program analysis toolkit, we show how supervised machine learning methods can automatically classify student programs into a predetermined set of high-level structures. We evaluate two models on classifying student solutions to the Rainfall problem: a nearest-neighbors classifier using syntax tree edit distance and a recurrent neural network. We demonstrate that these models can achieve 91 explore the generality, trade-offs, and failure cases of each model.

READ FULL TEXT
research
06/28/2022

InvAASTCluster: On Applying Invariant-Based Program Clustering to Introductory Programming Assignments

Due to the vast number of students enrolled in Massive Open Online Cours...
research
03/22/2021

ast2vec: Utilizing Recursive Neural Encodings of Python Programs

Educational datamining involves the application of datamining techniques...
research
11/15/2020

Model-Driven Synthesis for Programming Tutors

When giving automated feedback to a student working on a beginner's exer...
research
03/25/2023

GPT is becoming a Turing machine: Here are some ways to program it

We demonstrate that, through appropriate prompting, GPT-3 family of mode...
research
06/02/2021

Automatic Assessment of the Design Quality of Python Programs with Personalized Feedback

The assessment of program functionality can generally be accomplished wi...
research
05/03/2022

From Solution Synthesis to Student Attempt Synthesis for Block-Based Visual Programming Tasks

Block-based visual programming environments are increasingly used to int...
research
10/27/2021

Play to Grade: Testing Coding Games as Classifying Markov Decision Process

Contemporary coding education often presents students with the task of d...

Please sign up or login with your details

Forgot password? Click here to reset