A Gender-Based Comparison of the Effects of Face-to-Face and Online Learning on Student Performance in Introductory Computer Science Courses


  • Ali Alshammari


Computer Science; Gender studies; Introductory Computer Science teaching; Online Learning


Introductory computer science courses help students, regardless of their majors, keep up with the rapid pace of change in the workplace. However, such courses are commonly perceived as being difficult. Although many studies have discussed the importance of online introductory computer science courses, there is a dearth of studies investigating the effectiveness of this delivery mode when the same assessment tools are used as in the traditional delivery mode. Moreover, it is unclear how students of different genders perform in both online and traditional face-to-face introductory computer science course sections when they receive the same instructional content. The purpose of this study is to expand the existing literature by examining the academic achievement of students in an introductory computer science course through the evaluation of grades obtained from online and traditional face-to-face course sections. Additionally, the study aims to explore any gender-based variations between the two delivery modes. The sample size included 589 first-year students in an introductory computer science course at a public university in Saudi Arabia. The participants were selected randomly from different sections. The results confirm the findings of previous studies suggesting that there are no gender-based differences in students’ performance in introductory computer science. Additionally, this study makes a valuable contribution to the existing body of literature by demonstrating that students who receive introductory computer science instruction through online delivery mode achieve significantly higher performance than students who receive the same instruction through traditional face-to-dace delivery mode. Moreover, this study found that both female and male students who receive introductory computer science instruction through online delivery mode perform significantly better than male students who receive instruction through traditional face-to-face delivery mode, indicating that online learning may be a more effective mode of delivery for students of both genders.



Adkins, J. K., & Linville, D. (2017). Testing frequency in an introductory computer programming course. Information Systems Education Journal, 15(3), 22-28.

Alshammari, A. N. (2018). She Is a Computer Scientist: A Quantitative Comparison between the Effectiveness of Game Design Studios and Robotics at Enhancing Women's Learning of, Self-Efficacy in, Attitudes toward, and Domain Identification with Computer Science (Doctoral dissertation, Purdue University).?

Alvarado, C., Umbelino, G., & Minnes, M. (2018, February). The persistent effect of pre-college computing experience on college CS course grades. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (pp. 876-881). https://doi.org/10.1145/3159450.3159508

Becker, B. A., & Quille, K. (2019, February). 50 years of cs1 at sigcse: A review of the evolution of introductory programming education research. In Proceedings of the 50th acm technical symposium on computer science education (pp. 338-344). https://doi.org/10.1145/3287324.3287432

Bennedsen, J., & Caspersen, M. E. (2019). Failure rates in introductory programming: 12 years later. ACM inroads, 10(2), 30-36. https://doi.org/10.1145/3324888

Bigman, M., Roy, E., Garcia, J., Suzara, M., Wang, K., & Piech, C. (2021, March). PearProgram: A More Fruitful Approach to Pair Programming. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education (pp. 900-906). https://doi.org/10.1145/3408877.3432517

Blaney, J. M., & Stout, J. G. (2017, March). Examining the relationship between introductory computing course experiences, self-efficacy, and belonging among first-generation college women. In Proceedings of the 2017 ACM SIGCSE Technical Symposium on Computer Science Education (pp. 69-74). https://doi.org/10.1145/3017680.3017751

Bresnihan, N., Bray, A., Fisher, L., Strong, G., Millwood, R., & Tangney, B. (2021). Parental Involvement in Computer Science Education and Computing Attitudes and Behaviours in the Home: Model and Scale Development. ACM Transactions on Computing Education, 21(3), 1-24. https://doi.org/10.1145/3440890

Brown, D. W., Ghafoor, S. K., & Canfield, S. (2018, July). Instruction of introductory programming course using multiple contexts. In Proceedings of the 23rd Annual ACM Conference on Innovation and Technology in Computer Science Education (pp. 147-152). https://doi.org/10.1145/3197091.3197105

Burbait?, R., Dr?sut?, V., & Štuikys, V. (2018, April). Integration of computational thinking skills in STEM-driven computer science education. In 2018 IEEE Global Engineering Education Conference (EDUCON) (pp. 1824-1832). IEEE. https://doi.org/10.1109/educon.2018.8363456

Coffman-Wolph, S., & Gray, K. (2019). Fun and Interactive Activities for an Introductory Computer Science Course of 200 Students. In ASEE Gulf-Southwest Section Annual Meeting 2018 Papers. American Society for Engineering Education.

Daungtod, S. (2019, January). A study of digital literacy of 1st year computer education students faculty of education Nakhon Phanom University. In Proceedings of the 10th International Conference on E-Education, E-Business, E-Management and E-Learning (pp. 241-244). https://doi.org/10.1145/3306500.3306541

Dawson, J. Q., Allen, M., Campbell, A., & Valair, A. (2018, February). Designing an introductory programming course to improve non-majors' experiences. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (pp. 26-31). https://doi.org/10.1145/3159450.3159548

