{"id":85564,"date":"2023-11-20T10:06:45","date_gmt":"2023-11-20T10:06:45","guid":{"rendered":"https:\/\/www.raspberrypi.org\/?p=85564"},"modified":"2023-11-28T17:11:17","modified_gmt":"2023-11-28T17:11:17","slug":"support-new-computing-teachers-debugging-scratch-litterbox","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/support-new-computing-teachers-debugging-scratch-litterbox\/","title":{"rendered":"Support for new computing teachers: A tool to find Scratch programming errors"},"content":{"rendered":"\n
We all know that learning to program, and specifically learning how to debug or fix code, can be frustrating and leave beginners overwhelmed and disheartened. In a recent blog article, our PhD student Lauria at the Raspberry Pi Computing Education Research Centre highlighted the pivotal role that teachers play in shaping students’ attitudes towards debugging<\/a>. But what about teachers who are coding novices themselves?<\/p>\n\n\n In many countries, primary school teachers are holistic educators and often find themselves teaching computing despite having little or no experience in the field. In a recent seminar of our series on computing education for primary-aged children<\/a>, Luisa Greifenstein told attendees that struggling with debugging and negative attitudes towards programming were among the top ten challenges mentioned by teachers<\/a>.<\/p>\n\n\n Luisa is a researcher at the University of Passau, Germany, and has been working closely with both teacher trainees and experienced primary school teachers in Germany. She\u2019s found that giving feedback to students can be difficult for primary school teachers, and especially for teacher trainees, as programming is still new to them. Luisa’s seminar introduced a tool to help.<\/p>\n\n\n\n To address this issue, the University of Passau has initiated the primary::programming project<\/a>. One of its flagship tools, LitterBox<\/a>, offers a unique solution to debugging and is specifically designed for Scratch, a beginners\u2019 programming language widely used in primary schools.<\/p>\n\n\n LitterBox serves as a static code debugging tool that transforms code examination into an engaging experience. With a nod to the Scratch cat, the tool visualises the debugging of Scratch code as checking the ‘litterbox’, categorising issues into ‘bugs’ and ‘smells’:<\/p>\n\n\n\n What sets LitterBox apart is that it also rewards correct code by displaying ‘perfumes\u2019. For instance, it will praise correct broadcasting or the use of custom blocks. For every identified problem or achievement, the tool provides short and direct feedback.<\/p>\n\n\n Luisa and her team conducted a study to gauge the effectiveness of LitterBox. In the study, teachers were given fictitious student code with bugs and were asked to first debug the code themselves and then explain in a manner appropriate to a student how to do the debugging.<\/p>\n\n\n\n The results were promising: teachers using LitterBox outperformed a control group with no access to the tool. However, the team also found that not all hints proved equally helpful. When hints lacked direct relevance to the code at hand, teachers found them confusing, which highlighted the importance of refining the tool’s feedback mechanisms.<\/p>\n\n\n Despite its limitations, LitterBox proved helpful in another important aspect of the teachers\u2019 work: coding task creation. Novice students require structured tasks and help sheets when learning to code, and teachers often invest substantial time in developing these resources. While LitterBox does not guide educators in generating new tasks or adapting them to their students’ needs, in a second study conducted by Luisa\u2019s team, teachers who had access to LitterBox not only received support in debugging their own code but also provided more scaffolding in task instructions they created for their students compared to teachers without LitterBox.<\/p>\n\n\n\n One important realisation that we had in the Q&A phase of Luisa\u2019s seminar was that many different research teams are working on solutions for similar challenges, and that the impact of this research can be maximised by integrating new findings and resources. For instance, what the LitterBox tool cannot offer could be filled by:<\/p>\n\n\n\n As we navigate the evolving landscape of programming education, it’s clear that innovative tools like LitterBox can make a significant difference in the journey of both educators and students. By equipping educators with effective debugging and task creation solutions, we can create a more positive and engaging learning experience for students.<\/p>\n\n\n\n If you’re an educator, consider exploring how such tools can enhance your teaching and empower your students in their coding endeavours.<\/strong><\/p>\n\n\n\n You can watch the recording of Luisa\u2019s seminar here:<\/p>\n\n\n\n
<\/figure>\n<\/div>\n\n\n
<\/figure>\n<\/div>\n\n\nA unique approach: Visualising debugging with LitterBox<\/h2>\n\n\n\n
<\/a>\n
<\/a>
<\/a>
<\/figure>\n<\/div>\n\n\nHow to maximise the impact of new tools: use existing frameworks and materials<\/h2>\n\n\n\n
\n
\n
Exploring innovative ideas in computing education<\/h2>\n\n\n\n