Title :
Course Module: Design By Contract
Author :
McKim, J.C. ; Ellis, H.J.C.
Author_Institution :
Winthrop Univ., Rock Hill, SC
Abstract :
This paper introduces a module which has been submitted to the SWENET initiative that is collecting examples of software engineering teaching and learning modules. The module itself introduces the concept of design by contract as a rigorous approach for designing and producing more reliable software. The module introduces the concept of assertions and more specifically, preconditions and postconditions. The ideas presented in this module describe a formal approach to software construction that can easily be understood by both undergraduates and graduates. The module also provides guidelines for specifying good contracts. The material presented in this module is primarily derived from "Design by Contract by Example" by Richard Mitchell and Jim McKim (2002)
Keywords :
computer science education; educational courses; formal specification; program testing; software reliability; system documentation; teaching; SWENET; contract specification; course module; design by contract; formal approach; graduates; learning modules; software construction; software engineering; software reliability; teaching modules; undergraduates; Automatic testing; Built-in self-test; Contracts; Documentation; Education; Guidelines; Modular construction; Robustness; Software design; Software engineering;
Conference_Titel :
Software Engineering Education & Training, 18th Conference on
Conference_Location :
Ottawa, Ont.
Print_ISBN :
0-7695-2324-2
DOI :
10.1109/CSEET.2005.12