There is an increasing need for knowledgeable K-12 computer science (CS) teachers. It is necessary to inform teachers how to debug and help their students debug programs. Research has shown that debugging is difficult for novices because the process requires different skills from creating programs and instructing students how to debug can help them acquire these skills. To this end, we developed a CS professional development for middle grade teachers (grades 5th-8th/ages 10-13) that includes lessons on debugging. The teachers completed debugging activities that involved finding bugs in Scratch programs and explaining how they would help their students in debugging. We qualitatively analyzed their responses and found that teachers successfully identified the problem but they struggled to locate it in the code. In considering how they would help students who had such a bug, the teachers often focused on helping the student find a solution for the bug rather than on identifying the problem or its source. Finally, teachers’ ability to identify bugs and the pedagogical strategies to engage students in this process differed based on CS teaching experience and prior CS knowledge. This work contributes to our understanding of teachers’ debugging abilities and advances our knowledge on how to support teachers in teaching their students how to debug their programs.
more »
« less
Characterizing Teacher Support of Debugging with Physical Computing: Debugging Pedagogies in Practice
Objectives. Physical computing systems are increasingly being integrated into secondary school science and STEM instruction, yet little is known about how teachers, especially those with little background and experience in computing, help students during the inevitable debugging moments that arise. In this article, we describe a framework, comprising two dimensions, for characterizing how teachers support students as they debug a physical computing system called the Data Sensor Hub (DASH). The DASH enables students to program sensors to measure, analyze, and visualize data as they engage in science inquiry activities. Participants. Five secondary school teachers implemented an inquiry-oriented instructional unit designed to introduce students to working with the DASH as a tool for scientific inquiry. Study Method. Findings drew on video analysis of the teachers’ classroom implementations of the unit. A review of the data corpus led to the selection of 23 moments where the teachers supported an individual or small groups of students engaged in debugging. These moments were analyzed using a grounded perspective based on Interaction Analysis to characterize the teachers’ varied interactional approaches. Findings. Our analysis revealed how teachers’ moves during debugging moments fell along two dimensions. The first dimension characterizes teachers’ positioning during the debugging interactions, ranging from a positioning for teacher understanding to a positioning for student understanding of the bug. The second dimension characterizes the inquiry orientation of the teachers’ questions and guidance, ranging from focusing on the debugging process to focusing on the product—or fixing the bug. Further, teachers’ moves often fell along different points on these dimensions given nuances in the instructional context. Conclusions. The framework offers a first step toward characterizing teachers’ debugging pedagogy as they support students during debugging moments. It also calls attention to how teachers do not necessarily need to be programming experts to effectively help students learn independent and generalizable debugging strategies. Further, it illustrates the variety of expertise that teachers can bring to debugging moments to support students learning to debug. Finally, the framework provides implications for the design of professional learning and supports for teachers as they increasingly are asked to support students in computing—and debugging—activities across a range of disciplines.
more »
« less
- Award ID(s):
- 2019805
- PAR ID:
- 10586875
- Publisher / Repository:
- ACM Trans. Comput. Educ.
- Date Published:
- Journal Name:
- ACM Transactions on Computing Education
- Volume:
- 24
- Issue:
- 4
- ISSN:
- 1946-6226
- Page Range / eLocation ID:
- 1 to 28
- Format(s):
- Medium: X
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
The paper draws on data collected during an inquiry-oriented instructional approach in which students learn to program a sensor-based physical computing system to collect and display meaningful data from the world around them. As part of one instructional unit (Sensor Immersion Unit) students debug their system when it does not work as they expect it to. We present a case study of how one teacher (Gabrielle) acted as a caring collaborator with students as they addressed hardware and software problems. This included modeling and articulating a regular systematic approach to becoming “unstuck,” which we map in analysis. Gabrielle’s approach to supporting students, or her debugging pedagogy, positions debugging as core computing practice rather than as a means to overcome failure.more » « less
-
This paper presents findings from a study of middle school science teachers’ professional learning activities designed to support the development of their debugging pedagogies. In two iterations of a professional learning activity, teachers worked to find bugs planted by facilitators in physical computing systems they were learning to integrate into their middle school science classrooms. We examine how teachers navigated the tension between developing their own troubleshooting skills versus supporting students’ skills in resolving inconsistencies between what they expect of the DaSH and what it actually does. We conclude with implications for the design of PL activities for supporting teachers’ debugging pedagogies.more » « less
-
Debugging is a special form of troubleshooting. Some electronics engineers spend as much as 44% of their time debugging, which has earned the nickname of schedule killer in the semiconductor industry. However, such an important skill is rarely taught in college. To fully capture electrical engineering majors’ debugging skills, our team has developed a series of customized, laboratory-based debug tests to measure a student’s circuit debugging performance. The first roll-out of these experiments on students revealed a surprising result: female students disproportionally outperformed male students. Among the twenty-nine students who participated in this study in Spring 2024, female students’ success rate in identifying the bug was 100% (3 out of 3), while male students’ success rate was only 23% (6 out of 26). The success rate was calculated over three different debug problems. Students were randomly assigned one of the three problems: (1) opamp malfunctioning, (2) equipment setting, and (3) component specifications. When we limit the comparison to responses to the same question (Q1: opamp malfunctioning), the success rate in bug identification was 100% (3 out of 3) for female students versus 21.7% (5 out of 23) for male students. In conclusion, are female students better than male students in microelectronics debugging? It may be too early to tell. There may be a few threats, such as limited sample size and potential biases in the student population. However, this early finding in the gender gap, despite its limitations, may have profound implications in engineering education: Are females really better than males in debugging? What may have caused such a discrepancy? Is there something with debugging as a cognitive task that favors a female’s thinking? Most importantly, how can we leverage this early finding to broaden the participation of engineering among female students? This brief will seek to answer these questions.more » « less
-
Computational thinking has become the calling card for re-introducing coding into schools. While much attention has focused on how students engage in designing systems, applications, and other computational artifacts as a measure of success for computational thinking, far fewer efforts have focused on what goes into remediating problems in designing systems and interactions because learners invariably make mistakes that need fixing-or debugging. In this panel, we examine the often overlooked practice of debugging that presents significant learning challenges (and opportunities) to students in completing assignments and instructional challenges to teachers in helping students to succeed in their classrooms. The panel participants will review what we know and don't know about debugging, discuss ways to conceptualize and study debugging, and present instructional approaches for helping teachers and students to engage productively in debugging situations.more » « less
An official website of the United States government

