A High-Quality Generation Approach for Educational Programming Projects Using LLM
- 15 November 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Learning Technologies
- Vol. 17, 2242-2255
Abstract
High-quality programming projects for education are critically required in teaching. However, it is hard to develop those projects efficiently and artificially constrained by the lecturers' experience and background. The recent popularity of Large Language Models (LLMs) has led to a great number of applications in the field of education, but concerns persist that the output might be unreliable when dealing with intricate requirements. In this study, we design a customized role-based agent (CRBA), which can be configured for different roles specializing in specific areas of expertise, making the LLM yield content of higher specialization. An iterative architecture of multi CRBAs (IAM-CRBA) is proposed to generate multi-step projects, where CRBAs automatically criticize and optimize the LLM‘s intermediate outputs to enhance quality. We propose ten evaluation metrics across three aspects to assess project quality through expert grading. Further, we conduct an A/B test among sixty undergraduate students in a programming course and collect their feedback through a questionnaire. According to the students' rating results, the LLM-generated projects have comparable performance to man-made ones in terms of project description, learning step setting, assistance to students, and overall project quality. This study effectively integrates LLM into educational scenarios and enhances the efficiency of creating high-quality and practical programming exercises for lecturers.Keywords
Funding Information
- National Natural Science Foundation of China (62077004)
This publication has 21 references indexed in Scilit:
- Leveraging GPT-4 for food effect summarization to enhance product-specific guidance development via iterative promptingJournal of Biomedical Informatics, 2023
- Practical and ethical challenges of large language models in education: A systematic scoping reviewBritish Journal of Educational Technology, 2023
- ReadingQuizMaker: A Human-NLP Collaborative System that Supports Instructors to Design High-Quality Reading Quiz Questions2023
- ChatGPT for good? On opportunities and challenges of large language models for educationLearning and Individual Differences, 2023
- Automatic Generation of Programming Exercises and Code Explanations Using Large Language Models2022
- Exploring the relationship between homework task difficulty, student engagement and performanceIrish Educational Studies, 2018
- Extreme apprenticeship method in teaching programming for beginners2011
- Computational thinkingCommunications of the ACM, 2006
- Procedural Memory and Skill Acquisition2003
- Agent-oriented programmingArtificial Intelligence, 1993