MODERN AI METHODS FOR PROGRAMMING EDUCATION

Authors

DOI:

https://doi.org/10.35546/kntu2078-4481.2025.1.2.16

Keywords:

artificial intelligence, programming education, CodeGen, CodeBERT, Flask, web development, offline mode, education automation, machine learning, code generation, code analysis, educational technology, software engineering

Abstract

The paper presents the development of an integrated software system based on artificial intelligence technologies for automating and optimizing the programming education process. Current issues of artificial intelligence usage in the educational process are investigated, including technology accessibility, generated code quality, and adaptation of the learning process to modern requirements. An innovative solution for effective collaboration between programmer and AI is proposed, based on the integration of advanced machine learning models. The developed system utilizes CodeGen and CodeBERT models for comprehensive code analysis and generation.Model CodeGen-350M-mono provides syntactically correct code generation and contextual hints, while CodeBERT performs deep analysis of program structure and semantic relationships. A unique feature of the system is its ability to operate in both online and offline modes through pre-loaded models on a local server, making it accessible for use in various educational settings.The practical implementation includes creating a Flask-based web application that provides an intuitive interface for interaction with AI models and ensures fast processing of user requests. The system demonstrates high efficiency in analyzing input code, providing contextual explanations, and forming recommendations for improving programming solutions.Important functionality includes automatic code completion and early detection of potential errors during development.The created web application ensures effective cooperation between the programmer and artificial intelligence.

References

The Stanford Daily. Scores of Stanford students used ChatGPT on final exams, survey suggests. 2023, January 22. URL: https://stanforddaily.com/2023/01/22/scores-of-stanford-students-used-chatgpt-onfinal-exams-survey-suggests/ (дата звернення: 10.01.2025).

Zawacki-Richter O., Marín V. I., Bond M., Gouverneur F. Systematic review of research on artificial intelligence applications in higher education – where are the educators? International Journal of Educational Technology in Higher Education. 2019. № 16(1). Article 39. doi: https://doi.org/10.1186/s41239-019-0171-0

Rodríguez-Hernández C. F., Musso M., Kyndt E., Cascallar E. Artificial neural networks in academic performance prediction: Systematic implementation and predictor evaluation. Computers and Education: Artificial Intelligence. 2021. № 2, 100018. URL: doi: https://doi.org/10.1016/j.caeai.2021.100018

Міністерство освіти і науки України. Результати всеукраїнського дослідження про перспективи ШІ в загальній середній освіті. 20 грудня 2023. URL: https://mon.gov.ua/news/rezultati-vseukrainskogo-doslidzhennya-pro- perspektivi-shi-v-zagalniy-seredniy-osviti (дата звернення: 10.01.2025).

Flask documentation. https://flask.palletsprojects.com/en/stable/ (дата звернення: 10.01.2025).

CodeGen (CodeGen-Mono 350M). URL: https://huggingface.co/Salesforce/codegen-350M-mono (дата звернення: 10.01.2025).

CodeBERT: A Pre-Trained Model for Programming and Natural Languages. / Zhangyin Feng, et al. Findings of the Association for Computational Linguistics: EMNLP. 2020, November 16–20. P. 1536-1547. URL: https://aclanthology.org/ 2020.findings-emnlp.139.pdf. (дата звернення: 10.01.2025).

Published

2025-02-25