{"id":86424,"date":"2024-02-15T11:55:25","date_gmt":"2024-02-15T11:55:25","guid":{"rendered":"https:\/\/www.raspberrypi.org\/?p=86424"},"modified":"2024-02-15T11:55:26","modified_gmt":"2024-02-15T11:55:26","slug":"supporting-learners-with-programming-tasks-through-ai-generated-parsons-problems","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/supporting-learners-with-programming-tasks-through-ai-generated-parsons-problems\/","title":{"rendered":"Supporting learners with programming tasks through AI-generated Parson’s Problems"},"content":{"rendered":"\n
The use of generative AI tools (e.g. ChatGPT) in education is now common among young people (see data from the UK’s Ofcom<\/a> regulator). As a computing educator or researcher, you might wonder what impact generative AI tools will have on how young people learn programming<\/a>. In our latest research seminar, Barbara Ericson and Xinying Hou (University of Michigan) shared insights into this topic. They presented recent studies with university student participants on using generative AI tools based on large language models (LLMs) during programming tasks.\u00a0<\/p>\n\n\n Barbara and Xinying started their seminar with an overview of their earlier research into using Parson’s Problems to scaffold university students as they learn to program. Parson’s Problems (PPs) are a type of code completion problem where learners are given all the correct code to solve the coding task, but the individual lines are broken up into blocks and shown in the wrong order (Parsons and Haden, 2006<\/a>). Distractor blocks, which are incorrect versions of some or all of the lines of code (i.e. versions with syntax or semantic errors), can also be included. This means to solve a PP, learners need to select the correct blocks as well as place them in the correct order.<\/p>\n\n\n\n
<\/figure>\n<\/div>\n\n\nUsing Parson’s Problems to scaffold student code-writing tasks<\/strong><\/h2>\n\n\n\n
<\/figure>\n\n\n\n