arrow
Return

Mass Generation of Programming Learning Problems from Public Code Repositories

delete2025-02-28
delete0
delete
OA
AI
O
Oleg Sychev *
D
Dmitry Shashkov
DOI:10.3390/bdcc9030057delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We present an automatic approach for generating learning problems for teaching introductory programming in different programming languages. The current implementation allows input and output in the three most popular programming languages for teaching introductory programming courses: C++, Java, and Python. The generator stores learning problems using the meaning tree, a language-independent representation of a syntax tree. During this study, we generated a bank of 1,428,899 learning problems focused on the order of expression evaluation. They were generated in about 16 h. The learning problems were classified for further use with the used concepts, possible domain-rule violations, and required skills; they covered a wide range of difficulties and topics. The problems were validated by automatically solving them in an intelligent tutoring system that recorded the actual skills used and violations made. The generated problems were favorably assessed by 10 experts: teachers and teaching assistants in introductory programming courses. They noted that the problems are ready for use without further manual improvement and that the classification system is flexible enough to receive problems with desirable properties. The proposed approach combines the advantages of different state-of-the-art methods. It combines the diversity of learning problems generated by restricted randomization and large language models with full correctness and a natural look of template-based problems, which makes it a good fit for large-scale learning problem generation.
Keywords:
learning problem generation
introductory programming learning
artificial intelligence
programming languages
expressions

Journal

B
Big Data and Cognitive Computing
IF:
4.4
Papers:
1.3K
Citations:
2.4K

Organization

V
Volgograd State Technical University
Scholars:
336
Papers: 125
Citations: 36