Prototype Advisory System for Learning C Programming Using Generative AI

Abstract

The technology of generative AI using LLM (Large Language Models) has made remarkable progress, and attempts to apply the technology of program code generation to programming education have attracted much attention. In this paper, we evaluate the suitability of a virtual TA (Teaching Assistant) system for beginner-level learners using OpenAI’s API, which takes C programs with errors and error messages as input to the LLM and outputs appropriate advice. Among the programming errors, the proposed system was generally effective in generating appropriate advice for syntactic and semantic errors, which is sufficient for learners to solve the problems on their own. For logical errors, the proposed system was generally effective in generating appropriate advice, although in some cases the advice was only a general explanation. Moreover, there are cases in which the prompts give appropriate advice to review the part of the sentence that includes division, so there is a possibility to obtain appropriate advice by asking for advice more than once.

The article is not prepared yet for the html view. Check back soon.

Copyright information

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

About this article

Publication Date

31 December 2024

eBook ISBN

978-625-98059-3-1

Publisher

Emanate Publishing House Ltd.

Volume

1

Print ISBN (optional)

-

Edition Number

1st Edition

Pages

1-79

Subjects

Cite this article as:

Wakatani, A., & Maeda, T. (2024). Prototype Advisory System for Learning C Programming Using Generative AI. In A. Güneyli (Ed.), Proceedings of the 15th International Conference on Education & Educational Psychology (ICEEPSY2024), vol 1. Emanate - Educational Sessions Highlights (pp. 54-63). Emanate Publishing House Ltd.. https://doi.org/10.70020/eesh.2024.12.5