DocumentCode :
466083
Title :
Introducing Proofs of a Program´s Termination in an Undergraduate Software Engineering Course
Author :
Chiang, Chia-Chu
Author_Institution :
Arkansas Univ., Little Rock
Volume :
5
fYear :
2006
fDate :
8-11 Oct. 2006
Firstpage :
3927
Lastpage :
3931
Abstract :
The author made the first attempt to introduce proofs of program correctness in an undergraduate software engineering course in Fall 2005 at the author´s university. The author also noticed that existing textbooks might cover Hoare´s axioms for proving partial correctness of program without touching proofs of program terminations. In this paper, we are presenting a method for proving a program´s termination. After Hoare´s axioms are applied to a program, the method can be applied to the program to show whether the program terminates successfully with correct outputs. Different techniques for proving program terminations in terms of different loop structures are also discussed. With the introduction of proofs of program terminations to students in a software engineering course, the students can have a full picture of proofs of program correctness. Lastly, we present our experience of teaching proofs of program correctness.
Keywords :
computer science education; educational courses; program control structures; program verification; teaching; Hoare axiom; program correctness; program loop structure; program termination proofs; teaching; undergraduate software engineering course; Algorithms; Computer errors; Computer science; Cybernetics; Education; Error correction; Java; Runtime; Software engineering;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Systems, Man and Cybernetics, 2006. SMC '06. IEEE International Conference on
Conference_Location :
Taipei
Print_ISBN :
1-4244-0099-6
Electronic_ISBN :
1-4244-0100-3
Type :
conf
DOI :
10.1109/ICSMC.2006.384745
Filename :
4274510
Link To Document :
بازگشت