GPTutor: A ChatGPT-Powered Programming Tool for Code Explanation

被引:9
|
作者
Chen, Eason [1 ]
Huang, Ray [2 ]
Chen, Han-Shin [3 ]
Tseng, Yuen-Hsien [1 ]
Li, Liang-Yi [1 ]
机构
[1] Natl Taiwan Normal Univ, Taipei, Taiwan
[2] KryptoCamp, Taipei, Taiwan
[3] Univ Toronto, Toronto, ON, Canada
关键词
ChatGPT; Tutoring System; Developer Tool; Prompt Engineering; Natural Language Generation;
D O I
10.1007/978-3-031-36336-8_50
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Learning new programming skills requires tailored guidance. With the emergence of advanced Natural Language Generation models like the ChatGPT API, there is now a possibility of creating a convenient and personalized tutoring system with AI for computer science education. This paper presents GPTutor, a ChatGPT-powered programming tool, which is a Visual Studio Code extension using the ChatGPTAPI to provide programming code explanations. By integrating Visual Studio Code API, GPTutor can comprehensively analyze the provided code by referencing the relevant source codes. As a result, GPTutor can use designed prompts to explain the selected code with a pop-up message. GPTutor is now published at the Visual Studio Code Extension Marketplace, and its source code is openly accessible on GitHub. Preliminary evaluation indicates that GPTutor delivers the most concise and accurate explanations compared to vanilla ChatGPT and GitHub Copilot. Moreover, the feedback from students and teachers indicated that GPTutor is user-friendly and can explain given codes satisfactorily. Finally, we discuss possible future research directions for GPTutor. This includes enhancing its performance and personalization via further prompt programming, as well as evaluating the effectiveness of GPTutor with real users.
引用
收藏
页码:321 / 327
页数:7
相关论文
共 34 条
  • [21] Heuristic Evaluation of Code::Blocks as a Tool for First Year Programming Courses
    Soto, Matias Salinas
    Figueroa, Ismael
    2018 37TH INTERNATIONAL CONFERENCE OF THE CHILEAN COMPUTER SCIENCE SOCIETY (SCCC), 2018,
  • [22] From "Ban It TillWe Understand It" to "Resistance is Futile": How University Programming Instructors Plan to Adapt as More Students Use AI Code Generation and Explanation Tools such as ChatGPT and GitHub Copilot
    Lau, Sam
    Guo, Philip J.
    PROCEEDINGS OF THE 2023 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH V.1, ICER 2023 V1, 2023, : 106 - 121
  • [23] ASPDup: AST-Sequence-based Progressive Duplicate Code Detection Tool for Onsite Programming Code
    Yu Yaoshen
    Huang Zhiqiu
    Zhou Yu
    Li Weiwei
    Shao Yichao
    THE 12TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2020, 2021, : 260 - 264
  • [24] Postman Flows: A Visual Programming Tool for Building API-Powered Apps and Workflows
    Krosnick, Rebecca
    2024 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING, VL/HCC 2024, 2024, : 356 - 358
  • [25] Real-World Evidence BRIDGE: A Tool to Connect Protocol With Code Programming
    Royo, Albert Cid
    Elbers, J. H. J. Roel
    Weibel, Daniel
    Hoxhaj, Vjola
    Kurkcuoglu, Zeynep
    Sturkenboom, Miriam C. J.
    Vaz, Tiago A.
    Navarro, Constanza L. Andaur
    PHARMACOEPIDEMIOLOGY AND DRUG SAFETY, 2024, 33 (12)
  • [26] Unit Test Code Generation Tool Support for Lower Level Programming Languages
    Bandara, Rasika
    Perera, Indika
    MERCON 2020: 6TH INTERNATIONAL MULTIDISCIPLINARY MORATUWA ENGINEERING RESEARCH CONFERENCE (MERCON), 2020, : 632 - 637
  • [27] Programming aid tool for detecting common mistakes of Novice programmers in OpenMP code
    Park, Jae Young
    Lee, Seung Wook
    Kim, Jong Tae
    World Academy of Science, Engineering and Technology, 2010, 65 : 512 - 515
  • [28] GRAD-AI: An automated grading tool for code assessment and feedback in programming course
    Gambo, Ishaya
    Abegunde, Faith-Jane
    Gambo, Omobola
    Ogundokun, Roseline Oluwaseun
    Babatunde, Akinbowale Natheniel
    Lee, Cheng-Chi
    EDUCATION AND INFORMATION TECHNOLOGIES, 2024,
  • [29] A Proposal of Test Code Generation Tool for Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Kusaka, Ryota
    Ishihara, Nobuya
    Kao, Wen-Chung
    2017 IEEE 31ST INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS (AINA), 2017, : 51 - 56
  • [30] Educating computer programming students about plagiarism through use of a code similarity detection tool
    Le, Tri
    Carbone, Angela
    Sheard, Judy
    Schuhmacher, Margot
    de Raadt, Michael
    Johnson, Chris
    2013 LEARNING AND TEACHING IN COMPUTING AND ENGINEERING (LATICE 2013), 2013, : 98 - 105