Dengel, A. (2019, October). Computer Science Replugged: What Is the Use of Virtual Reality in Computer Science Education? In Proceedings of the 14th Workshop in Primary and Secondary Computing Education (pp. 1-3). https://doi.org/10.1145/3361721.3362113

Drabowicz, T. (2014). Gender and digital usage inequality among adolescents: a comparative study of 39 countries. Computers & Education, 74 (1), 98-111. https://doi.org/10.1016/j.compedu.2014.01.016

Duran, R., Haaranen, L., & Hellas, A. (2020, February). Gender differences in introductory programming: comparing MOOCs and local courses. In Proceedings of the 51st ACM Technical Symposium on Computer Science Education (pp. 692-698). https://doi.org/10.1145/3328778.3366852

Finlayson, I. (2020). The effect of gender on student self-assessment in introductory computer science classes. Journal of Computing Sciences in Colleges, 36(3), 102-110.

Förster, A., Dede, J., Udugama, A., Förster, A., Helms, D., Kniefs, L., ... & Kulmann, J. (2021). A Blended Learning Approach for an Introductory Computer Science Course. Education Sciences, 11(8), 372. https://doi.org/10.3390/educsci11080372

Ghafoor, S. K., Brown, D. W., Rogers, M., & Hines, T. (2019, July). Unplugged activities to introduce parallel computing in introductory programming classes: An experience report. In Proceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education (pp. 309-309). https://doi.org/10.1145/3304221.3325573

Gülbahar, Y., & Kalelio?lu, F. (2017). Competencies of High School Teachers and Training Needs for Computer Science Education. In Proceedings of the 6th Computer Science Education Research Conference (pp. 26-31). https://doi.org/10.1145/3162087.3162092

Hao, Q., Barnes, B., Wright, E., & Kim, E. (2018, February). Effects of active learning environments and instructional methods in computer science education. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (pp. 934-939). https://doi.org/10.1145/3159450.3159451

He, X. (2020, September). Teaching Introductory Programming Online: Lessons Learned. In Proceedings of the Southern Association for Information Systems Conference (p. 1).

Jayathirtha, G., & Kafai, Y. B. (2019, February). Electronic textiles in computer science education: a synthesis of efforts to broaden participation, increase interest, and deepen learning. In Proceedings of the 50th ACM technical symposium on computer science education (pp. 713-719). https://doi.org/10.1145/3287324.3287343

Jiang, X., Liu, W., & Liu, J. (2019, November). Learning Analytics in a Blended Computer Education Course. In Proceedings of the International Workshop on Artificial Intelligence and Education (pp. 6-12). https://doi.org/10.1145/3397453.3397456

Kanika, Chakraverty, S., & Chakraborty, P. (2020). Tools and techniques for teaching computer programming: A review. Journal of Educational Technology Systems, 49(2), 170-198. https://doi.org/10.1177/0047239520926971

Khan, I. A., Iftikhar, M., Hussain, S. S., Rehman, A., Gul, N., Jadoon, W., & Nazir, B. (2020). Redesign and validation of a computer programming course using Inductive Teaching Method. PloS one, 15(6). https://doi.org/10.1371/journal.pone.0233716

Kortsarts, Y., Akhuseyinoglu, K., Barria-Pineda, J., & Brusilovsky, P. (2020). Integrating personalized online practice into an introductory programming course. Journal of Computing Sciences in Colleges, 35(8), 264-266.

Lishinski, A., & Yadav, A. (2021). Self-evaluation Interventions: Impact on Self-efficacy and Performance in Introductory Programming. ACM Transactions on Computing Education (TOCE), 21(3), 1-28. https://doi.org/10.1145/3447378

Long, J., & Harrington, B. (2019, May). A Statistical Analysis of Drop Rates in Introductory Computer Science by Gender and Partial Grade. In Proceedings of the Western Canadian Conference on Computing Education (pp. 1-2). https://doi.org/10.1145/3314994.3325081

Lunn, S., Marques Samary, M., & Peterfreund, A. (2021, March). Where is Computer Science Education Research Happening?. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education (pp. 288-294). https://doi.org/10.1145/3408877.3432375

Malik, K. M., & Zhu, M. (2023). Do project-based learning, hands-on activities, and flipped teaching enhance student’s learning of introductory theoretical computing classes?. Education and Information Technologies, 28(3), 3581-3604. https://doi.org/10.1007/s10639-022-11350-8

Marasco, E. A., Moshirpour, M., Moussavi, M., Behjat, L., & Amannejad, Y. (2018, June). Evidence-based best practices for first-year blended learning implementation. In 2018 ASEE Annual Conference & Exposition. https://doi.org/10.18260/1-2--30457

Mason, T., Gavrilovska, A., & Joyner, D. A. (2019, February). Collaboration versus cheating: Reducing code plagiarism in an online MS computer science program. In Proceedings of the 50th ACM Technical Symposium on Computer Science Education (pp. 1004-1010). https://doi.org/10.1145/3287324.3287443

McBroom, J., Koprinska, I., & Yacef, K. (2020, February). Understanding gender differences to improve equity in computer programming education. In Proceedings of the Twenty-Second Australasian Computing Education Conference (pp. 185-194). https://doi.org/10.1145/3373165.3373186

