Generation of Code Tracing Problems From Open-Source Code

被引:3
|
作者
Sychev, Oleg [1 ]
Prokudin, Artem [1 ]
Denisov, Mikhail [1 ]
机构
[1] Volgograd State Tech Univ, Volgograd, Russia
关键词
learning problem generation; control flow statements; introductory programming;
D O I
10.1145/3545945.3569774
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
When developing automatic quizzing systems and intelligent tutoring systems, significant effort has to be spent on developing the problem bank. Question and problem generation is a field of study concerning automating this routine work. The two most common methods of problem generation are constrained random generation and template-based generation, but each of them has disadvantages. In this work, we study a possibility of generating code-tracing learning problems from existing open-source code. We generated a set of learning problems and evaluated their distinctness from human-authored problems and readiness for usage in the learning process. Both teachers and students showed the rate of determining machine-generated problems only slightly above random guessing. Teachers strongly agreed with the problems' relevance and agreed with their suitability for the learning process. Automatic labeling to filter desired problems for the assignment includes used concepts, possible errors during solving, and difficulty estimates. The studied type of learning problem required little additional data to add to the code; our further work will concern problem types with more dynamic data to overcome this limitation.
引用
收藏
页码:875 / 881
页数:7
相关论文
共 50 条
  • [1] Collecting Vulnerable Source Code from Open-Source Repositories for Dataset Generation
    Raducu, Razvan
    Esteban, Gonzalo
    Rodriguez Lera, Francisco J.
    Fernandez, Camino
    APPLIED SCIENCES-BASEL, 2020, 10 (04):
  • [2] Open-Source MATLAB Code for Hotspot Identification and Feeder Generation
    William E. Warriner
    Charles A. Monroe
    International Journal of Metalcasting, 2019, 13 : 793 - 816
  • [3] Open-Source MATLAB Code for Hotspot Identification and Feeder Generation
    Warriner, William E.
    Monroe, Charles A.
    INTERNATIONAL JOURNAL OF METALCASTING, 2019, 13 (04) : 793 - 816
  • [4] Flame simulations with an open-source code
    Dasgupta, Adhiraj
    Gonzalez-Juez, Esteban
    Haworth, Daniel C.
    COMPUTER PHYSICS COMMUNICATIONS, 2019, 237 : 219 - 229
  • [5] ONIX: An open-source depletion code
    de Lanversin, J. de Troullioud
    Kuett, M.
    Glaser, A.
    ANNALS OF NUCLEAR ENERGY, 2021, 151
  • [6] An open-source multiphysics simulation code for coupled problems in porous media
    Wilkins, Andy
    Green, Christopher P.
    Ennis-King, Jonathan
    COMPUTERS & GEOSCIENCES, 2021, 154
  • [7] NumCalc: An open-source BEM code for solving acoustic scattering problems
    Kreuzer, Wolfgang
    Pollack, Katharina
    Brinkmann, Fabian
    Majdak, Piotr
    ENGINEERING ANALYSIS WITH BOUNDARY ELEMENTS, 2024, 161 (157-178) : 157 - 178
  • [8] Open-source license comes to 'code morphing'
    Myrvaagnes, R
    ELECTRONIC PRODUCTS MAGAZINE, 2001, 43 (10): : 23 - 23
  • [9] NATURALCC: An Open-Source Toolkit for Code Intelligence
    Wan, Yao
    He, Yang
    Bi, Zhangqian
    Zhang, Jianguo
    Sui, Yulei
    Zhang, Hongyu
    Hashimoto, Kazuma
    Jin, Hai
    Xu, Guandong
    Xiong, Caiming
    Yu, Philip S.
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 149 - 153
  • [10] TagNN: A Code Tag Generation Technology for Resource Retrieval from Open-Source Big Data
    Zeng, Lingbin
    Guo, Xin
    Yang, Cheng
    Lu, Yao
    Li, Xiao
    WIRELESS COMMUNICATIONS & MOBILE COMPUTING, 2021, 2021