CS 5500: Correctness, Safety, and Liveness

Module Overview

This week you will review preconditions, postconditions, and other invariants. You will learn how these invariants help you to write correct (or at least safe) programs, and help you to debug incorrect programs.

Course Map

highlighting module content within context of course

Readings

No readings.

Resources

Lessons

  1. Preconditions, Postconditions, and Invariants
  2. Loop Invariants
  3. System and State Invariants

Homework Assignments

For debugging: Click here to validate.