McCane, B., Ott, C., Meek, N., & Robins, A. (2017, January). Mastery learning in introductory programming. In Proceedings of the Nineteenth Australasian Computing Education Conference (pp. 1-10). https://doi.org/10.1145/3013499.3013501

Moissinac, B., Parham-Mocello, J., & Pappas, R. (2020, February). CS Student Laptop and Computer Lab Usage as a Factor of Success in Computing Education. In Proceedings of the 51st ACM Technical Symposium on Computer Science Education (pp. 353-359). https://doi.org/10.1145/3328778.3366854

Narasareddygari, M. R., Walia, G. S., Radermacher, A., & Borchert, O. (2018, June). Evaluating learning engagement strategies in a cyber learning environment during introductory computer programming courses-An empirical investigation. In ASEE Annual Conference and Exposition, Conference Proceedings (Vol. 2018).

Ott, L., Bettin, B., & Ureel, L. (2018, July). The impact of placement in introductory computer science courses on student persistence in a computing major. In Proceedings of the 23rd Annual ACM Conference on Innovation and Technology in Computer Science Education (pp. 296-301). https://doi.org/10.1145/3197091.3197139

Pappas, I. O., Giannakos, M. N., Jaccheri, L., & Sampson, D. G. (2017). Assessing student behavior in computer science education with an fsQCA approach: The role of gains and barriers. ACM Transactions on Computing Education (TOCE), 17(2), 1-23. https://doi.org/10.1145/3036399

Pereira, F. D., Oliveira, E. H., Oliveira, D. B., Cristea, A. I., Carvalho, L. S., Fonseca, S. C., ... & Isotani, S. (2020). Using learning analytics in the Amazonas: understanding students’ behaviour in introductory programming. British journal of educational technology, 51(4), 955-972. https://doi.org/10.1111/bjet.12953

Peteranetz, M. S., Flanigan, A. E., Shell, D. F., & Soh, L. K. (2018). Helping engineering students learn in introductory computer science (CS1) using computational creativity exercises (CCEs). IEEE Transactions on Education, 61(3), 195-203. https://doi.org/10.1109/te.2018.2804350

Robins, A. V. (2019). 12 novice programmers and introductory programming. The Cambridge handbook of computing education research, 327. https://doi.org/10.1017/9781108654555.013

Sáinz, M., & López-Sáez, M. (2010). Gender differences in computer attitudes and the choice of technology-related occupations in a sample of secondary students in Spain. Computers & Education, 54(2), 578-587. https://doi.org/10.1016/j.compedu.2009.09.007

Sendurur, P. (2019). Investigation of pre-service computer science Teachers’ CS-unplugged design practices. Education and Information Technologies, 24(6), 3823-3840. https://doi.org/10.1007/s10639-019-09964-6

Shirai, S., Nagataki, H., Nishida, T., & Takemura, H. (2021, March). A Case Study of Redesigning an Introductory CS Course into Fully Online and its Evaluation. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education (pp. 1274-1274). https://doi.org/10.1145/3408877.3439675

Srivatanakul, T. (2022). Emerging from the pandemic: instructor reflections and students’ perceptions on an introductory programming course in blended learning. Education and Information Technologies, 1-23. https://doi.org/10.1007/s10639-022-11328-6

U.S. Bureau of Labor Statistics. (2021, November 01). Employment Projections — 2020–2030. https://www.bls.gov/news.release/pdf/ecopro.pdf

Watson, C., & Li, F. W. (2014, June). Failure rates in introductory programming revisited. In Proceedings of the 2014 conference on Innovation & technology in computer science education (pp. 39-44). https://doi.org/10.1145/2591708.2591749

Weintrop, D., Hansen, A. K., Harlow, D. B., & Franklin, D. (2018, August). Starting from Scratch: Outcomes of early computer science learning experiences and implications for what comes next. In Proceedings of the 2018 ACM conference on international computing education research (pp. 142-150). https://doi.org/10.1145/3230977.3230988

Wilcox, C., & Lionelle, A. (2018, February). Quantifying the benefits of prior programming experience in an introductory computer science course. In Proceedings of the 49th acm technical symposium on computer science education (pp. 80-85). https://doi.org/10.1145/3159450.3159480

Xu, D., Wolz, U., Kumar, D., & Greenburg, I. (2018, February). Updating introductory computer science with creative computation. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (pp. 167-172). https://doi.org/10.1145/3159450.3159539

Zendler, A., & Reile, S. (2018). The effect of reciprocal teaching and programmed instruction on learning outcome in computer science education. Studies in Educational Evaluation, 58(1), 132–144. https://doi.org/10.1016/j.stueduc.2018.05.008

Zeuch, K., Kaven, S., & Skwarek, V. (2019, September). Evaluation of a re-designed introductory course “Programming in C” with video support. In 2019 18th International Conference on Information Technology Based Higher Education and Training (ITHET) (pp. 1-6). IEEE.