skip to main content
article
Free Access

Loop exits and structured programming: reopening the debate

Published:15 March 1995Publication History
Skip Abstract Section

Abstract

Internal exits from loops represent a critically important control structure that should be taught in the introductory CS1 curriculum. Without access to those facilities, students are often incapable of solving simple programming problems that occur frequently in applications. This paper reviews the existing evidence in support of such facilities and argues that it is important to reconsider our traditional pedagogical approach as we adopt new languages of instruction.

References

  1. Böhm66 C. B6hm and G. Jacopini, "Flow diagrams, Turing machines, and languages with only two formation rules," Communications of the ACM, May 1966. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Cooper92 Doug Cooper, Oh/Pascal! Turbo Pascal 6.0 (third edition), New Yorlc Norton, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Dahl72 Ole Johan Dahl, Edsger W. Dijkstra, and C. A. R. Hoare, Structured Programming, London: Academic Press, 1972.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Dale92 Nell Dale and Chip Weems, Turbo Pascal (third edition), Lexington, MA: D.C. Heath, 1992.Google ScholarGoogle Scholar
  5. Dijkstra68 Edsger W. Dijkstra, "co t o statement considered harmful," letter to the editor, Communications of the ACM, March 1968. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Dijkstra82 Edsger W. Dijkstra, "How do we tell truths that might hurt," SIGPLAN Notices, March 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Knuth74 Donald Knuth, "Stmctmxd programming with ~oto statements," Computing Surveys, December 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Koffman91 Elliot Koffman with Bruce Maxim, Turbo Pascal (third edition), Reading, MA: Addison-Wesley, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Ledgard75 Henry Ledgard and Michael Marcotty, "A genealogy of control structures," Communications of the ACM, November 1975. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Leestma87 Sanford Leestma and Larry Nyhoff, Pascal: Programming and Problem Solving (second edition), New York: Macmillan, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Roberts93 Eric S. Roberts, "Using C in CSI: Evaluating the Stanford experience," SIGCSE Bulletin, March 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Roberts95 Eric S. Roberts, The Art and Science of C: A Library-Based Approach, Reading, MA: Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Savitch91 Walter Savitch, Pascal: An Introduction to the Art and Science of Programming (third edition), Redwood City, CA: Benjamin/Cummings, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Shapiro80 Henry Shapiro, "The results of an informal study to evaluate the effectiveness of teaching structured programming," SIGCSE Bulletin, ~mber 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Sheppard79 S. Sheppard, B. Curtis, P. Millman, and J. Clement, "Modem coding practices and programmer performance," Computer, ~ber 1979.Google ScholarGoogle Scholar
  16. Soloway83 Elliot Soloway, Jeffrey Bonar, and Kate Ehtlich, "Cognitive strategies and looping constructs: an empirical study," Communications of the A CM, Vol. 26, No. 11, November 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Yuen94 C. K. Yuen, "Programming the premature loop exit: from functional to navigational," SIGPLAN Notices, March 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Loop exits and structured programming: reopening the debate

          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

          Full Access

          • Published in

            cover image ACM SIGCSE Bulletin
            ACM SIGCSE Bulletin  Volume 27, Issue 1
            March 1995
            402 pages
            ISSN:0097-8418
            DOI:10.1145/199691
            Issue’s Table of Contents
            • cover image ACM Conferences
              SIGCSE '95: Proceedings of the twenty-sixth SIGCSE technical symposium on Computer science education
              March 1995
              436 pages
              ISBN:089791693X
              DOI:10.1145/199688
              • Chairman:
              • Cary Laxer,
              • Editors:
              • Curt M. White,
              • James E. Miller,
              • Judy Gersting

            Copyright © 1995 ACM

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 15 March 1995

            Check for updates

            Qualifiers

            • article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader
          About Cookies On This Site

          We use cookies to ensure that we give you the best experience on our website.

          Learn more

          Got it!