NotesFAQContact Us
Collection
Advanced
Search Tips
Back to results
Peer reviewed Peer reviewed
ERIC Number: ED655912
Record Type: Non-Journal
Publication Date: 2024-Feb-26
Pages: 11
Abstractor: As Provided
ISBN: N/A
ISSN: N/A
EISSN: N/A
Available Date: N/A
Explaining Code Examples in Introductory Programming Courses: LLM vs Humans
Grantee Submission, Paper presented at the Workshop on AI for Education - Bridging Innovation and Responsibility at AAAI (Vancouver, Canada, Feb 26-27, 2024)
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. [This paper was published in: "Proceedings of Machine Learning Research" (2024).]
Publication Type: Speeches/Meeting Papers; Reports - Research
Education Level: N/A
Audience: N/A
Language: English
Sponsor: Institute of Education Sciences (ED); National Science Foundation (NSF)
Authoring Institution: N/A
Identifiers - Assessments and Surveys: Flesch Reading Ease Formula
IES Funded: Yes
Grant or Contract Numbers: R305A220385; 1822816; 1822752
Author Affiliations: N/A