Table of Links
Abstract and I. Introduction
II. Background and Related Work
A. Learning to Program: SCRATCH and Pair Programming
B. Gender in Programming Education and Pair Programming
III. Course Design
A. Introducing Young Learners to Pair Programming
B. Implementation of Pair Programming
C. Course Schedule
IV. Method
A. Pre-Study and B. Data Collection
C. Dataset and D. Data Analysis
E. Threats to Validity
V. Results
A. RQ1: Attitude
B. RQ2: Behavior
C. RQ3: Code
VI. Conclusions and Future Work, Acknowledgments, and References
VI. CONCLUSIONS AND FUTURE WORK
Pair programming is not only useful in practice but also in programming education. One of the concerns in programming education is how to better engage young female learners. It is therefore important to understand whether gender-specific differences can be observed with young learners performing pair programming. In order to investigate this question, we designed an in-class introductory programming course for young programming learners based on SCRATCH, in which pair programming is integrated, and studied it on 139 students aged between 8 and 14 years.
While the attitude towards programming and the course design is overall positive, the perception of fun and difficulty of programming tasks differ between all-female and all-male pairs. Both constellations prefer the role of the driver, although all-male pairs do not adhere to their roles as well as girls. In addition, we observed that all-male pairs are more adventurous in exploring the possibilities of SCRATCH and experimenting, while pairs of girls stick to the instructions. This suggests socially learned behavior which is transmitted to programming within same-sex pairs. However, unlike prior studies on gender differences for individual young programmers, we observe only minor differences in code quality and complexity of the final programs among the pairs, indicating that PP narrows this gap. When given creative freedom to the pairs, however, even pairs fall back to gender stereotypical preferences.
An individual study like ours can only provide initial insights, but raises several avenues for future research:
• We deliberately used a gender-neutral design, which raises the question how results would differ when using common stereotypical designs.
• Our study consists of a relatively short programming session, which raises the question how results would differ if PP were applied throughout a longer period.
• While our course design provides an easily reproducible PP scenario, deploying PP in the classroom will require research on dedicated teacher training.
• Since it may be the case that gender-dependent differences become more pronounced with age, it would be interesting to replicate our study with higher grades.
• Since online teaching has taken a more prominent role in education since Covid, it would similarly be interesting to investigate gender-specific effects in an online setting.
To support this future research we provide all course materials and evaluations for replication online.
ACKNOWLEDGEMENTS
This work is supported by the Federal Ministry of Education and Research through project “primary::programming” (01JA2021) as part of the “Qualitatsoffensive Lehrerbildung”, ¨ a joint initiative of the Federal Government and the Lander. ¨ The authors are responsible for the content of this publication.
REFERENCES
[1] J. Denner, E. Green, and S. Campe, “Learning to program in middle school: How pair programming helps and hinders intrepid exploration,” Journal of the Learning Sciences, vol. 30, no. 4-5, pp. 611–645, Oct. 2021.
[2] L. Ma, H. Luo, X. Liao, and J. Li, “Impact of Gender on STEAM Education in Elementary School: From Individuals to Group Compositions,” Behavioral Sciences, vol. 12, no. 9, p. 308, 2022.
[3] T. M. Chaplin and A. Aldao, “Gender differences in emotion expression in children: A meta-analytic review,” Psychol Bull, vol. 139, no. 4, pp. 735–765, Jul. 2013.
[4] O. Iskrenovic-Momcilovic, “Pair programming with scratch,” Educ Inf Technol, vol. 24, no. 5, pp. 2943–2952, Sep. 2019.
[5] L. Greifenstein, I. Graßl, and G. Fraser, “Challenging but full of opportunities: Teachers’ perspectives on programming in primary schools,” in 21st Koli Calling International Conference on Computing Education Research, 2021, pp. 1–10.
[6] T. Jenkins and J. Davy, “Diversity and Motivation in Introductory Programming,” Innovation in Teaching and Learning in Information and Computer Sciences, vol. 1, no. 1, pp. 1–9, Jan. 2002.
[7] S. Beyer, “Why are women underrepresented in Computer Science? Gender differences in stereotypes, self-efficacy, values, and interests and predictors of future CS course-taking and grades,” Computer Science Education, vol. 24, no. 2-3, pp. 153–192, Jul. 2014.
[8] S. Cheryan, A. Master, and A. N. Meltzoff, “Cultural stereotypes as gatekeepers: Increasing girls’ interest in computer science and engineering by diversifying stereotypes,” Front Psychol, vol. 6, p. 49, Feb. 2015.
[9] K. M. Ying, L. G. Pezzullo, M. Ahmed, K. Crompton, J. Blanchard, and K. E. Boyer, “In Their Own Words: Gender Differences in Student Perceptions of Pair Programming,” in Proceedings of the 50th ACM Technical Symposium on Computer Science Education. Minneapolis MN USA: ACM, Feb. 2019, pp. 1053–1059.
[10] K. Albusays, P. Bjorn, L. Dabbish, D. Ford, E. Murphy-Hill, A. Serebrenik, and M.-A. Storey, “The Diversity Crisis in Software Development,” IEEE Software, vol. 38, no. 2, pp. 19–25, Mar. 2021.
[11] K. S. Choi, “A comparative analysis of different gender pair combinations in pair programming,” Behaviour & Information Technology, 2015.
[12] O. Demir and S. S. Seferoglu, “The effect of determining pair pro- ¨ gramming groups according to various individual difference variables on group compatibility, flow, and coding performance,” Journal of Educational Computing Research, vol. 59, no. 1, pp. 41–70, 2021.
[13] K. Beck, Extreme Programming Explained: Embrace Change. USA: Addison-Wesley Longman Publishing Co., Inc., 1999.
[14] L. Williams, C. McDowell, N. Nagappan, J. Fernald, and L. Werner, “Building pair programming knowledge through a family of experiments,” in 2003 International Symposium on Empirical Software Engineering, 2003. ISESE 2003. Proceedings., Sep. 2003, pp. 143–152.
[15] A. Sullivan and M. U. Bers, “Girls, boys, and bots: Gender differences in young children’s performance on robotics and programming tasks,” Journal of Information Technology Education. Innovations in Practice, vol. 15, p. 145, 2016.
[16] I. Graßl and G. Fraser, “Gender-dependent contribution, code and creativity in a virtual programming course,” in Proceedings of the 17th Workshop in Primary and Secondary Computing Education, 2022, pp. 1–10.
[17] J. A. Liebenberg, “Secondary school girls’ experiences of pairprogramming in information technology,” Ph.D. dissertation, North-West University, 2010.
[18] C. Peterson, S. F. Maier, and M. E. Seligman, Learned Helplessness: A Theory for the Age of Personal Control. Oxford University Press, USA, 1993.
[19] M. Resnick, J. Maloney, A. Monroy-Hernandez, N. Rusk, E. Eastmond, ´ K. Brennan, A. Millner, E. Rosenbaum, J. Silver, B. Silverman, and Y. Kafai, “Scratch: Programming for all,” Communications of the ACM, vol. 52, no. 11, pp. 60–67, Nov. 2009.
[20] H. C¸ al and G. Can, “The Influence of Pair Programming on Secondary School Students’ Confidence and Achievement in Computer Programming,” Trakya Egitim Dergisi ˘ , vol. 10, no. 1, pp. 221–237, Jan. 2020.
[21] J. Denner, L. Werner, S. Campe, and E. Ortiz, “Pair programming: Under what conditions is it advantageous for middle school students?” Journal of Research on Technology in Education, vol. 46, no. 3, pp. 277–296, 2014.
[22] S. Papadakis, “Is pair programming more effective than solo programming for secondary education novice programmers?: A case study,” International Journal of Web-Based Learning and Teaching Technologies (IJWLTT), vol. 13, no. 1, pp. 1–16, 2018.
[23] A. Issaee, R. Motschnig, and O. Comber, “Pair-versus solo-programming of mini-games as a setting for learning to program: An Action Research approach,” in 2021 IEEE Frontiers in Education Conference (FIE). IEEE, 2021, pp. 1–9.
[24] S. B. Berenson, K. M. Slaten, L. Williams, and C.-W. Ho, “Voices of women in a software engineering course: Reflections on collaboration,” J. Educ. Resour. Comput., vol. 4, no. 1, p. 3, Mar. 2004.
[25] B. Hanks, “Problems encountered by novice pair programmers,” J. Educ. Resour. Comput., vol. 7, no. 4, pp. 1–13, Jan. 2008.
[26] L. Williams, D. S. McCrickard, L. Layman, and K. Hussein, “Eleven Guidelines for Implementing Pair Programming in the Classroom,” in Agile 2008 Conference. Toronto, ON, Canada: IEEE, 2008, pp. 445– 452.
[27] E. Harskamp, N. Ding, and C. Suhre, “Group composition and its effect on female and male problem-solving in science education,” Educational Research – EDUC RES, vol. 50, pp. 307–318, Dec. 2008.
[28] E. M. Pomerantz, J. L. Saxon, and G. A. Kenney, “Self-Evaluation: The Development of Sex Differences,” in Cognitive Social Psychology. Psychology Press, 2001.
[29] M.-T. Wang, J. L. Degol, J. Amemiya, A. Parr, and J. Guo, “Classroom climate and children’s academic and psychological wellbeing: A systematic review and meta-analysis,” Developmental Review, vol. 57, p. 100912, 2020.
[30] S.-C. Kong, M. Chiu, and M. Lai, “A study of primary school students’ interest, collaboration attitude, and programming empowerment in computational thinking education,” Computers & Education, vol. 127, Sep. 2018.
[31] B. Zhong, Q. Wang, and J. Chen, “The impact of social factors on pair programming in a primary school,” Computers in Human Behavior, vol. 64, pp. 423–431, Nov. 2016.
[32] O. S. Gomez, M. Solari, C. J. P. Calvache, and A. C. Ledezma, “A ´ Controlled Experiment on Productivity of Pair Programming Gender Combinations: Preliminary Results.” in CIbSE, 2017, pp. 679–692.
[33] J. Kung, A. Schmid, and D. Brovelli, “Gender and pair programming – ¨ Effects of the gender composition of pairs on collaboration in a robotics workshop,” Frontiers in Education, vol. 7, p. 7:973674, Aug. 2022.
[34] J. Tsan, K. E. Boyer, and C. F. Lynch, “How early does the CS gender gap emerge? A study of collaborative problem solving in 5th grade computer science,” in Proceedings of the 47th ACM Technical Symposium on Computing Science Education, 2016, pp. 388–393.
[35] M. Jiang, Y. Li, J. Zheng, and X. Han, “Gender group differences on behavior patterns in collaborative problem solving through LEGO,” Journal of Computers in Education, vol. 4, no. 2, pp. 127–145, 2017.
[36] L. Jarratt, N. A. Bowman, K. C. Culver, and A. M. Segre, “A largescale experimental study of gender and pair composition in pair programming,” in Proceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education, 2019, pp. 176–181.
[37] Z. Zhan, P. S. Fong, H. Mei, and T. Liang, “Effects of gender grouping on students’ group performance, individual achievements and attitudes in computer-supported collaborative learning,” Computers in Human Behavior, vol. 48, no. Complete, pp. 587–596, 2015.
[38] J. Tsan, J. Vandenberg, Z. Zakaria, D. C. Boulden, C. Lynch, E. Wiebe, and K. E. Boyer, “Collaborative dialogue and types of conflict: An analysis of pair programming interactions between upper elementary students,” in Proceedings of the 52nd ACM Technical Symposium on Computer Science Education, 2021, pp. 1184–1190.
[39] L. Sun, L. Hu, and D. Zhou, “Programming attitudes predict computational thinking: Analysis of differences in gender and programming experience,” Computers & Education, vol. 181, p. 104457, May 2022.
[40] K. Taylor and Y. Baek, “Grouping matters in computational robotic activities,” Computers in Human Behavior, vol. 93, pp. 99–105, 2019.
[41] J. R. Wieselmann, E. A. Dare, E. A. Ring-Whalen, and G. H. Roehrig, ““I Just Do What the Boys Tell Me”: Exploring Small Group Student Interactions in an Integrated STEM Unit,” Journal of Research in Science Teaching, vol. 57, no. 1, pp. 112–144, 2020.
[42] M. Roman-Gonz ´ alez, J.-C. P ´ erez-Gonz ´ alez, J. Moreno-Le ´ on, and ´ G. Robles, “Extending the nomological network of computational thinking with non-cognitive factors,” Computers in Human Behavior, vol. 80, p. 441, 2018.
[43] L. Williams, E. Wiebe, K. Yang, M. Ferzli, and C. Miller, “In support of pair programming in the introductory computer science course,” Computer Science Education, vol. 12, no. 3, pp. 197–212, 2002.
[44] I. Graßl, K. Geldreich, and G. Fraser, “Data-driven analysis of gender differences and similarities in scratch programs,” in The 16th Workshop in Primary and Secondary Computing Education, 2021, pp. 1–10.
[45] J. Buckley and C. Exton, “Bloom’s taxonomy: A framework for assessing programmers’ knowledge of software systems,” in 11th IEEE International Workshop on Program Comprehension, 2003. IEEE, 2003, pp. 165–174.
[46] S. Grover, R. Pea, and S. Cooper, “Designing for deeper learning in a blended computer science course for middle school students,” Computer science education, vol. 25, no. 2, pp. 199–237, 2015.
[47] E. Rubegni, M. Landoni, and L. Jaccheri, “Design for change with and for children: how to design digital storytelling tool to raise stereotypes awareness,” in Proceedings of the 2020 ACM Designing Interactive Systems Conference, 2020, pp. 505–518.
[48] J. C. Adams and A. R. Webster, “What do students learn about programming from game, music video, and storytelling projects?” in Proceedings of the 43rd ACM technical symposium on Computer Science Education, 2012, pp. 643–648.
[49] J. C. Read, “Validating the fun toolkit: an instrument for measuring children’s opinions of technology,” Cognition, Technology & Work, vol. 10, no. 2, pp. 119–128, 2008.
[50] G. Fraser, U. Heuer, N. Korber, E. Wasmeier ¨ et al., “Litterbox: A linter for scratch programs,” in 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET). IEEE, 2021, pp. 183–188.
[51] F. Obermuller, L. Bloch, L. Greifenstein, U. Heuer, and G. Fraser, “Code ¨ perfumes: Reporting good code to encourage learners,” in The 16th Workshop in Primary and Secondary Computing Education, 2021, pp. 1–10.
[52] N. Borgers, D. Sikkel, and J. Hox, “Response effects in surveys on children and adolescents: The effect of number of response options, negative wording, and neutral mid-point,” Quality and Quantity, vol. 38, no. 1, pp. 17–33, 2004.
[53] J. Robertson, “Making games in the classroom: Benefits and gender concerns,” Computers & Education, vol. 59, no. 2, pp. 385–398, 2012.
[54] T. Benade and J. Liebenberg, “Pair programming as a learning method ´ beyond the context of programming,” in Proceedings of the 6th Computer Science Education Research Conference, 2017, pp. 48–55.
[55] S. Campe, J. Denner, E. Green, and D. Torres, “Pair programming in middle school: Variations in interactions and behaviors,” Computer Science Education, vol. 30, no. 1, pp. 22–46, Jan. 2020.
[56] A. Sullivan and M. Bers, “VEX Robotics Competitions: Gender Differences in Student Attitudes and Experiences,” Journal of Information Technology Education: Research, vol. 18, pp. 097–112, Jan. 2019.
[57] R. Roque, N. Rusk, and M. Resnick, “Supporting Diverse and Creative Collaboration in the Scratch Online Community,” in Mass Collaboration and Education, U. Cress, J. Moskaliuk, and H. Jeong, Eds. Cham: Springer International Publishing, 2016, pp. 241–256.
[58] L. Seiter and B. Foreman, “Modeling the learning progressions of computational thinking of primary grade students,” in Proceedings of the ninth annual international ACM conference on International computing education research, 2013, pp. 59–66.
[59] E. Aivaloglou, F. Hermans, J. Moreno-Leon, and G. Robles, “A Dataset of Scratch Programs: Scraped, Shaped and Scored,” in 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR). Buenos Aires, Argentina: IEEE, May 2017, pp. 511–514.