Automatic Generation of Fill-in-the-Blank Programming Problems
Automatic Generation of Fill-in-the-Blank Programming Problems
复制标题
DOI:
10.1109/mcsoc.2019.00034
复制
发表时间:
2019-10
期刊:
影响因子:
--
通讯作者:
Kenta Terada;Y. Watanobe
中科院分区:
文献类型:
--
作者:
Kenta Terada;Y. Watanobe
In solving programming problems, it is difficult for beginners to create program code from scratch. One way to navigate this difficulty is to provide a programming problem to them which takes a fill-in-the-blank format. In this work, we propose a method to automatically generate programming problems that has two key constituents, selection of exemplary source code and selection of places to be blanks. In terms of selecting exemplary source code, k-means clustering with silhouette analysis in the Online Judge System (OJ) is proposed. Regarding the selection of places to be blanks, a model based on a bidirectional Long Short-Term Memory Network (Bi-LSTM) with a sequential Conditional Random Field (CRF) is proposed. We discuss evaluation of the proposed approach in the context of how fill-in-the-blank programming problems are generated.