# Automatic Generation of Programming Exercises

arXiv: https://arxiv.org/abs/2205.11304 · HTML: https://mlsanity.com/paper/2205.11304/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 23 May 2022.

## Built on by (most cited first, 1 of 1)

- [Evaluating Contextually Personalized Programming Exercises Created with Generative AI](https://mlsanity.com/paper/2407.11994/) (2024)

## Abstract (arXiv)

Massive training of developers following the growing demands of the information technology industry requires teachers to automate their repetitive tasks. For training courses on programming, it is promising to use automatic generation and automatic grading of exercises that require a student to write a program. This article discusses the general scheme for constructing a programming exercises generator and identifies two classes of exercises, the generation of which can be automated: converting notation into code and converting data formats. Several examples of programming exercise generators are discussed. The experience of using exercise generators for the Python programming course is briefly described.
