Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3450329.3476855acmconferencesArticle/Chapter ViewAbstractPublication PagesiteConference Proceedingsconference-collections
research-article

Revisiting Syntax Exercises in CS1

Published: 06 October 2021 Publication History

Abstract

Previous work has suggested that adopting a "syntax-first pedagogy'' in introductory programming (CS1) improved student retention and performance. To confirm these results, we added syntax exercises to an existing CS1 course. A quasi-experimental design was used, with topics with and without a syntax exercise introduction being compared. Data collected includes performance (number of submissions and time spent) on weekly exercises and assignments as well as student evaluations collected weekly and at the end of the term. Our observations suggest that a syntax-first approach improves student performance in the short-term. Students generally performed better on weekly exercises introduced using the syntax exercises, in terms of both the number of submissions required and time spent, than they did on exercises that were not. Furthermore, the reductions in time required to solve the existing weekly exercises partially offset the time required by the new syntax-focused exercises, and students, particularly those with less prior experience, valued the new syntax exercises. Our results suggest that adopting a syntax-first approach may have benefits for students with lower prior experience, and we encourage additional work, both to evaluate a fully-converted syntax-first course and to assess syntax exercises in a more controlled setting.

References

[1]
Alireza Ahadi, Raymond Lister, Shahil Lal, and Arto Hellas. 2018. Learning Programming, Syntax Errors and Institution-Specific Factors. In Proceedings of the 20th Australasian Computing Education Conference . ACM, 90--96.
[2]
Tim Bell and Jan Vahrenhold. 2018. CS Unplugged-How Is It Used, and Does It Work? In Adventures between lower bounds and higher altitudes. Springer, 497--521.
[3]
Dianne P Bills and John A Biles. 2005. The role of programming in IT. In Proceedings of the 6th conference on Information technology education. 43--49.
[4]
Neil C.C. Brown and Amjad Altadmri. 2014. Investigating Novice Programming Mistakes: Educator Beliefs vs. Student Data. In Proceedings of the Tenth Annual Conference on International Computing Education Research . ACM, 43--50.
[5]
Neil CC Brown, Amjad Altadmri, and Michael Kölling. 2016. Frame-based editing: Combining the best of blocks and text programming. In 2016 International Conference on Learning and Teaching in Computing and Engineering (LaTICE) . IEEE, 47--53.
[6]
Paul Denny, Andrew Luxton-Reilly, and Ewan Tempero. 2012. All Syntax Errors Are Not Equal. In Proceedings of the 17th ACM Annual Conference on Innovation and Technology in Computer Science Education . ACM, 75--80.
[7]
Paul Denny, Andrew Luxton-Reilly, Ewan Tempero, and Jacob Hendrickx. 2011. Understanding the Syntax Barrier for Novices. In Proceedings of the 16th Conference on Innovation and Technology in Computer Science Education. ACM, 208--212.
[8]
John Edwards, Joseph Ditton, Dragan Trninic, Hillary Swanson, Shelsey Sullivan, and Chad Mano. 2020. Syntax Exercises in CS1. In Proceedings of the 2020 ACM Conference on International Computing Education Research. ACM, 216--226.
[9]
John M Edwards, Erika K Fulton, Jonathan D Holmes, Joseph L Valentin, David V Beard, and Kevin R Parker. 2018. Separation of syntax and problem solving in Introductory Computer Programming. In 2018 IEEE Frontiers in Education Conference (FIE). IEEE, 1--5.
[10]
K Anders Ericsson, Ralf T Krampe, and Clemens Tesch-Römer. 1993. The role of deliberate practice in the acquisition of expert performance. Psychological review, Vol. 100, 3 (1993), 363.
[11]
Anne Louise Fay and Richard E Mayer. 1994. Benefits of teaching design skills before teaching logo computer programming: Evidence for syntax-independent learning. Journal of Educational Computing Research, Vol. 11, 3 (1994), 187--210.
[12]
Yvon Feaster, Luke Segars, Sally K Wahba, and Jason O Hallstrom. 2011. Teaching CS unplugged in the high school (with limited success). In Proceedings of the 16th conference on Innovation and technology in computer science education . 248--252.
[13]
Adam M. Gaweda, Collin F. Lynch, Nathan Seamon, Gabriel Silva de Oliveira, and Alay Deliwa. 2020. Typing Exercises as Interactive Worked Examples for Deliberate Practice in CS Courses. In Proceedings of the Twenty-Second Australasian Computing Education Conference . ACM, 105--113.
[14]
Michael Homer and James Noble. 2017. Lessons in combining block-based and textual programming. Journal of Visual Languages and Sentient Systems, Vol. 3, 1 (2017), 22--39.
[15]
Tony Jenkins. 2002. On the difficulty of learning to program. In Proceedings of the 3rd Annual Conference of the LTSN Centre for Information and Computer Sciences, Vol. 4. Citeseer, 53--58.
[16]
Caitlin Kelleher, Dennis Cosgrove, David Culyba, Clifton Forlines, Jason Pratt, and Randy Pausch. 2002. Alice2: programming without syntax errors. In User Interface Software and Technology, Vol. 2. 35--36.
[17]
Michael Kölling, Neil C. C. Brown, Hamza Hamza, and Davin McCall. 2019. Stride in BlueJ -- Computing for All in an Educational IDE. In Proceedings of the 50th ACM Technical Symposium on Computer Science Education . ACM, 63--69.
[18]
Antti Leinonen, Henrik Nygren, Nea Pirttinen, Arto Hellas, and Juho Leinonen. 2019. Exploring the Applicability of Simple Syntax Writing Practice for Learning Programming. In Proceedings of the 50th ACM Technical Symposium on Computer Science Education. ACM, 84--90.
[19]
Andrew Luxton-Reilly. 2016. Learning to program is easy. In Procs of the 2016 ACM Conference on Innovation and Technology in Computer Science Education. 284--289.
[20]
Andrew Luxton-Reilly, Brett A. Becker, Yingjun Cao, Roger McDermott, Claudio Mirolo, Andreas Mühling, Andrew Petersen, Kate Sanders, Simon, and Jacqueline Whalley. 2018. Developing Assessments to Determine Mastery of Programming Fundamentals. In Proceedings of the 2017 ITiCSE Conference on Working Group Reports. ACM, 47--69.
[21]
Andrew Luxton-Reilly and Andrew Petersen. 2017. The Compound Nature of Novice Programming Assessments. In Proceedings of the Nineteenth Australasian Computing Education Conference. ACM, 26--35.
[22]
Bruce M McLaren, Sung-Joo Lim, and Kenneth R Koedinger. 2008. When and how often should worked examples be given to students? New results and a summary of the current state of research. In Proceedings of the 30th annual conference of the cognitive science society. Citeseer, 2176--2181.
[23]
Anthony Robins, Patricia Haden, and Sandy Garner. 2006. Problem distributions in a CS1 course. In Proceedings of the 8th Australasian Conference on Computing Education-Volume 52. 165--173.
[24]
Brandon Rodriguez, Stephen Kennicutt, Cyndi Rader, and Tracy Camp. 2017. Assessing Computational Thinking in CS Unplugged Activities. In Procs of the ACM SIGCSE Technical Symposium on Computer Science Education. ACM, 501--506.
[25]
R. Benjamin Shapiro and Matthew Ahrens. 2016. Beyond Blocks: Syntax and Semantics. Commun. ACM, Vol. 59, 5 (April 2016), 39--41.
[26]
Ben Shneiderman. 1977. Teaching programming: A spiral approach to syntax and semantics. Computers & Education, Vol. 1, 4 (1977), 193--197.
[27]
Rebecca Smith and Scott Rixner. 2019. The Error Landscape: Characterizing the Mistakes of Novice Programmers. In Proceedings of the 50th ACM Technical Symposium on Computer Science Education . ACM, 538--544.
[28]
Elliot Soloway, Jeffrey Bonar, and Kate Ehrlich. 1983. Cognitive Strategies and Looping Constructs: An Empirical Study. Commun. ACM, Vol. 26, 11 (Nov. 1983), 853--860.
[29]
Andreas Stefik and Susanna Siebert. 2013. An Empirical Investigation into Programming Language Syntax. ACM Trans. Comput. Educ., Vol. 13, 4, Article 19 (Nov. 2013), bibinfonumpages40 pages.
[30]
Shelsey Sullivan, Hillary Swanson, and John Edwards. 2021. Student Attitudes Toward Syntax Exercises in CS1. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education. ACM, 782--788.
[31]
Shelsey B Sullivan. 2020. An Analysis of Syntax Exercises on the Performance of CS1 Students . Ph.D. Dissertation. Utah State University.
[32]
John Sweller, Jeroen JG Van Merrienboer, and Fred GWC Paas. 1998. Cognitive architecture and instructional design. Educational psychology review, Vol. 10, 3 (1998), 251--296.
[33]
Anya Tafliovich, Jennifer Campbell, and Andrew Petersen. 2013. A Student Perspective on Prior Experience in CS1. In Proceeding of the 44th ACM Technical Symposium on Computer Science Education. ACM, 239--244.
[34]
David Weintrop. 2019. Block-Based Programming in Computer Science Education. Commun. ACM, Vol. 62, 8 (July 2019), 22--25.
[35]
David Weintrop and Uri Wilensky. 2017. Comparing Block-Based and Text-Based Programming in High School Computer Science Classrooms. ACM Trans. Comput. Educ., Vol. 18, 1, Article 3 (Oct. 2017), bibinfonumpages25 pages.
[36]
Daniel Zingaro, Yuliya Cherenkova, Olessia Karpova, and Andrew Petersen. 2013. Facilitating Code-Writing in PI Classes. In Proceeding of the 44th ACM Technical Symposium on Computer Science Education. ACM, 585--590.

