Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Introducing formal methods via program derivation
Chaudhari D., Damani O.  ITiCSE 2015 (Proceedings of the 2015 ACM Conference on Innovation and Technology in Computer Science Education, Vilnius, Lithuania, Jul 4-8, 2015)266-271.2015.Type:Proceedings
Date Reviewed: Sep 17 2015

The paper addresses teaching programming as a sequence of derivations from one partial solution to another, maintaining correctness of the partial programs at each step. This is contrasted with developing a program first, and then proving the completed solution. This approach is not a new idea, as the referenced literature makes clear, but it is applied here in the context of a second-year course, thus giving the opportunity to introduce formal aspects early in the undergraduate curriculum.

Since the authors have taken this approach with several classes of students, they have gained some knowledge about the common difficulties that students have with it. These are difficulty in understanding formal logic, not checking the conditions under which a transformation is applicable, long derivations leading to student frustration, attempting too large a step from one version to the next, omitting bounds on new variables, forgetting to carry out some proof details, and having difficulty organizing the derivation. Based on these observations, they have devised an interactive tool that ensures that the appropriate steps are taken. The developed system feeds a theorem prover that verifies the proof.

While the paper was written soon after the tool was made available to students and thus there is not a great deal of experience to support a strong conclusion, students have responded positively for the most part. The authors declare themselves to be overall “quite happy” with the tool’s use and they plan to enhance and continue to use it.

Reviewer:  D. T. Barnard Review #: CR143781 (1602-0162)
Bookmark and Share
  Reviewer Selected
 
 
Computer And Information Science Education (K.3.2 )
 
 
Correctness Proofs (D.2.4 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Computer And Information Science Education": Date
Introducing computers (1992–93 ed.)
Blissmer R., John Wiley & Sons, Inc., New York, NY, 1992. Type: Book (9780471548447)
Apr 1 1993
Coping with computers in the elementary and middle schools
Riedesel C., Clements D. (ed), Prentice-Hall, Inc., Upper Saddle River, NJ, 1985. Type: Book (9789780131724204)
Sep 1 1986
Paradox of the active user
Carroll J., Rosson M., MIT Press, Cambridge, MA, 1987. Type: Book (9789780262031257)
Nov 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy