Home / Archives /2026 /Vol. 1 No. 1 (2026): / Article
Статьи

AUTOMATIC GENERATION OF COMPUTER SCIENCE LEARNING TASKS BASED ON GENERATIVE ARTIFICIAL INTELLIGENCE MODELS

Kenesbayev Serik · Kazakh National Women's Teacher Training University · kenesbayev.s@qyzpu.edu.kz · ORCID
Section

Abstract

The use of artificial intelligence for the automatic generation of learning tasks is a promising approach to personalized education. However, the quantitative effectiveness of generative models in computer science, including GPT, Claude, and Gemini, remains insufficiently studied, particularly with regard to the alignment of generated content with difficulty levels and its readiness for immediate use in the educational process. This article presents a theoretical analysis of task generation algorithms, including rule-based and template-based approaches, machine learning, and large language models, as well as the practical implementation of a Python-based generator prototype integrated with the OpenAI API. The generator supports three difficulty levels: easy, medium, and hard, and enables export to PDF and DOCX formats. A pilot study was conducted with 30 students, involving 90 generated tasks evaluated according to five criteria: topical relevance, alignment with difficulty level, grammatical accuracy, logical consistency, and readiness for use without revision. The results showed topical relevance of 94.4%, alignment with difficulty level of 88.9%, grammatical accuracy of 100%, and readiness for use without revision of 82.2%. The average generation time per task was 2.1 seconds. Based on the findings, practical recommendations are proposed for computer science teachers: fully automated use is appropriate for generating test questions, selective review is recommended for programming tasks, and mandatory teacher verification is required for complex algorithmic tasks. Given the pilot nature of the study, the results should be considered preliminary (n=30).

Section

Keywords

artificial intelligence; generative models; LLM; NLP; task generation; computer science; personalized learning; OpenAI API

Section

How to Cite

AUTOMATIC GENERATION OF COMPUTER SCIENCE LEARNING TASKS BASED ON GENERATIVE ARTIFICIAL INTELLIGENCE MODELS