Program Correctness

Authors

  • Hing Leung New Mexico State University

Keywords:

program correctness, partial correctness, algorithms, data structures, programming languages

Abstract

We present a project for students on proving the correctness of a program, studied by reading excerpts from Robert Floyd’s pioneering paper on “Assigning meanings to programs,”  which appeared in 1967. The project is designed to focus on the key ideas in program correctness, rather than on the formal aspects of the theory that is usually presented in an axiomatic introduction to the topic. Terminology such as axioms, inferences, and deductive systems is deliberately avoided. Emphasis is placed on the practice of proving the partial correctness of interesting programs.The project is suitable for an undergraduate upper-level algorithms course or programming languages course. Most of the work can be completed by the students individually.

Downloads

Published

2026-06-01

How to Cite

Leung, H. (2026). Program Correctness. Annals of the TRIUMPHS Society, 1(2). Retrieved from https://triumphsannals.journals.publicknowledgeproject.org/index.php/triumphsannals/article/view/18194

Issue

Section

Primary Source Projects