skip to main content
10.1145/3300115.3309508acmconferencesArticle/Chapter ViewAbstractPublication PagescompedConference Proceedingsconference-collections
research-article

Translation from Problem to Code in Seven Steps

Published:09 May 2019Publication History

ABSTRACT

Students in introductory programming courses struggle with how to turn a problem statement into code. We introduce a teaching technique, "The Seven Steps," that provides structure and guidance on how to approach a problem. The first four steps focus on devising an algorithm in English, then the remaining steps are to translate that algorithm to code, test the algorithm, and debug failed test cases. This approach not only gives students a way to solve problems, but also ideas for what to do if they get stuck during the process. Furthermore, it provides a way for instructors to work examples in class that focus on the process of devising the code - instructors can show how to come up with the code, rather than just showing an example. We describe our experience with this technique in several introductory programming courses - both in the classroom and online.

References

  1. Heather E. Bullock Charlie McDowell, Linda Werner and Julian Fernald. 2006. Pair Programming improves student retention, confidence and program quality. Commun. ACM, Vol. 49, 8 (Aug. 2006), 90--95. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Catherine H. Crouch and Eric Mazur. 2001. Peer Instruction: Ten years of experience and results. American Journal of Physics, Vol. 69, 9 (Sept. 2001), 970--977.Google ScholarGoogle ScholarCross RefCross Ref
  3. Philip J. Guo. 2013. Online Python Tutor: Embeddable Web-based Program Visualization for CS Education. SIGCSE 2013 (2013), 579--584. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Mark Guzdial and Barbara Ericson. 2007. Introduction to computing and programming with Java: A multimedia approach. Pearson Prentice Hall, Upper Saddle River, NJ. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Esko Nuutila, Seppo Törma, and Lauri Malmi. 2005. PBL and Computer Programming -- The Seven Steps Method with Adaptations. Computer Science Education, Vol. 15, 2 (2005), 123--142.Google ScholarGoogle ScholarCross RefCross Ref
  6. Author One and Author Two. 2015. Anonymous Title. Anonymous Pub, City, State.Google ScholarGoogle Scholar
  7. "Leo Porter and Beth Simon". 2013. Retaining Nearly One-Third more Majors with a Trio of Instructional Best Practices in CS1. SIGCSE 2013 (2013), 165--170. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Laurie Williams and Robert Kessler. 2003. Pair Programming Illuminated .Pearson Education, Boston, Ma. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Translation from Problem to Code in Seven Steps

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 Conferences
    CompEd '19: Proceedings of the ACM Conference on Global Computing Education
    May 2019
    260 pages
    ISBN:9781450362597
    DOI:10.1145/3300115

    Copyright © 2019 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 ACM 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: 9 May 2019

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    CompEd '19 Paper Acceptance Rate33of100submissions,33%Overall Acceptance Rate33of100submissions,33%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader