Skip to main content

UTAustinX: LAFF – On Programming for Correctness

Learn to apply formal methods to systematically develop correct, loop-based programs, an essential skill for computer programmers.

7 weeks
4–6 hours per week
Self-paced
Progress at your own speed
Free
Optional upgrade available

There is one session available:

After a course session ends, it will be archivedOpens in a new tab.
Starts Apr 19
Ends Dec 31

About this course

Skip About this course

Is my program correct? Will it give the right output for all possible permitted inputs? Computers are now essential in everyday life. Incorrect programs lead to frustration in the best case and disaster in the worst. Thus, knowing how to construct correct programs is a skill that all who program computers must strive to master.

In this computer science course, we will present "goal oriented programming" the way Edsger Dijkstra, one of the most influential computer scientists, intended. You will learn how to derive programs hand-in-hand with their proofs of correctness. The course presents a methodology that illustrates goal-oriented programming, starting with the formalization of what is to be computed, and then growing the program hand-in-hand with its proof of correctness. The methodology demonstrates that, for a broad class of matrix operations, the development, implementation, and establishment of correctness of a program can be made systematic.

Since this technique focuses on program specifications, it often leads to clearer, correct programs in less time. The approach rapidly yields a family of algorithms from which you can then pick the algorithm that has desirable properties, such as attaining better performance on a given architecture.

The audience of this MOOC extends beyond students and scholars interested in the domains of linear algebra algorithms and scientific computing. This course shows how to make the formal derivation of algorithms practical and will leave you pondering how our results might extend to other domains.

As a result of support from MathWorks, learners will be granted access to MATLAB for the duration of the course.

At a glance

  • Institution:

    UTAustinX

  • Subject: Computer Science
  • Level: Intermediate
  • Prerequisites:
    None
  • Language: English
  • Video Transcript: English
  • Associated skills:Scientific Computing, Computer Science, Operations, Formal Methods, Algorithms, Goal-Oriented, MATLAB, Linear Algebra

What you'll learn

Skip What you'll learn
  • Develop assertions describing states in a program.
  • Prove programs correct using logic.
  • Build algorithms using goal-oriented programming techniques.
  • “Slice and dice” to discover families of loop-based algorithms for matrix computations.

Interested in this course for your business or team?

Train your employees in the most in-demand topics, with edX For Business.