Sciweavers

ITICSE
2003
ACM

Studying program correctness by constructing contracts

13 years 9 months ago
Studying program correctness by constructing contracts
Because the concept of program correctness is generally taught as an activity independent of the programming process, most introductory computer science (CS) students perceive it as unnecessary and even irrelevant. The concept of contracts, on the other hand, is generally taught as an integral part of the programming process. As such, most introductory CS students have little difficulty understanding the need to establish contracts via preconditions and postconditions. In order to improve teaching program correctness concepts, we implemented ProVIDE, an enhanced integrated development environment (IDE) for Java [7]. ProVIDE supports a modified version of the “design by contract” methodology [13] that assists its student programmers in contract construction. Rather than asking for both a precondition and postcondition for each of his/her methods, ProVIDE asks the student to simply supply a postcondition. ProVIDE then helps the student construct the appropriate precondition by leadi...
Timothy S. Gegg-Harrison, Gary R. Bunce, Rebecca D
Added 05 Jul 2010
Updated 05 Jul 2010
Type Conference
Year 2003
Where ITICSE
Authors Timothy S. Gegg-Harrison, Gary R. Bunce, Rebecca D. Ganetzky, Christina M. Olson, Joshua D. Wilson
Comments (0)