{"id":89586,"date":"2025-03-06T10:52:35","date_gmt":"2025-03-06T10:52:35","guid":{"rendered":"https:\/\/www.raspberrypi.org\/?p=89586"},"modified":"2025-03-06T10:57:32","modified_gmt":"2025-03-06T10:57:32","slug":"integrating-generative-ai-into-introductory-programming-classes","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/integrating-generative-ai-into-introductory-programming-classes\/","title":{"rendered":"Integrating generative AI into introductory programming classes"},"content":{"rendered":"\n

Generative AI (GenAI) tools like GitHub Copilot and ChatGPT are rapidly changing how programming is taught and learnt. These tools can solve assignments with remarkable accuracy. GPT-4, for example, scored an impressive 99.5% on an undergraduate computer science exam, compared to Codex\u2019s 78% just two years earlier<\/a>. With such capabilities, researchers are shifting from asking, \u201cShould we teach with AI?\u201d to \u201cHow do we teach with AI?\u201d<\/p>\n\n\n\n

\n
\n
\"Photo
Leo Porter from UC San Diego<\/figcaption><\/figure>\n<\/div><\/div>\n\n\n\n
\n
\"Photo
Daniel Zingaro from the University of Toronto<\/figcaption><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n

Leo Porter and Daniel Zingaro have spearheaded this transformation through their groundbreaking undergraduate programming course. Their innovative curriculum integrates GenAI tools to help students tackle complex programming tasks while developing critical thinking and problem-solving skills.<\/p>\n\n\n\n

Leo and Daniel presented their work at the Raspberry Pi Foundation research seminar in December 2024. During the seminar, it became clear that much could be learnt from their work, with their insights having particular relevance for teachers in secondary education thinking about using GenAI in their programming classes<\/p>\n\n\n\n

Practical applications in the classroom<\/h2>\n\n\n\n

In 2023, Leo and Daniel introduced GitHub Copilot in their introductory programming  CS1-LLM course<\/a> at UC San Diego with 550 students. The course included creative, open-ended projects that allowed students to explore their interests while applying the skills they\u2019d learnt. The projects covered the following areas:<\/p>\n\n\n\n