{"id":2878,"date":"2025-05-08T14:14:22","date_gmt":"2025-05-08T13:14:22","guid":{"rendered":"https:\/\/computingeducationresearch.org\/?post_type=projects&p=2878"},"modified":"2026-01-09T09:04:53","modified_gmt":"2026-01-09T09:04:53","slug":"teaching-programming-with-ai","status":"publish","type":"projects","link":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/","title":{"rendered":"Teaching with AI: Integrating AI tools into the teaching of programming in K-12"},"content":{"rendered":"\n
status: ongoing<\/h6>\n\n\n\n
\"\"<\/figure>\n\n\n\n

This project explores how Large Language Models (LLMs) can support secondary school programming education by helping students understand programming error messages (PEMs). In our pilot study (2023\u20132024), we examined secondary educators\u2019 perspectives on the potential classroom use of LLM-generated PEM explanations, using feedback literacy theory to analyse their views. Building on this, our current study investigates teachers\u2019 experiences of using an LLM to explain PEMs in the classroom.<\/p>\n\n\n\n

Studies<\/h3>\n\n\n\n

Read more about each study in this project:<\/p>\n\n\n\n

\"\"<\/a><\/figure>
\n

Teachers\u2019 views of LLM explanations of program error messages<\/a><\/p>\n<\/div><\/div>\n\n\n\n


\n\n\n\n
\"\"<\/a><\/figure>
\n

Investigating how teachers use LLM error message explanations in the classroom<\/a><\/p>\n<\/div><\/div>\n\n\n\n


\n\n\n\n
\"\"<\/a><\/figure>
\n

Pedagogy for teaching programming with LLMs<\/a><\/p>\n<\/div><\/div>\n\n\n\n


\n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n
\n","protected":false},"excerpt":{"rendered":"

status: ongoing This project explores how Large Language Models (LLMs) can support secondary school programming education by helping students understand programming error messages (PEMs). In our pilot study (2023\u20132024), we examined secondary educators\u2019 perspectives on the potential classroom use of LLM-generated PEM explanations, using feedback literacy theory to analyse their views. Building on this, our […]<\/p>\n","protected":false},"featured_media":1654,"template":"","project_categories":[47,53],"class_list":["post-2878","projects","type-projects","status-publish","has-post-thumbnail","hentry","project_categories-ai-education-for-young-people","project_categories-programming-education"],"acf":[],"yoast_head":"\nTeaching with AI: Integrating AI tools into the teaching of programming in K-12 - Raspberry Pi Computing Education Research Centre<\/title>\n<meta name=\"description\" content=\"Learn more about our studies investigating how to integrate AI tools into the teaching of programming in K-12.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Teaching with AI: Integrating AI tools into the teaching of programming in K-12 - Raspberry Pi Computing Education Research Centre\" \/>\n<meta property=\"og:description\" content=\"Learn more about our studies investigating how to integrate AI tools into the teaching of programming in K-12.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Computing Education Research Centre\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-09T09:04:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/computingeducationresearch.org\/wp-content\/uploads\/2024\/03\/image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2319\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/\",\"url\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/\",\"name\":\"Teaching with AI: Integrating AI tools into the teaching of programming in K-12 - Raspberry Pi Computing Education Research Centre\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/computingeducationresearch.org\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/image.png\",\"datePublished\":\"2025-05-08T13:14:22+00:00\",\"dateModified\":\"2026-01-09T09:04:53+00:00\",\"description\":\"Learn more about our studies investigating how to integrate AI tools into the teaching of programming in K-12.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/#primaryimage\",\"url\":\"https:\\\/\\\/computingeducationresearch.org\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/computingeducationresearch.org\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/image.png\",\"width\":2319,\"height\":1440},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/projects\\\/teaching-programming-with-ai\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/computingeducationresearch.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Teaching with AI: Integrating AI tools into the teaching of programming in K-12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/#website\",\"url\":\"https:\\\/\\\/computingeducationresearch.org\\\/\",\"name\":\"https:\\\/\\\/www.computingeducationresearch.org\\\/\",\"description\":\"The Raspberry Pi Computing Education Research Centre is a joint initiative between the University of Cambridge and the Raspberry Pi Foundation. The primary aim of the Centre is to investigate how to engage all young people in computing, computer science, and associated subjects.\",\"publisher\":{\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/#organization\"},\"alternateName\":\"RPCERC\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/computingeducationresearch.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/#organization\",\"name\":\"https:\\\/\\\/www.computingeducationresearch.org\\\/\",\"alternateName\":\"RPCERC\",\"url\":\"https:\\\/\\\/computingeducationresearch.org\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.computingeducationresearch.org\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Research-centre-favicon.png\",\"contentUrl\":\"https:\\\/\\\/www.computingeducationresearch.org\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Research-centre-favicon.png\",\"width\":2005,\"height\":2005,\"caption\":\"https:\\\/\\\/www.computingeducationresearch.org\\\/\"},\"image\":{\"@id\":\"https:\\\/\\\/computingeducationresearch.org\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Teaching with AI: Integrating AI tools into the teaching of programming in K-12 - Raspberry Pi Computing Education Research Centre","description":"Learn more about our studies investigating how to integrate AI tools into the teaching of programming in K-12.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/","og_locale":"en_GB","og_type":"article","og_title":"Teaching with AI: Integrating AI tools into the teaching of programming in K-12 - Raspberry Pi Computing Education Research Centre","og_description":"Learn more about our studies investigating how to integrate AI tools into the teaching of programming in K-12.","og_url":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/","og_site_name":"Raspberry Pi Computing Education Research Centre","article_modified_time":"2026-01-09T09:04:53+00:00","og_image":[{"url":"https:\/\/computingeducationresearch.org\/wp-content\/uploads\/2024\/03\/image.png","width":2319,"height":1440,"type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/","url":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/","name":"Teaching with AI: Integrating AI tools into the teaching of programming in K-12 - Raspberry Pi Computing Education Research Centre","isPartOf":{"@id":"https:\/\/computingeducationresearch.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/#primaryimage"},"image":{"@id":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/#primaryimage"},"thumbnailUrl":"https:\/\/computingeducationresearch.org\/wp-content\/uploads\/2024\/03\/image.png","datePublished":"2025-05-08T13:14:22+00:00","dateModified":"2026-01-09T09:04:53+00:00","description":"Learn more about our studies investigating how to integrate AI tools into the teaching of programming in K-12.","breadcrumb":{"@id":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/#primaryimage","url":"https:\/\/computingeducationresearch.org\/wp-content\/uploads\/2024\/03\/image.png","contentUrl":"https:\/\/computingeducationresearch.org\/wp-content\/uploads\/2024\/03\/image.png","width":2319,"height":1440},{"@type":"BreadcrumbList","@id":"https:\/\/computingeducationresearch.org\/projects\/teaching-programming-with-ai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/computingeducationresearch.org\/"},{"@type":"ListItem","position":2,"name":"Teaching with AI: Integrating AI tools into the teaching of programming in K-12"}]},{"@type":"WebSite","@id":"https:\/\/computingeducationresearch.org\/#website","url":"https:\/\/computingeducationresearch.org\/","name":"https:\/\/www.computingeducationresearch.org\/","description":"The Raspberry Pi Computing Education Research Centre is a joint initiative between the University of Cambridge and the Raspberry Pi Foundation. The primary aim of the Centre is to investigate how to engage all young people in computing, computer science, and associated subjects.","publisher":{"@id":"https:\/\/computingeducationresearch.org\/#organization"},"alternateName":"RPCERC","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/computingeducationresearch.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/computingeducationresearch.org\/#organization","name":"https:\/\/www.computingeducationresearch.org\/","alternateName":"RPCERC","url":"https:\/\/computingeducationresearch.org\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/computingeducationresearch.org\/#\/schema\/logo\/image\/","url":"https:\/\/www.computingeducationresearch.org\/wp-content\/uploads\/2022\/06\/Research-centre-favicon.png","contentUrl":"https:\/\/www.computingeducationresearch.org\/wp-content\/uploads\/2022\/06\/Research-centre-favicon.png","width":2005,"height":2005,"caption":"https:\/\/www.computingeducationresearch.org\/"},"image":{"@id":"https:\/\/computingeducationresearch.org\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/projects\/2878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/projects"}],"about":[{"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/types\/projects"}],"version-history":[{"count":6,"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/projects\/2878\/revisions"}],"predecessor-version":[{"id":3131,"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/projects\/2878\/revisions\/3131"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/media\/1654"}],"wp:attachment":[{"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/media?parent=2878"}],"wp:term":[{"taxonomy":"project_categories","embeddable":true,"href":"https:\/\/computingeducationresearch.org\/wp-json\/wp\/v2\/project_categories?post=2878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}