Bubble reflections

  • Authors:
  • C. T. Zahn

  • Affiliations:
  • Computer Science Department, Pace University, Pleasantville, New York

  • Venue:
  • SIGCSE '87 Proceedings of the eighteenth SIGCSE technical symposium on Computer science education
  • Year:
  • 1987

Quantified Score

Hi-index 0.00

Visualization

Abstract

A published version of Bubblesort is analyzed via correctness arguments and the failure of these arguments leads to the discovery of a subtle bug. A simple change produces a correct version and a not-so-trivial proof of termination completes the total correctness demonstration for the revised algorithm. Several important lessons are extracted from this experience.