Enhancing collaborative learning using pair programming: Who benefits?


  • Phil Maguire NUI Maynooth
  • Rebecca Maguire National College of Ireland
  • Philip Hyland National College of Ireland
  • Patrick Marshall NUI Maynooth


Computer programming, data structures, algorithms, pair programming, computer science, group work, student collaboration



Incoming university students who have not previously studied computer programming often find it a challenging subject, leading to high failure rates. Research has suggested that the lack of a formalised structure for collaborative learning may be one of the factors responsible for students’ negative impressions of computer science. In this study we investigated whether the use of pair programming in practical laboratories would facilitate peer learning and enhance students’ confidence in their programming ability. Results showed that this intervention was generally well received, although the weaker programmers (as measured by prior exam grades) perceived it to be of more benefit than the stronger ones. Students who reported a lower initial level of enjoyment and confidence in programming were more likely to report learning from the paired intervention, though this did not necessarily lead to enhanced performance. The most frequently reported positive feature of pair programming was that it allowed students to meet more people in the class. Although there was no significant increase in final exam grades for male students, there was a significant increase for female students, suggesting this teaching strategy may have asymmetrical gender benefits.

Author Biographies

Phil Maguire, NUI Maynooth

Lecturer, Computer Science Department

Rebecca Maguire, National College of Ireland

Lecturer in Psychology, School of Business, NCI






Research Articles