LLMs Still Can’t Avoid Instanceof: An Investigation Into GPT-3.5, GPT-4 and Bard’s Capacity to Handle Object-Oriented Programming Assignments

Resultado de pesquisarevisão de pares

6 Citações (Scopus)

Resumo

Large Language Models (LLMs) have emerged as promising tools to assist students while solving programming assignments. However, object-oriented programming (OOP), with its inherent complexity involving the identification of entities, relationships, and responsibilities, is not yet mastered by these tools. Contrary to introductory programming exercises, there exists a research gap with regard to the behavior of LLMs in OOP contexts. In this study, we experimented with three prominent LLMs - GPT-3.5, GPT-4, and Bard - to solve real-world OOP exercises used in educational settings, subsequently validating their solutions using an Automatic Assessment Tool (AAT). The findings revealed that while the models frequently achieved mostly working solutions to the exercises, they often overlooked the best practices of OOP. GPT-4 stood out as the most proficient, followed by GPT-3.5, with Bard trailing last. We advocate for a renewed emphasis on code quality when employing these models and explore the potential of pairing LLMs with AATs in pedagogical settings. In conclusion, while GPT-4 showcases promise, the deployment of these models in OOP education still mandates supervision.

Idioma originalInglês
Título da publicação do anfitriãoSEET@ICSE
Subtítulo da publicação do anfitriãoSoftware Engineering Education and Training, ICSE-SEET 2024
EditoraIEEE Computer Society
Páginas162-169
Número de páginas8
ISBN (eletrónico)9798400704987
DOIs
Estado da publicaçãoPublicadas - 14 abr. 2024
Evento46th International Conference on Software Engineering: Software Engineering Education and Training, ICSE-SEET 2024 - Lisbon
Duração: 14 abr. 202420 abr. 2024

Série de publicação

NomeProceedings of the 46th International Conference on Software Engineering: Software Engineering Education and Training

Conferência

Conferência46th International Conference on Software Engineering: Software Engineering Education and Training, ICSE-SEET 2024
País/TerritórioPortugal
CidadeLisbon
Período14/04/2420/04/24

Nota bibliográfica

Publisher Copyright:
© 2024 Copyright held by the owner/author(s).

Financiamento

Financiadoras/-esNúmero do financiador
Fundação para a Ciência e a TecnologiaUIDB/04111/2020

    Impressão digital

    Mergulhe nos tópicos de investigação de “LLMs Still Can’t Avoid Instanceof: An Investigation Into GPT-3.5, GPT-4 and Bard’s Capacity to Handle Object-Oriented Programming Assignments“. Em conjunto formam uma impressão digital única.

    Citar isto