A Novel Teaching Method Based on AI Automated Programming: a Case Study of Python Programming
- DOI
- 10.2991/978-94-6463-803-5_45How to use a DOI?
- Keywords
- Python programming education; AI-assisted programming; innovative teaching model; automated code generation; UML program analysis
- Abstract
In traditional Python programming education, students often struggle to bridge the gap between learning programming and implementing practical projects, making it hard to grasp project architecture and build functional applications. This study introduces an AI-based automated programming teaching method to optimize the teaching process and enhance practical programming skills. Centered on the “practice first, learn later” approach, the process includes setting project topics, analyzing requirements with the POE large language model foundation platform, decomposing modules via Scrum methods, generating and optimizing code with Cursor.AI, analyzing programs using UML diagrams from PlantUML, and extracting knowledge points from the code. AI tools facilitate automated code generation, program analysis, and quick understanding of logic through UML diagrams. Findings show that the method significantly improves students’ ability to understand complex architectures, decompose functions, and solve practical problems. The “project-driven + AI-assisted” teaching model shortens the transition from theory to practice, enhancing students’ programming skills and application capabilities. By integrating AI tools, this study presents an innovative “practice-to-theory” teaching approach for Python education. The tools and methods can be directly replicated by students, providing both theoretical significance and practical application value, and improving operability in real-world scenarios.
- Copyright
- © 2025 The Author(s)
- Open Access
- Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
Cite this article
TY - CONF AU - Feng Zhu AU - Zhou Zeng PY - 2025 DA - 2025/07/31 TI - A Novel Teaching Method Based on AI Automated Programming: a Case Study of Python Programming BT - Proceedings of the 5th International Conference on Internet, Education and Information Technology (IEIT 2025) PB - Atlantis Press SP - 475 EP - 489 SN - 2667-128X UR - https://doi.org/10.2991/978-94-6463-803-5_45 DO - 10.2991/978-94-6463-803-5_45 ID - Zhu2025 ER -