Investigation of Generative AI Adoption in IT-Focused Vocational Secondary School Programming Education
Abstract
1. Introduction
- (A).
- Patterns of Generative AI Use
- RQ1: Do secondary school students use artificial intelligence in learning programming?
- RQ2: Which Generative AI systems are used by students?
- RQ3: For what specific purposes do students utilize Generative AI in programming?
- (B).
- Role of Programming Experience
- RQ4: Is there a correlation between programming experience and Generative AI usage?
- RQ5: Is there a difference in the perceived usefulness of Generative AI among students with varying levels of programming experience?
- (C).
- Perceived Effectiveness and Attitudes toward Generative AI
- RQ6: Is learning through teacher explanations or Generative AI-supported learning more effective? If one is more advantageous, what are the reasons for this?
- RQ7: What are the perceived advantages and disadvantages of Generative AI-based programming learning, and how do students view the future of Generative AI-supported programming education?
- (D).
- Cohort Comparisons
- RQ8: Is there a significant difference in the rate of Generative AI usage for learning programming between the two cohorts—those who began programming before and after 2022?
- RQ9: Does cohort membership influence students’ perceptions of the usefulness of Generative AI in learning programming?
2. Related Work
- Using AI to create customized programming tutorials for your own domain;
- Using AI to learn complex data visualization libraries;
- Learning to refactor exploratory code into more maintainable software;
- Learning about inherited legacy code;
- Learning new programming languages on demand within the context of your workflow;
- Questioning the assumptions your scientific code is making.
3. Materials and Methods
- Generative AI usage habits;
- Attitudes toward Generative AI;
- Experiences with Generative AI use in the educational environment.
3.1. Grouping of Participants
- Cohort 1: These are the students who are currently 15–17 years old and did not attend an IT vocational school before 2022. This group consists of students who had no regular programming education prior to 2022. These students began their programming studies after the widespread adoption of Generative AI technologies.
- Cohort 2: These are students who are currently 18–20 years old and were already vocational school students in 2022, meaning they programmed before 2022 and received programming education without the application of artificial intelligence.
- Beginner: This group includes students who have encountered programming, development environments, and general syntaxes only during their school studies. They do not have any hobby-level programming experience.
- Basic knowledge: This group consists of students who already have some programming experience. They are familiar with the IDE environment they use and understand the basic syntax of the programming languages. They comprehend concepts such as variables, conditional statements, and loops.
- Advanced: This group includes students who are able to create algorithms and code them for tasks appropriate to their level of knowledge. They can solve problems that are in line with their studies, including competition problems and even tasks related to their high school graduation exams.
3.2. Research Hypotheses
4. Results
4.1. General Information
4.2. Assessing the Frequency of Generative AI Use in Learning Programming
4.3. Analysis of Generative AI Use in Students’ Programming Learning Based on Knowledge Levels and Cohorts
4.4. Critical Assessment of the Limitations of Generative Artificial Intelligence
- HTML and web syntax issues;
- For lesser-known programming languages, mainly difficulties in handling differences between versions;
- In cases of overly complex or lengthy code, the AI could not identify the error;
- The AI could not always provide an accurate explanation;
- After code completion, the original working functions of the code were lost;
- In Arduino programming, the AI could not provide any help;
- Database queries;
- Overcomplicating simple tasks-using unfamiliar functions that the student was not aware of.
4.5. The Future Impact and Role of AI in Programming Education as Perceived by Students
- “It’s important, because I haven’t found a teacher who explains better than AI. But this may partly be because AI answers when I don’t understand something and tries to explain it more simply.”
- “It may be important for students who fall behind in terms of knowledge compared to others.”
- “It could be useful when learning new programming languages if there isn’t someone to explain it. If we encounter problems, quick help can be a great advantage.”
- “If someone can talk to AI, they already know something about coding, and even if they don’t understand much, they can still learn better, because if there’s a problem with the code, AI can explain what went wrong. Since people learn from mistakes, AI can be a great help.”
- “AI plays a significant role in learning programming because it offers personalized learning experiences, taking into account the learner’s individual needs and progress. It helps in detecting mistakes quickly, fixing code, and simplifying the learning process by generating code snippets. This makes learning more efficient, especially for beginners.”
- “I think AI can help a lot and will continue to assist in learning programming in the future, because if you don’t understand something one way, it can explain it twenty other ways.”
- “It has a very important role because it teaches better than some teachers.”
- “If I have a question, sometimes it’s faster than Stack Overflow or Reddit, but not as reliable. If I need to quickly find something out while programming, I use AI.”
- “It’s still a good method for helping us with ideas or fixing potential errors.”
- “With more frequent use and teacher supervision, it can be very useful.”
- “I think despite all the challenges, there’s potential in it. The key is to use the technology properly. We shouldn’t overdo it, AI can be very helpful, but it’s just a tool, just like any other, and we should treat it as such!”
- “Finding the right balance will be very important.”
- “It will play a major role, as it can help a lot, but we need to find the right balance so that students don’t rely solely on AI.”
- “AI can help a lot, but it’s not good if someone relies too much on it. It can help with solving certain problems or be good for ideas. These days, AI can already create complete programs with few errors. If it continues to develop like this, it might be able to write entire programs without human help.”
- “A good option, but we cannot rely entirely on it.”
- “It’s useful because we can quickly get information, but we also need experience without AI to understand what it writes to us.”
- “It definitely has its drawbacks, especially when the person overly relies on the help given by AI. In the future, we may reach a point where AI-generated code can make anything work, and human coding will become obsolete.”
- “It can help a lot, and there are many programming-related help resources in it, but we must be careful with it because it can also become dangerous.”
- “I think the use of AI will be excessive in the future.”
- “I think it mostly helps in learning, but sometimes it writes complete nonsense, and it can mislead those who aren’t very experienced in programming.”
- “I see AI taking over the work of programmers.”
- “If AI continues to develop this fast, programming education will slowly become useless, because even laypeople can write simple programs with AI help now.”
- “AI won’t help in education, and I disagree with using AI. The information is inaccurate, creativity and problem-solving abilities are not strengthened, and the lack of interaction with people is a big problem.”
- “It won’t replace a good teacher or an explanatory video.”
- “It explains a lot, but it doesn’t reach the level of a teacher’s explanation.”
- “I think it’s an effective method, and it will only get better in the future. However, I believe that for mastering programming, a well-prepared and explanatory person is the best solution.”
- “Teachers won’t have much of a role.”
5. Discussion
6. Conclusions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Aksela, O., Lämsä, J., & Järvelä, S. (2024). Secondary school students’ enacted self-regulated learning strategies in a computer-based writing task–insights from digital trace data and interviews. Technology, Knowledge and Learning, 30, 1727–1756. [Google Scholar] [CrossRef]
- Annuš, N. (2024a). Education in the age of artificial intelligence. TEM Journal, 13(1), 404–413. [Google Scholar] [CrossRef]
- Annuš, N. (2024b). Educational software and artificial intelligence: Students’ experiences and innovative solutions. Information Technologies and Learning Tools, 101(3), 200–226. [Google Scholar] [CrossRef]
- Baillifard, A., Gabella, M., & Lavenex, P. B. (2025). Effective learning with a personal AI tutor: A case study. Education and Information Technologies, 30, 297–312. [Google Scholar] [CrossRef]
- Barboutidis, G., & Stiakakis, E. (2023). Identifying the factors to enhance digital competence of students at vocational training institutes. Technology, Knowledge and Learning, 28, 613–650. [Google Scholar] [CrossRef]
- Belmar, H. (2022). Review on the teaching of programming and computational thinking in the world. Frontiers in Computer Science, 4, 997222. [Google Scholar] [CrossRef]
- Bird, C., Ford, D., Zimmermann, T., Forsgren, N., Kalliamvakou, E., Lowdermilk, T., & Gazit, I. (2022). Taking flight with copilot: Early insights and opportunities of AI-powered pair-programming tools. Queue, 20(6), 35–57. [Google Scholar] [CrossRef]
- Biswas, S. (2023). Role of ChatGPT in computer programming. Mesopotamian Journal of Computer Science, 2023, 9–15. [Google Scholar] [CrossRef]
- Csóka, M. (2024). Egy kiválasztott programozási nyelv tanítása középiskolában (EN: Teaching a selected programming language in secondary school) [Dissertation thesis, J. Selye University]. [Google Scholar]
- Cukurova, M., Miao, X., & Brooker, R. (2023). Adoption of artificial intelligence in schools: Unveiling factors influencing teachers’ engagement. In N. Wang, G. Rebolledo-Mendez, N. Matsuda, O. C. Santos, & V. Dimitrova (Eds.), Artificial intelligence in education. AIED 2023. Lecture notes in computer science (Vol. 13916). Springer. [Google Scholar] [CrossRef]
- Davis, F. (1989). Perceived usefulness, perceived ease of use, and user acceptance of information technology. MIS Quarterly, 13, 319–339. [Google Scholar] [CrossRef]
- Deriba, F., Sanusi, I. T., Campbell, O. O., & Oyelere, S. S. (2024). Computer programming education in the age of generative AI: Insights from empirical research. Available online: https://ssrn.com/abstract=4891302 (accessed on 27 July 2024).
- Deschênes, M., Dionne, L., & Parent, S. (2024). Supporting digital competency development for vocational education student teachers in distance education. Frontiers in Education, 9, 1452445. [Google Scholar] [CrossRef]
- European Commission: Directorate-General for Research and Innovation, Renda, A., Balland, P.-A., Soete, L., & Christophilopoulos, E. (2025). A European model for artificial intelligence. Publications Office of the European Union. Available online: https://data.europa.eu/doi/10.2777/8034640 (accessed on 2 April 2025).
- Gombkötő, N., Štempeľová, I., & Takáč, O. (2024). Evaluating sustainable online education: A cross-disciplinary analysis of IT device utilization among Slovakian and Hungarian university students. Sustainability, 16(2), 699. [Google Scholar] [CrossRef]
- Guo, P. J. (2023). Six opportunities for scientists and engineers to learn programming using AI tools such as ChatGPT. Computing in Science & Engineering, 25(3), 73–78. [Google Scholar] [CrossRef]
- Haindl, P., & Weinberger, G. (2024a). Does ChatGPT help novice programmers write better code? Results from static code analysis. IEEE Access, 12, 114146–114156. [Google Scholar] [CrossRef]
- Haindl, P., & Weinberger, G. (2024b). Students’ experiences of using ChatGPT in an undergraduate programming course. IEEE Access, 12, 43519–43529. [Google Scholar] [CrossRef]
- Haleem, A., Javaid, M., & Singh, R. P. (2022). An era of ChatGPT as a significant futuristic support tool: A study on features, abilities, and challenges. BenchCouncil Transactions on Benchmarks, Standards and Evaluations, 2(4), 100089. [Google Scholar] [CrossRef]
- Hanifi, K., Cetin, O., & Yilmaz, C. (2023, October 22–26). On ChatGPT: Perspectives from software engineering students. IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS), Chiang Mai, Thailand. [Google Scholar] [CrossRef]
- Keleş, P. U., & Aydın, S. (2021). University students’ perceptions about artificial intelligence. Shanlax International Journal of Education, 9, 212–220. [Google Scholar] [CrossRef]
- Kiss Tóth, L., Lengyelné Molnár, T., & Tóthné Parázsó, L. (2013). Statisztikai programrendszerek. Eger: Médiainformatikai kiadványok. Available online: https://mek.oszk.hu/14100/14139/pdf/14139.pdf (accessed on 26 February 2021).
- Lau, S., & Guo, P. (2023, August 7–11). From “Ban it till we understand it” to “Resistance is futile”: How university programming instructors plan to adapt as more students use AI code generation and explanation tools such as ChatGPT and GitHub Copilot. ICER 2023: ACM Conference on International Computing Education Research, Chicago, IL, USA. [Google Scholar] [CrossRef]
- Le, N. T., Strickroth, S., Gross, S., & Pinkwart, N. (2013). A review of AI-supported tutoring approaches for learning programming. In N. Nguyen, T. van Do, & H. le Thi (Eds.), Advanced computational methods for knowledge engineering. Studies in computational intelligence (pp. 267–279). Springer. [Google Scholar] [CrossRef]
- Lytvynova, S. H., Rashevska, N. V., & Proskura, S. L. (2024, September 23). The use of artificial intelligence in teaching students programming languages. IX International Workshop on Professional Retraining and Life-Long Learning Using ICT: Person-Oriented Approach, Co-Located with the 19th International Conference on ICT in Education, Research, and Industrial Applications (ICTERI 2024), Lviv, Ukraine. Available online: https://lib.iitta.gov.ua/id/eprint/742813 (accessed on 2 April 2025).
- Maryono, D., Sajidan, Akhyar, M., Sarwanto, Wicaksono, B. T., & Prakisya, N. P. T. (2025). NgodingSeru.com: An adaptive e-learning system with gamification to enhance programming problem-solving skills for vocational high school students. Discover Education, 4, 157. [Google Scholar] [CrossRef]
- Mishra, S. (2024). Applications of artificial intelligence in education. In B. Mita, S. Sridipa, & P. Pranay (Eds.), Artificial intelligence in education revolutionizing learning and teaching (Vol. 14, Issue 7). Redshine Archive. ISBN 978-93-5809-457-2. [Google Scholar] [CrossRef]
- Prather, J., Reeves, B. N., Leinonen, J., MacNeil, S., Randrianasolo, A. S., Becker, B. A., Kimmel, B., Wright, J., & Briggs, B. (2024, August 13–15). The widening gap: The benefits and harms of generative AI for novice programmers. 2024 ACM Conference on International Computing Education Research—Volume 1 (ICER ‘24) (Vol. 1, pp. 469–486), Melbourne, VIC, Australia. [Google Scholar] [CrossRef]
- Psycharis, S., & Kallia, M. (2017). The effects of computer programming on high school students’ reasoning skills and mathematical self-efficacy and problem solving. Instructional Science, 45, 583–602. [Google Scholar] [CrossRef]
- Qureshi, B. (2023). Exploring the use of ChatGPT as a tool for learning and assessment in undergraduate computer science curriculum: Opportunities and challenges. arXiv, arXiv:2304.11214. [Google Scholar] [CrossRef]
- Rubin, A. (2025). Gen Z is still anxiously using AI: Poll. Available online: https://www.axios.com/2025/04/08/gen-z-artificial-intelligence-gallup-feelings?utm_source=chatgpt.com (accessed on 17 April 2025).
- Saari, M., Rantanen, P., Nurminen, M., Kilamo, T., Systä, K., & Abrahamsson, P. (2024). Survey of AI tool usage in programming course: Early observations. In P. Kruchten, & P. Gregory (Eds.), Agile processes in software engineering and extreme programming—Workshops (XP 2022, XP 2023). Springer. [Google Scholar] [CrossRef]
- Shahzad, M. F., Xu, S., & Javed, I. (2024). ChatGPT awareness, acceptance, and adoption in higher education: The role of trust as a cornerstone. International Journal of Educational Technology in Higher Education, 21(1), 46. [Google Scholar] [CrossRef]
- Simaremare, M., Pardede, C., Tampubolon, I., Simangunsong, D., & Manurung, P. (2024). Pair programming in programming courses in the era of generative AI: Students’ perspective. Available online: https://www.researchgate.net/publication/386423804_Pair_Programming_in_Programming_Courses_in_the_Era_of_Generative_AI_Students%27_Perspective?channel=doi&linkId=6750d2e2359dcb4d9d51f379&showFulltext=true (accessed on 1 December 2024).
- SIOV. (2025). Inovovaný štátny vzdelávací program pre skupinu učebných a študijných odborov 26 Elektrotechnika (EN: Innovated state educational programme for the group of teaching and study disciplines 26 electrical engineering). Available online: https://siov.sk/vzdelavanie/odborne-vzdelavanie-a-priprava/skupina-odborov-26/ (accessed on 4 August 2025).
- Tan, X., Lin, X., & Zhuang, R. (2024). Development and validation of a secondary vocational school students’ digital learning competence scale. Smart Learning Environments, 11, 37. [Google Scholar] [CrossRef]
- Vaithilingam, P., Zhang, T., & Glassman, E. L. (2022, April 29–May 5). Expectation vs. experience: Evaluating the usability of code generation tools powered by large language models. CHI EA ‘22: CHI Conference on Human Factors in Computing Systems Extended Abstracts, New Orleans, LA, USA. [Google Scholar] [CrossRef]
- Végh, L., & Czakóová, K. (2023, March 6–8). Possibilities of using games in teaching and learning the basic concepts of object-oriented programming. INTED2023 Proceedings, Valencia, Spain. [Google Scholar] [CrossRef]
- Végh, L., & Takáč, O. (2021, November 8–9). Teaching and learning computer programming by creating 2D games in unity. ICERI2021 14th annual International Conference of Education, Research and Innovation (pp. 5696–5700), Online Conference. [Google Scholar] [CrossRef]
- Viberg, O., Cukurova, M., Feldman-Maggor, Y., Alexandron, G., Shirai, S., Kanemune, S., Wasson, B., Tømte, C., Spikol, D., Milrad, M., & Coelho, R. (2024). What Explains Teachers’ Trust in AI in Education Across Six Countries? International Journal of Artificial Intelligence in Education. [Google Scholar] [CrossRef]
- Wild, S., & Schulze Heuling, L. (2020). How do the digital competences of students in vocational schools differ from those of students in cooperative higher education institutions in Germany? Empirical Research in Vocational Education and Training, 12, 5. [Google Scholar] [CrossRef]
- Xu, S., Wang, L., Zhu, S., & Dai, Y. (2025). Exploring factors influencing digital literacy among higher vocational students based on quantitative evidence. Scientific Reports, 15, 18894. [Google Scholar] [CrossRef] [PubMed]
- Zerényi, K. (2016). A Likert-skála adta lehetőségek és korlátok. Opus et Educatio, 3(4), 470–478. [Google Scholar] [CrossRef]
- Zviel-Girshin, R. (2024). The good and bad of AI tools in novice programming education. Education Sciences, 14(10), 1089. [Google Scholar] [CrossRef]
Used Generative AI for Learning Programming | |||||
---|---|---|---|---|---|
No | Yes | Total | |||
Cohort | 1 | Count | 26 | 60 | 86 |
Expected Count | 24.1 | 61.9 | 86 | ||
2 | Count | 30 | 84 | 114 | |
Expected Count | 31.9 | 82.1 | 114 | ||
Total | Count | 56 | 144 | 200 | |
Expected Count | 56.0 | 144.0 | 200.0 |
Value | df | Asymptotic Significance (2-Sided) | Exact Sig. (2-Sided) | Exact Sig. (1-Sided) | |
---|---|---|---|---|---|
Pearson Chi-Square | 0.373 | 1 | 0.541 | ||
Continuity Correction | 0.204 | 1 | 0.651 | ||
Likelihood Ratio | 0.372 | 1 | 0.542 | ||
Fisher’s Exact Test | 0.634 | 0.325 | |||
N of Valid Cases | 200 |
Value | df | Asymptotic Significance (2-Sided) | |
---|---|---|---|
Pearson Chi-Square | 13.099 | 2 | 0.001 |
Likelihood Ratio | 13.435 | 2 | 0.001 |
Cramér’s V | 0.181 | ||
N of Valid Cases | 200 |
Student Level | N | Mean Rank | |
---|---|---|---|
Generative AI Usefulness Level | 1 | 27 | 65.39 |
2 | 96 | 74.47 | |
3 | 21 | 72.64 | |
Total | 144 |
Generative AI Usefulness Level | |
---|---|
Kruskal–Wallis H | 1.564 |
df | 2 |
Asymp. Sig. | 0.458 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Annuš, N. Investigation of Generative AI Adoption in IT-Focused Vocational Secondary School Programming Education. Educ. Sci. 2025, 15, 1152. https://doi.org/10.3390/educsci15091152
Annuš N. Investigation of Generative AI Adoption in IT-Focused Vocational Secondary School Programming Education. Education Sciences. 2025; 15(9):1152. https://doi.org/10.3390/educsci15091152
Chicago/Turabian StyleAnnuš, Norbert. 2025. "Investigation of Generative AI Adoption in IT-Focused Vocational Secondary School Programming Education" Education Sciences 15, no. 9: 1152. https://doi.org/10.3390/educsci15091152
APA StyleAnnuš, N. (2025). Investigation of Generative AI Adoption in IT-Focused Vocational Secondary School Programming Education. Education Sciences, 15(9), 1152. https://doi.org/10.3390/educsci15091152