AEPH
Home > Occupation and Professional Education > Vol. 3 No. 9 (OPE 2026) >
A Study of the Teaching of Python Programming at Secondary Vocational Levels with a View to Generative Artificial Intelligence
DOI: https://doi.org/10.62381/O262904
Author(s)
Shangyi Cai1, Yanna Feng2,*
Affiliation(s)
1College of Applied Science and Technology,Beijing Union University, Beijing, China 2Beijing Union University, Beijing, China *Corresponding Author
Abstract
Generative artificial intelligence may offer an innovative solution to some of the problems of secondary vocational Python teaching. The present article takes up the students' cognitive standpoint, looks at AI's role in instruction, and formulates a basic design principle—limited, moderate, or full—for the degree of AI involvement. Regarding BOPPPS, three defects in secondary vocational contexts are analyzed: pre-assessment not detecting difficulties, participatory learning without adequate task design, and post-assessment neglecting understanding. It suggests connecting pre-assessment with AI-centered diagnosis of learning, using task-oriented approaches for participatory learning, and adding a "code explanation" item to post-assessment. Then it outlines—on an exploratory basis—an overall scheme for pre-class, in-class, and post-class stages.
Keywords
Generative Artificial Intelligence; Secondary Vocational Training; Python Code; BOPPPS Model; Teaching Experimentation
References
[1]Stone, I. (2024) Investigating the Use of ChatGPT to Support the Learning of Python Programming Among Upper Secondary School Students: A Design-Based Research Study. In The United Kingdom and Ireland Computing Education Research (UKICER 2024), ACM, New York, NY, USA, 1 page. [2]Margulieux, L.E., Prather, J., Reeves, B.N., Becker, B.A., Cetin Uzun, G., Loksa, D., Leinonen, J. and Denny, P. (2024) Self-Regulation, Self-Efficacy, and Fear of Failure Interactions with How Novices Use LLMs to Solve Programming Problems. In Proceedings of the 2024 Innovation and Technology in Computer Science Education V. 1 (ITiCSE 2024), ACM, New York, NY, USA, 7 pages. [3]Fan, Y., Tang, L., Le, H., Shen, K., Tan, S., Zhao, Y., Shen, Y., Li, X. and Gašević, D. (2025) Beware of Metacognitive Laziness: Effects of Generative Artificial Intelligence on Learning Motivation, Processes, and Performance. British Journal of Educational Technology, 56, 489-530. [4]Nathaniel, J., Oyelere, S.S., Suhonen, J. and Tedre, M. (2025) Investigating the Impact of Generative AI Integration on the Sustenance of Higher-Order Thinking Skills and Understanding of Programming Logic. Computers and Education: Artificial Intelligence, 9, 100460. [5]Liu, J., Omar, S.Z., Wang, Y. and Xiang, Y. (2025) BOPPPS Model Implementation and Students' Performance: A Systematic Literature Review. Frontiers in Education, 9, 1467225. [6]Kumar, A., Wongsirichot, T. and Nanthaamornphong, A. (2026) Generative AI in Computing Education: A Systematic Review and a Framework for Responsible Integration. Computers and Education: Artificial Intelligence, 11, 100677. [7]Adeeb, E. and Muldner, K. (2025) How Do Novice Programmers Solve Code-Tracing Problems When ChatGPT Is Available? A Qualitative Analysis. In Proceedings of the 2025 ACM Conference on International Computing Education Research (ICER 2025), ACM, New York, NY, USA. [8]Oliveira, E., Fu, M., Thongtanunam, P., Lopez-Pernas, S. and Saqr, M. (2026) AI-Assisted Code Review as a Scaffold for Code Quality and Self-Regulated Learning: An Experience Report. In 2026 IEEE/ACM 48th International Conference on Software Engineering (ICSE-SEET '26), ACM, New York, NY, USA, 11 pages. [9]Zi, Y., Li, L., Guha, A., Anderson, C.J. and Feldman, M.Q. (2025) "I Would Have Written My Code Differently": Beginners Struggle to Understand LLM-Generated Code. In 33rd ACM International Conference on the Foundations of Software Engineering (FSE Companion '25), ACM, New York, NY, USA, 10 pages. [10]Sun, D., Boudouaia, A., Yang, J. and Xu, J. (2024) Investigating Students' Programming Behaviors, Interaction Qualities and Perceptions through Prompt-Based Learning in ChatGPT. Humanities and Social Sciences Communications, 11, 3991. [11]Kohen-Vacs, D., Usher, M. and Jansen, M. (2025) Integrating Generative AI into Programming Education: Student Perceptions and the Challenge of Correcting AI Errors. International Journal of Artificial Intelligence in Education, 35, 3166-3184.
Copyright @ 2020-2035 Academic Education Publishing House All Rights Reserved