We present the results of experiments performed using ChatGPT versions 3.5 and 4o to explore the possibilities of generating and solving exam questions related to the time complexity analysis of algorithms in programming courses. Both well-known and artificial code segments for educational purposes were observed. We concluded that ChatGPT can help automate exam question assembling and solving, but it is unreliable. We also observed that ChatGPT 4o is more descriptive and in some cases more successful in generating and solving test problems correctly.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Assessing ChatGPT for Algorithm Time Complexity Education

  • Đorđe Pešić,
  • Milena Vujošević Janičić,
  • Marko Mišić,
  • Jelica Protić

摘要

We present the results of experiments performed using ChatGPT versions 3.5 and 4o to explore the possibilities of generating and solving exam questions related to the time complexity analysis of algorithms in programming courses. Both well-known and artificial code segments for educational purposes were observed. We concluded that ChatGPT can help automate exam question assembling and solving, but it is unreliable. We also observed that ChatGPT 4o is more descriptive and in some cases more successful in generating and solving test problems correctly.