skip to main content
10.1145/3498343.3498353acmotherconferencesArticle/Chapter ViewAbstractPublication PagescepConference Proceedingsconference-collections
research-article

LMC + Scratch: A recipe to construct a mental model of program execution

Published:06 January 2022Publication History

ABSTRACT

Understanding how programs execute is one of the critical activities in the learning journey of a programmer. A novice constructs a mental model of program execution while learning programming. Any misconceptions at this stage lead to the development of a discrepant mental model. If left untreated, learning in advanced subjects like data structures and compiler construction may suffer. One of the ways to prevent the situation is carefully and explicitly unveiling the details of program execution. We employed Little Man Computer (LMC) for this purpose. Its interactive visual interface helped them internalise how software interacted with the hardware to achieve the programmer’s objective. After spending a few sessions on the programming of LMC, we moved to Scratch. Scratch is a much higher-level language than the LMC assembly. So, while introducing Scratch programming constructs, we mapped the LMC equivalents of these instructions. The strategy helped evade several misconceptions by developing a deep understanding of the program execution model. It also served as a building block for introducing other concepts like state, abstraction, the need for higher-level languages and the role of compilers etc. We tried this approach in an Introduction to Computer Science module where most students had zero or very minimal exposure to programming. We received positive feedback from students and other fellow teachers teaching in the subsequent semesters.

References

  1. Mordechai Ben-Ari. 2001. Constructivism in Computer Science Education. Journal of Computers in Mathematics and Science Teaching 20, 1(2001), 45–73. https://www.learntechlib.org/p/8505Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Irv Englander. 1996. The Architecture of Computer Hardware and Systems Software: An Information Technology Approach. John Wiley and Sons, Inc., USA.Google ScholarGoogle Scholar
  3. Peter Higginson. [n. d.]. Little man computer - CPU simulator. https://www.peterhigginson.co.uk/LMC/Google ScholarGoogle Scholar
  4. Chien-fei Chen Joseph Foy and Erin James Wills. 2014. Integrating Assembly Language Programming into High School STEM Education (work in progress). In 2014 ASEE Annual Conference & Exposition. ASEE Conferences, Indianapolis, Indiana. https://peer.asee.org/20660.Google ScholarGoogle Scholar
  5. Lisa C. Kaczmarczyk, Elizabeth R. Petrick, J. Philip East, and Geoffrey L. Herman. 2010. Identifying Student Misconceptions of Programming. In Proceedings of the 41st ACM Technical Symposium on Computer Science Education (Milwaukee, Wisconsin, USA) (SIGCSE ’10). Association for Computing Machinery, New York, NY, USA, 107–111. https://doi.org/10.1145/1734263.1734299Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Mitchel Resnick, John Maloney, Andrés Monroy-Hernández, Natalie Rusk, Evelyn Eastmond, Karen Brennan, Amon Millner, Eric Rosenbaum, Jay Silver, Brian Silverman, and Yasmin Kafai. 2009. Scratch: Programming for All. Commun. ACM 52, 11 (Nov. 2009), 60–67. https://doi.org/10.1145/1592761.1592779Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Simon, Raina Mason, Tom Crick, James H. Davenport, and Ellen Murphy. 2018. Language Choice in Introductory Programming Courses at Australasian and UK Universities. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (Baltimore, Maryland, USA) (SIGCSE ’18). Association for Computing Machinery, New York, NY, USA, 852–857. https://doi.org/10.1145/3159450.3159547Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. LMC + Scratch: A recipe to construct a mental model of program execution
      Index terms have been assigned to the content through auto-classification.

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        CEP '22: Proceedings of the 6th Conference on Computing Education Practice
        January 2022
        36 pages
        ISBN:9781450395618
        DOI:10.1145/3498343

        Copyright © 2022 ACM

        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].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 6 January 2022

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

        Acceptance Rates

        Overall Acceptance Rate32of71submissions,45%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      HTML Format

      View this article in HTML Format .

      View HTML Format