Professional Documents
Culture Documents
Elements of Software Construction: Lecture Notes
Elements of Software Construction: Lecture Notes
Lecture Notes
Review Handouts
State machine syntax and semantics (PDF)
Topics by Session
Notes for lecture 21 are not available.
Abbreviations
JSP = Jackson Structured Programming
Introduction
1 Basic Java syntax and semantics; overview of objectives and structure of the course (PDF)
Classes
2 More Java: exceptions, input/output, classes, access control, static (PDF)
3 Subclassing, inheritance, overriding, interfaces, packages; distinction between declared type and actual type; (PDF)
downcasting; anonymous classes
6 Safety and liveness properties; state properties and invariants; inductive reasoning; computing the product machine of a (PDF)
parallel combination; state explosion; fault tolerance; interlocks and the idea of a trusted base
7 Stream processing programs; grammars vs. machines; JSP method of program derivation; regular grammars and (PDF)
expressions
8 Modularity, decoupling, information hiding; module dependence diagrams; using interfaces for decoupling (PDF)
9 Why software testing is hard; input space partitioning, boundary testing, state machine coverage, code coverage; test-first (PDF)
development and regression testing
10 The SAT problem and SAT solvers; a new paradigm of functions over immutable types; use datatype productions to (PDF)
model structured values; patterns for implementing datatypes (Variant as Class, Interpreter)
11 Review of basic datatype patterns; a naive solver with backtracking search; design improvements with Facade, Option (PDF)
types, and a 3-valued logic