Litcius/Paper detail

Using ChatGPT to produce code for a typical college‐level assignment

Michael Wollowski

2023AI Magazine13 citationsDOIOpen Access PDF

Abstract

Abstract In this article, I record experiments with ChatGPT to write code for AVL trees, a standard and reasonable sized assignment typically found during the second year in a CS curriculum. I show that it is cumbersome to elicit code that satisfies standard style guidelines. I conclude that a good textbook may be a more efficient way to develop code.

Topics & Concepts

Code (set theory)Computer scienceProgramming languageStyle (visual arts)GeographyArchaeologySet (abstract data type)Online Learning and AnalyticsSoftware Engineering ResearchTopic Modeling