Assessing ChatGPT for Algorithm Time Complexity Education
摘要
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.