mlsanityData to 7 Oct 2026

Explaining Code Examples in Introductory Programming Courses: LLM vs Humans

arXiv 2403.05538 ↗First posted 9 Dec 2023cs.CY cs.HC cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Worked examples, which present an explained code for solving typical programming problems are among the most popular types of learning content in programming classes. Most approaches and tools for presenting these examples to students are based on line-by-line explanations of the example code. However, instructors rarely have time to provide explanations for many examples typically used in a programming class. In this paper, we assess the feasibility of using LLMs to generate code explanations for passive and active example exploration systems. To achieve this goal, we compare the code explanations generated by chatGPT with the explanations generated by both experts and students.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Dec 2023.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 1.

3 papers.