Cited By

View all
  • (2024)Distractors Make You Pay Attention: Investigating the Learning Outcomes of Including Distractor Blocks in Parsons ProblemsProceedings of the 2024 ACM Conference on International Computing Education Research - Volume 110.1145/3632620.3671114(177-191)Online publication date: 12-Aug-2024
  • (2024)Evaluating Contextually Personalized Programming Exercises Created with Generative AIProceedings of the 2024 ACM Conference on International Computing Education Research - Volume 110.1145/3632620.3671103(95-113)Online publication date: 12-Aug-2024
  • (2024)A Case Study on Learning Visual Programming With TutoApp for Composition of Tutorials: An Approach for Learning by TeachingIEEE Transactions on Learning Technologies10.1109/TLT.2022.322612217(498-513)Online publication date: 1-Jan-2024

Index Terms

  1. Revisiting Syntax Exercises in CS1

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SIGITE '21: Proceedings of the 22nd Annual Conference on Information Technology Education
    October 2021
    165 pages
    ISBN:9781450383554
    DOI:10.1145/3450329
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 06 October 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. cs1
    2. exercises
    3. syntax

    Qualifiers

    • Research-article

    Conference

    SIGITE '21
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 176 of 429 submissions, 41%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)29
    • Downloads (Last 6 weeks)7
    Reflects downloads up to 15 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Distractors Make You Pay Attention: Investigating the Learning Outcomes of Including Distractor Blocks in Parsons ProblemsProceedings of the 2024 ACM Conference on International Computing Education Research - Volume 110.1145/3632620.3671114(177-191)Online publication date: 12-Aug-2024
    • (2024)Evaluating Contextually Personalized Programming Exercises Created with Generative AIProceedings of the 2024 ACM Conference on International Computing Education Research - Volume 110.1145/3632620.3671103(95-113)Online publication date: 12-Aug-2024
    • (2024)A Case Study on Learning Visual Programming With TutoApp for Composition of Tutorials: An Approach for Learning by TeachingIEEE Transactions on Learning Technologies10.1109/TLT.2022.322612217(498-513)Online publication date: 1-Jan-2024

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media