ACM Home Page
Please provide us with feedback. Feedback
Teaching loop invariants to beginners by examples
Full text PdfPdf (347 KB)
Source Technical Symposium on Computer Science Education archive
Proceedings of the twenty-third SIGCSE technical symposium on Computer science education table of contents
Kansas City, Missouri, United States
Pages: 92 - 96  
Year of Publication: 1992
ISBN:0-89791-468-6
Also published in ...
Author
Wing C. Tam  Harvey Mudd College, Claremont, CA
Sponsor
SIGCSE: ACM Special Interest Group on Computer Science Education
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 16,   Downloads (12 Months): 58,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/134510.134530
What is a DOI?

ABSTRACT

Since the concept of a loop invariant has long been recognized as the correct way to design and analyse loops, it is important that its application to programming be introduced to students and programmers as early as possible. This paper describes how to teach the use of loop invariants to reason about loops and to program them correctly in introductory programming courses by following a systematic set of steps coupled with examples.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Salmon, William I., Structures and Abstractions, Irwin, 1991.
 
2
 
3
Giles, David, The Science of Programming, Springer-Verlag, 1981.
 
4