Skip to main content
Log in

Learning motivation, outcomes, and anxiety in programming courses—A computational thinking–centered method

  • Published:
Education and Information Technologies Aims and scope Submit manuscript

Abstract

Many students want to enroll in programming courses but fear the challenges ahead. They aspire to design quality systems or games after acquiring related skills but report concerns that programming logic is too difficult to learn because memorization of the syntax is required. Thus, they experience anxiety, are demotivated to learn, and, regretfully, may never enroll in programming courses. Computational thinking (CT) is a favorable method currently used in learning logic. This study proposed an easily implementable standard operating procedure for CT and incorporated it into programming courses; students were instructed and enabled to clarify the logical sequence before beginning to write a program. The standard operating procedure for CT contains five training steps, identify the problem, formulate the problem-solving steps, organize and summarize, draw a flowchart, and write a program. This kind of training can help students clarify the logical order more clearly to facilitate writing programs, thereby improving motivation to learn, reducing learning anxiety, and ultimately improving learning outcomes. The experiment results revealed significant results regarding the learning outcomes, motivation to learn, and learning anxiety of the experimental group learning programming through CT-centered teaching in comparison with those of the group learning through conventional teaching. Additionally, for female students, who were revealed to be initially less capable of logical thinking than male students, the following post intervention improvements were observed: adequate improvement in learning outcomes, increased motivation to learn, and reduced learning anxiety.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Data availability

The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.

