Evaluate Chat-GPT's programming capability in Swift through real university exam questions

被引:3
作者
Zhang, Zizhuo [1 ]
Wen, Lian [2 ]
Jiang, Yanfei [3 ]
Liu, Yongli [4 ]
机构
[1] Changan Univ, Informat & Network Management Off, Xian, Peoples R China
[2] Griffith Univ, Sch ICT, Brisbane, Australia
[3] Xian Rail Transit Grp Co Ltd, Technol Ctr, Xian, Peoples R China
[4] Changan Univ, Sch Informat Engn, Xian, Peoples R China
关键词
chat-GPT; evaluation; exam; GPT; programming; swift;
D O I
10.1002/spe.3330
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this study, we evaluate the programming capabilities of OpenAI's GPT-3.5 and GPT-4 models using Swift-based exam questions from a third-year university course. The results indicate that both GPT models generally outperform the average student score, yet they do not consistently exceed the performance of the top students. This comparison highlights areas where the GPT models excel and where they fall short, providing a nuanced view of their current programming proficiency. The study also reveals surprising instances where GPT-3.5 outperforms GPT-4, suggesting complex variations in AI model capabilities. By providing a clear benchmark of GPT's programming skills in an academic context, our research contributes valuable insights for future advancements in AI programming education and underscores the need for continued development to fully realize AI's potential in educational settings.
引用
收藏
页码:2129 / 2143
页数:15
相关论文
共 29 条
  • [11] Griffith, MOBILE APPL DEV
  • [12] Gulwani S., 2016, INT JOINT C AUT REAS
  • [13] Gupta R., 2017, P AAAI C ART INT
  • [14] HackerRank, 2023, HACKERRANK
  • [15] Robustness in Machine Learning Explanations: Does It Matter?
    Hancox-Li, Leif
    [J]. FAT* '20: PROCEEDINGS OF THE 2020 CONFERENCE ON FAIRNESS, ACCOUNTABILITY, AND TRANSPARENCY, 2020, : 640 - 647
  • [16] Karmakar A., 2022, CODEX HACKS HACKERRA
  • [17] Kashefi A., 2023, CHATGPT PROGRAMMING
  • [18] Lample G., 2019, DEEP LEARNING SYMBOL
  • [19] LeetCode, 2023, LEETCODE
  • [20] Malinka K., 2023, ED IMPACT CHATGPT IS