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

被引:29
|
作者
Cipriano, Bruno Pereira [1 ]
Alves, Pedro [1 ]
机构
[1] Lusofona Univ, COPELABS, Lisbon, Portugal
关键词
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
相关论文
共 45 条
  • [1] Student Voices on GPT-3, Writing Assignments, and the Future College Classroom
    Kim, Bada
    Robins, Sarah
    Huang, Jihui
    TEACHING PHILOSOPHY, 2024, 47 (02) : 213 - 231
  • [2] Investigating the Potential of GPT-3 in Providing Feedback for Programming Assessments
    Balse, Rishabh
    Valaboju, Bharath
    Singhal, Shreya
    Warriem, Jayakrishnan Madathil
    Prasad, Prajish
    PROCEEDINGS OF THE 2023 CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2023, VOL 1, 2023, : 292 - 298
  • [3] Human vs. GPT-3: The challenges of extracting emotions from child responses
    Lammerse, Myrthe
    Hassan, Syed Zohaib
    Sabet, Saeed Shafiee
    Riegler, Michael Alexander
    Halvorsen, Pal
    2022 14TH INTERNATIONAL CONFERENCE ON QUALITY OF MULTIMEDIA EXPERIENCE, QOMEX, 2022,
  • [4] LLMs Still Can't Avoid Instanceof: An Investigation Into GPT-3.5, GPT-4 and Bard's Capacity to Handle Object-Oriented Programming Assignments
    Cipriano, Bruno Pereira
    Alves, Pedro
    2024 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING EDUCATION AND TRAINING, ICSE-SEET 2024, 2024, : 162 - 169
  • [5] Model-based automatic grading of object-oriented programming assignments
    Duc Minh Le
    COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2022, 30 (02) : 435 - 457
  • [6] From GPT-3 to GPT-4: On the Evolving Efficacy of LLMs to Answer Multiple-Choice Questions for Programming Classes in Higher Education
    Savelka, Jaromir
    Agarwal, Arav
    Bogart, Christopher
    Sakr, Majd
    COMPUTER SUPPORTED EDUCATION, CSEDU 2023, 2024, 2052 : 160 - 182
  • [7] EXPERIENCE IN TEACHING OBJECT-ORIENTED PROGRAMMING WITH C++
    ZIVKOVA, E
    SIGPLAN NOTICES, 1994, 29 (05): : 37 - 40
  • [8] Design strategies and knowledge in object-oriented programming: effects of experience
    Inst Natl de Recherche en, Informatique et Automatique , Rocquencourt, France
    Hum Comput Interact, 2-3 (129-169):
  • [9] DESIGN STRATEGIES AND KNOWLEDGE IN OBJECT-ORIENTED PROGRAMMING - EFFECTS OF EXPERIENCE
    DETIENNE, F
    HUMAN-COMPUTER INTERACTION, 1995, 10 (2-3): : 129 - 169
  • [10] Static vs. dynamic issues in object-oriented programming languages
    Corradi, A
    Leonardi, L
    JOOP-JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 2000, 13 (06): : 11 - +