course_outline
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
course_outline [2013/02/26 03:32] – jonathan | course_outline [2013/04/07 15:52] (current) – jonathan | ||
---|---|---|---|
Line 40: | Line 40: | ||
===== Sequential Program Development ===== | ===== Sequential Program Development ===== | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | We study two examples of the development of programs using loops by Dijkstra using the Hoare notation and the proof obligations for loop invariants and variants. Separation of concerns via partial correctness and termination arguments. Weakest preconditions and the wp-axiom for assignment. See also the slides " | ||
+ | |||
+ | ===== Using Relations ===== | ||
+ | |||
+ | We develop a phone book example by developing a mathematical model from informal E/ | ||
+ | |||
+ | ===== More systems ===== | ||
+ | |||
+ | in the last two weeks of class we studied a train system and an EHealth medication system. | ||
+ | |||
+ | For the EHealth system the requirements were: | ||
+ | *E1: a set of doctors prescribes drugs to a set of patients | ||
+ | *E2: there exists pairs of drugs that when taken together have undesirable interactions | ||
+ | *E3: Drug interaction is symmetric, i.e. if a drug interacts with another, then the reverse also applies | ||
+ | *R1: A doctor shall be capable of adding drugs to a patients’ prescription. | ||
+ | *R2: A doctor shall not prescribe two drugs that interact | ||
+ | *Goal: |
course_outline.1361849535.txt.gz · Last modified: 2013/02/26 03:32 by jonathan