Study Compares ChatGPT and Gemini on Introductory C Programming Tasks
A 2025 study published in the Brazilian Journal of Informatics in Education evaluated ChatGPT and Gemini across 46 basic C programming exercises. The research was conducted by authors affiliated with the Federal Institute of São Paulo and assessed both AI tools from the perspectives of students and teachers. ChatGPT outperformed Gemini overall, scoring 78.2% accuracy compared to Gemini's 69.6%. However, both models made notable errors, including mistakes in basic mathematical equations and generating code with memory vulnerabilities. The findings suggest that despite their utility, neither AI tool is fully reliable for introductory programming education.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in