References

  • Barr, V., & Stephenson, C. (2011). Bringing computational thinking to K-12: What is involved and what is the role of the computer science education community? ACM Inroads, 2(1), 48–54.

    Google Scholar 

  • Brackmann, C.P., Roman-Gonzalez, M., Robles, G., Moreno-Leon, J., Casali, A., & Barone, D. (2017). Development of computational thinking skills through unplugged activities in primary school. In Proceedings of the 12th workshop on primary and secondary computing education (pp. 65–72).

  • Brougham, J., Freeman, S., & Jaeger, B. (2003). Pair programming: More learning and less anxiety in a first programming course. In 2003 Annual Conference (pp. 8–912).

  • Bruner, J. S. (1960). The process of education. Vintage Books.

    Google Scholar 

  • Bruner, J. S. (1966). Toward a theory of instruction. Harvard University Press.

    Google Scholar 

  • Buitrago Flórez, F., Casallas, R., Hernández, M., Reyes, A., Restrepo, S., & Danies, G. (2017). Changing a generation’s way of thinking: Teaching computational thinking through programming. Review of Educational Research, 87(4), 834–860.

    Google Scholar 

  • Chang, S. E. (2005). Computer anxiety and perception of task complexity in learning programming-related skills. Computers in Human Behavior, 21(5), 713–728.

    Google Scholar 

  • Chang, L. C., & Lin, W. C. (2022). Improving computational thinking and teamwork by applying balanced scorecard for sustainable development. Sustainability, 14(18), 11723.

    Google Scholar 

  • Chen, M. F., Chen, Y. C., Zuo, P. Y., & Hou, H. T. (2023). Design and evaluation of a remote synchronous gamified mathematics teaching activity that integrates multi-representational scaffolding and a mind tool for gamified learning. Education and Information Technologies, 28, 13207–13233

  • Cheng, Y. P., Shen, P. D., Hung, M. L., Tsai, C. W., Lin, C. H., & Hsu, L. C. (2022). Applying online content-based knowledge awareness and team learning to develop students’ programming skills, reduce their anxiety, and regulate cognitive load in a cloud classroom. Universal Access in the Information Society, 21(2), 557–572.

    Google Scholar 

  • Deek, F. P., Kimmel, H., & McHugh, J. A. (1998). Pedagogical changes in the delivery of the first-course in computer science: Problem solving, then programming. Journal of Engineering Education, 87, 313–320.

    Google Scholar 

  • del Olmo-Muñoz, J., Cózar-Gutiérrez, R., & González-Calero, J. A. (2020). Computational thinking through unplugged activities in early years of primary education. Computers & Education, 150, 103832.

    Google Scholar 

  • Demir, F. (2022). The effect of different usage of the educational programming language in programming education on the programming anxiety and achievement. Education and Information Technologies, 27(3), 4171–4194.

    Google Scholar 

  • Djelil, F., & Sanchez, E. (2023). Game design and didactic transposition of knowledge. The case of progo, a game dedicated to learning object-oriented programming. Education and Information Technologies, 28(1), 283–302.

    Google Scholar 

  • Gouws, L. A., Bradshaw, K., & Wentworth, P. (2013). Computational thinking in educational activities: an evaluation of the educational game light-bot. In Proceedings of the 18th ACM conference on Innovation and technology in computer science education (pp. 10–15).

  • Govender, I., & Grayson, D. (2006). Learning to program and learning to teach programming: A closer look. In EdMedia+ Innovate Learning (pp. 1687–1693). Association for the Advancement of Computing in Education (AACE).

  • Hamzah, A. (2021). Flipped classroom in programming course: A systematic literature review. International Journal of Emerging Technologies in Learning, 16(2), 220–236.

    MathSciNet  Google Scholar 

  • He, Y. Y., Chang, C. K., & Liu, B. J. (2010). Teaching computer programming for freshmen: A study on using scratch as remedial teaching. International Journal on Digital Learning Technology, 2(1), 11–32.

    Google Scholar 

  • Hou, H. T. (2022). Augmented reality board game with multidimensional scaffolding mechanism: A potential new trend for effective organizational strategic planning training. Frontiers in Psychology, 13, 5515.

    Google Scholar 

  • Hsu, T. C., Chang, S. C., & Hung, Y. T. (2018). How to learn and how to teach computational thinking: Suggestions based on a review of the literature. Computers & Education, 126, 296–310.

    Google Scholar 

  • Huang, W., & Looi, C. K. (2021). A critical review of literature on “unplugged” pedagogies in K-12 computer science and computational thinking education. Computer Science Education, 31, 83–111.

    Google Scholar 

  • Iqbal Malik, S., & Coldwell-Neilson, J. (2017). Impact of a new teaching and learning approach in an introductory programming course. Journal of Educational Computing Research, 55(6), 789–819.

    Google Scholar 

  • Jansson, B., & Najstrom, M. (2009). Is pre-attentive bias predictive of auto-nomicreactivity in response to a stressor? Journal of Anxiety Disorders, 23(3), 374–380.

    Google Scholar 

  • Kalelioğlu, F., Gülbahar, Y., & Kukul, V. (2016). A framework for computational thinking based on a systematic research review. Baltic Journal of Modern Computing, 4(3), 583–596.

    Google Scholar 

  • Kanika, Chakraverty, S., & Chakraborty, P. (2020). Tools and Techniques for Teaching Computer Programming: A Review. Journal of Educational Technology Systems, 49(2), 170–198.

    Google Scholar 

  • Kazimoglu, C., Kiernan, M., Bacon, L., & MacKinnon, L. (2012a). A serious game for developing computational thinking and learning introductory computer programming. Procedia-Social and Behavioral Sciences, 47, 1991–1999.

    Google Scholar 

  • Kazimoglu, C., Kiernan, M., Bacon, L., & MacKinnon, L. (2012b). Learning programming at the computational thinking level via digital game-play. Procedia Computer Science, 9, 522–531.

    Google Scholar 

  • Kelleher, C., & Pausch, R. (2005). Lowering the barriers to programming: A taxonomy of programming environments and languages for novice programmers. ACM Computing Surveys, 37(2), 83–137.

    Google Scholar 

  • Kelly, M. M., Tyrka, A. R., Anderson, G. M., Price, L. H., & Carpenter, L. L. (2008). Sex differences in emotional and physiological responses to the trier social stress test. Journal of Behavior Therapy and Experimental Psychiatry, 39(1), 87–98.

    Google Scholar 

  • Kılıç, S., Gökoğlu, S., & Öztürk, M. (2021). A valid and reliable scale for developing programming-oriented computational thinking. Journal of Educational Computing Research, 59(2), 257–286.

    Google Scholar 

  • Kirsner, K. (1998). Implicit and explicit mental processes. LEA.

    Google Scholar 

  • Lau, W.W.-F., & Yuen, A.H.-K. (2008). Exploring the effects of gender and learning styles on computer programming performance: Implications for programming pedagogy. British Journal of Educational Technology, 40(4), 696–712.

    Google Scholar 

  • Lin, Y. C., & Hou, H. T. (2022). The evaluation of a scaffolding-based augmented reality educational board game with competition-oriented and collaboration-oriented mechanisms: Differences analysis of learning effectiveness, motivation, flow, and anxiety. Interactive Learning Environments, 1–20.

  • Lin, H. C. K., Lin, Y. H., Wang, T. H., Su, L. K., & Huang, Y. M. (2021). Effects of incorporating augmented reality into a board game for high school students’ learning motivation and acceptance in health education. Sustainability, 13(6), 3333.

    Google Scholar 

  • López-Fernández, D., Gordillo, A., Alarcón, P. P., & Tovar, E. (2021). Comparing traditional teaching and game-based learning using teacher-authored games on computer science education. IEEE Transactions on Education, 64(4), 367–373.

    Google Scholar 

  • Lye, S. Y., & Koh, J. H. L. (2014). Review on teaching and learning of computational thinking through programming: What is next for K-12? Computers in Human Behavior, 41, 51–61.

    Google Scholar 

  • Malik, S. I., Mathew, R., Al-Sideiri, A., Jabbar, J., Al-Nuaimi, R., & Tawafak, R. M. (2022). Enhancing problem-solving skills of novice programmers in an introductory programming course. Computer Applications in Engineering Education, 30(1), 174–194.

    Google Scholar 

  • Mathew, R., Malik, S. I., & Tawafak, R. M. (2019). Teaching problem solving skills using an educational game in a computer programming course. Informatics in Education, 18(2), 359–373.

    Google Scholar 

  • Maurer, M. M. & Simonson, M. R. (1984). Development and validation of a Measure of computer anxiety. Paper presented at the Annual Meeting of the Association for Educational Communications and Technology.

  • National Research Council. (2010). Report of a workshop on the scope and nature of computational thinking. National Academies Press.

  • Naukkarinen, J. K., & Bairoh, S. (2020). STEM: A help or a hinderance in attracting more girls to engineering?. Journal ofengineering education, 109(2), 177–193.

  • Olipas, C. N. (2022). A phenomenological study on the feelings, challenges, and difficulties experienced by information technology students in learning computer programming. Path of Science, 8(7), 2001–2006.

    Google Scholar 

  • Papert, S. (1980). Mindstorms: Children, computers, and powerful ideas. Basic Books, Inc.

    Google Scholar 

  • Piaget, J. (1955). The language and thought of the child. The World Publishing Co.

    Google Scholar 

  • Pintrich, P.R., Smith, D.A.F., Garcia, T., & McKeachie, W.J. (1991). A manual for the use of the motivated strategies for learning questionnaire (MSLQ). MI: National Center for Research to Improve Postsecondary Teaching and Learning. (ERIC Document Reproduction Service No. ED 338122)

  • Prieto-Rodriguez, E., Sincock, K., Blackmore, K. (2020). STEM initiatives matter: Results from a systematic review of secondary school interventions for girls. International Journal of Science Education 42, 1144–1161.

  • Relkin, E., de Ruiter, L. E., & Bers, M. U. (2021). Learning to code and the acquisition of computational thinking by young children. Computers & Education, 169, 104222.

    Google Scholar 

  • Román-González, M., Pérez-González, J. C., & Jiménez-Fernández, C. (2017). Which cognitive abilities underlie computational thinking? Criterion validity of the computational chinking test. Computers in Human Behavior, 72, 678–691.

    Google Scholar 

  • Sansone, C., & Harackiewicz, J. (2000). Intrinsic and extrinsic motivation: The search for optimal motivation and performance. Academic Press.

    Google Scholar 

  • Saxena, A., Lo, C. K., Hew, K. F., & Wong, G. K. W. (2020). Designing unplugged and plugged activities to cultivate computational thinking: An exploratory study in early childhood education. Asia-Pac. Educ. Res., 29, 55–66.

    Google Scholar 

  • Stupurienė, G., Jevsikova, T., & Juškevičienė, A. (2022). Solving ecological problems through physical computing to ensure gender balance in STEM education. Sustainability, 14(9), 4924.

  • Tang, X., Yin, Y., Lin, Q., Hadad, R., & Zhai, X. (2020). Assessing computational thinking: A systematic review of empirical studies. Computers & Education, 148, 103798.

    Google Scholar 

  • Tedre, M. & Denning, P. J. (2016). The long quest for computational thinking. Koli Calling Conference on Computing Education Research, 120–129.

  • Tikva, C., & Tambouris, E. (2021). Mapping computational thinking through programming in K-12 education: A conceptual model based on a systematic literature Review. Computers & Education, 162, 104083.

    Google Scholar 

  • Venkatesh, V. (2000). Determinants of perceived ease of use: Integrating control, intrinsic motivation, and emotion into the technology acceptance model. Information Systems Research, 11(4), 342–365.

    Google Scholar 

  • Voogt, J., Fisser, P., Good, J., Mishra, P., & Yadav, A. (2015). Computational thinking in compulsory education: Towards an agenda for research and practice. Education and Information Technologies, 20(4), 715–728.

    Google Scholar 

  • Wang, L. C., & Chen, M. P. (2010). The effects of game strategy and preference-matching on flow experience and programming performance in game-based learning. Innovations in Education and Teaching International, 47(1), 39–52.

    Google Scholar 

  • Wang, C., Shen, J., & Chao, J. (2022). Integrating computational thinking in STEM education: A literature review. International Journal of Science and Mathematics Education, 20(8), 1949–1972.

    Google Scholar 

  • Wei, X., Lin, L., Meng, N., Tan, W., & Kong, S. C. (2021). The effectiveness of partial pair programming on elementary school students’ computational thinking skills and self-efficacy. Computers & Education, 160, 104023.

    Google Scholar 

  • Weintrop, D., Beheshti, E., Horn, M., Orton, K., Jona, K., Trouille, L., & Wilensky, U. (2016). Defining computational thinking for mathematics and science classrooms. Journal of Science Education and Technology, 25(1), 127–147.

    Google Scholar 

  • Wing, J. M. (2006). Computational thinking. Communications of the ACM, 49(3), 33–35.

    Google Scholar 

  • Wing, J. M. (2008). Computational thinking and thinking about computing. Philosophical Transactions of the Royal Society, 366, 3717–3725.

    MathSciNet  Google Scholar 

  • Xu, E., Wang, W., & Wang, Q. (2023). A meta-analysis of the effectiveness of programming teaching in promoting K-12 students’ computational thinking. Education and Information Technologies, 28(6), 6619–6644.

  • Yi, M. Y., & Hwang, Y. (2003). Predicting the use of web-based information systems: Self-efficacy, enjoyment, learning goal orientation, and the technology acceptance model. International Journal of Human-Computer Studies, 59(4), 431–449.

    Google Scholar 

  • Yu, J., Denham, A. R., & Searight, E. (2022). A systematic review of augmented reality game-based Learning in STEM education. Educational Technology Research and Development, 70(4), 1169–1194.

    Google Scholar 

  • Zapata-Cáceres, M., & Martín-Barroso, E. (2021). Applying game learning analytics to a voluntary video game: Intrinsic motivation, persistence, and rewards in learning to program at an early age. IEEE Access, 9, 123588–123602.

    Google Scholar 

  • Zhang, J. H., Meng, B., Zou, L. C., Zhu, Y., & Hwang, G. J. (2021). Progressive flowchart development scaffolding to improve university students’ computational thinking and programming self-efficacy. Interactive Learning Environments, 1–18.

  • Zhao, D., Muntean, C. H., Chis, A. E., Rozinaj, G., & Muntean, G. M. (2022). Game-based learning: Enhancing student experience, knowledge gain, and usability in higher education programming courses. IEEE Transactions on Education, 65(4), 502–513.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lung-Chun Chang.

Ethics declarations

Conflict of interest

None.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chang, LC., Lin, HR. & Lin, JW. Learning motivation, outcomes, and anxiety in programming courses—A computational thinking–centered method. Educ Inf Technol 29, 545–569 (2024). https://doi.org/10.1007/s10639-023-12313-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10639-023-12313-3

Keywords

Navigation