GPT-3 vs Object Oriented Programming Assignments: An Experience Report

被引:37
作者
Cipriano, Bruno Pereira [1 ]
Alves, Pedro [1 ]
机构
[1] Lusofona Univ, COPELABS, Lisbon, Portugal
来源
PROCEEDINGS OF THE 2023 CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2023, VOL 1 | 2023年
关键词
programming assignments; teaching; object oriented programming; large language models; gpt-3;
D O I
10.1145/3587102.3588814
中图分类号
G40 [教育学];
学科分类号
040101 ; 120403 ;
摘要
Recent studies show that AI-driven code generation tools, such as Large Language Models, are able to solve most of the problems usually presented in introductory programming classes. However, it is still unknown how they cope with Object Oriented Programming assignments, where the students are asked to design and implement several interrelated classes (either by composition or inheritance) that follow a set of best-practices. Since the majority of the exercises in these tools' training dataset are written in English, it is also unclear how well they function with exercises published in other languages. In this paper, we report our experience using GPT-3 to solve 6 real-world tasks used in an Object Oriented Programming course at a Portuguese University and written in Portuguese. Our observations, based on an objective evaluation of the code, performed by an open-source Automatic Assessment Tool, show that GPT-3 is able to interpret and handle direct functional requirements, however it tends not to give the best solution in terms of object oriented design. We perform a qualitative analysis of GPT-3's output, and gather a set of recommendations for computer science educators, since we expect students to use and abuse this tool in their academic work.
引用
收藏
页码:61 / 67
页数:7
相关论文
共 17 条
[1]  
Becker BA, 2022, Arxiv, DOI arXiv:2212.01020
[2]  
Alves P, 2023, Arxiv, DOI arXiv:2304.11172
[3]  
Asare O, 2024, Arxiv, DOI arXiv:2204.04741
[4]  
Bengio Y, 2001, ADV NEUR IN, V13, P932
[5]  
Biderman S, 2022, Arxiv, DOI [arXiv:2201.07406, 10.48550/arXiv.2201.07406, DOI 10.48550/ARXIV.2201.07406]
[6]  
Chen Mark, 2021, arXiv
[7]   Drop Project: An automatic assessment tool for programming assignments [J].
Cipriano, Bruno Pereira ;
Fachada, Nuno ;
Alves, Pedro .
SOFTWAREX, 2022, 18
[8]  
Cipriano Bruno Pereira, 2023, GPT 3 VS MT2 2022 20, DOI [10.5281/zenodo.7851214, DOI 10.5281/ZENODO.7851214]
[9]  
CommonCrawl, 2023, STAT COMM CRAWL MONT
[10]   The Robots Are Coming: Exploring the Implications of OpenAI Codex on Introductory Programming [J].
Finnie-Ansley, James ;
Denny, Paul ;
Becker, Brett A. ;
Luxton-Reilly, Andrew ;
Prather, James .
PROCEEDINGS OF THE 24TH AUSTRALASIAN COMPUTING EDUCATION CONFERENCE, ACE 2022, 2022, :10-19