If you’ve ever taught programming to school students, you may have experienced the hands-up problem.

If you don’t know what I mean, imagine you’re teaching iteration in Python to a class of secondary school students. After introducing the basics of while loops, you set a programming task for students to get on with. As you walk around the classroom, students naturally make errors in their programs. Some resolve these without much hassle, while others raise their hand for support. After you’ve helped one of these students fix an off-by-one error, you look up to see another three hands up. A few minutes later and there are more hands up than you could possibly manage, all from students relying on you for debugging support. This is what I call the hands-up problem, and it can be a real challenge during programming lessons.

The idea of the hands-up problem came out of research interviews I conducted with secondary computing teachers back in 2023. We discussed teachers’ classroom experiences of debugging in text-based programming languages, and the key themes that emerged related to the dependence that many students have on the teacher for debugging help. In a class of 25-30 students, this becomes hard to manage for teachers and detrimental to students’ learning. I’ll now describe the hands-up problem in more detail and discuss how teachers can alleviate it.

What is the hands-up problem?

The hands-up problem is the classroom difficulty deriving from the common student tendency to raise their hand when struggling to complete a task. This has several drivers, consequences, and counters, illustrated in the diagram below. The hands-up problem could happen in any subject, but we’ll focus on programming lessons, as this is what I interviewed teachers about. Specifically, teachers explained how students generally raised their hands at the point of encountering an error.

The drivers

According to one of the teachers I interviewed, students’ help requests are “almost always about errors in code”. So, the drivers of the hands-up problem are factors that prompt students to raise their hand when encountering an error or struggling to resolve one. Some of these are quite general, or domain-agnostic. For example, students may lack the confidence, resilience, or self-regulation to debug on their own. Other drivers are specific to learning a text-based programming language (domain-specific), including the difficulty of getting syntax exactly right or understanding unclear error messages.

If students are experiencing these difficulties when learning to program, asking for support is a good thing; seeking help is better than remaining stuck. However, some students may raise their hand before trying to debug themselves. As one teacher said:

“They want you to give them the answer. They don’t want to think too much. Only very few of them would want to think and figure out the errors.”

Scale this up to a classroom of 25-30 students and the hands-up problem quickly follows, which has consequences for students and teachers.

The consequences

The hands-up problem makes it difficult for students to learn to program and for teachers to provide effective support. Some of the teachers I interviewed explained how little progress students would make after raising their hand. These sustained periods of being stuck are not helpful for students’ learning if they don’t believe they can solve errors themselves. Instead, frustration, anxiety, or disengagement may follow. These are harmful experiences for students learning to program.

Among teachers, some may feel pressure to help every student in need of support.

“While their hands are up, they’re not doing anything or making progress. So you feel this pressure to go and help everybody.”

In busy programming lessons, this can drive teachers to frantically rush between students.  If teachers still cannot deal with every raised hand, they may feel flustered, disappointed, or demoralised, especially if they feel the need to demonstrate progress in every lesson.

The counters

The hands-up problem makes for a hectic classroom atmosphere, but there are counters to it. These are teaching approaches that empower students to debug without a teacher by their side. The teachers I interviewed mentioned several counters which could be used in any subject (domain-agnostic) or are specific to programming (domain-specific).

Most of the generic counters that teachers mentioned in the interviews were classroom management techniques to free themselves up. Some teachers refuse to help students until they’ve had a go at debugging themselves or asked for help from peers (similar to “brain, book, buddy, boss” or “three before me”).

Lots of debugging-specific strategies and resources can also be used to help students debug independently. Here’s a list that teachers mentioned in the interviews:

Each of these counters equips students with knowledge that they can use to fix errors without a teacher by their side. Although they may take time for students to get used to, students’ debugging behaviours will start to change for the better, as will their confidence. For teachers, this means more time to help a smaller number of students who are really struggling with debugging.

What’s more, most of these counters don’t require any specialist programming knowledge. This means they can be used by any teacher to alleviate the hands-up problem, regardless of their confidence or experience with teaching programming.

Summary

If you’re a computing teacher, you may experience the hands-up problem every week, or you might have developed counters to it. Either way, it’s a genuine challenge that can fluster teachers and halt students’ programming learning. However, it can be overcome. The counters listed above aren’t just useful classroom management techniques – they encourage students to develop resilience and independence. As students become accustomed to these, they’ll learn how to confidently deal with errors themselves and enjoy more progress and success with learning to program.

Find out more