Introducing Proofs ofaProgram's Termination inanUndergraduate Software Engineering Course
暂无分享,去创建一个
The author madethefirst attempt tointroduce proofs ofprogramcorrectness inanundergraduate software engineering course inFall2005attheauthor's university. The author alsonoticed thatexisting textbooks might coverHoare's axiomsforproving partial correctness ofprogramwithout touching proofs ofprogramterminations. Inthis paper, weare presenting amethodforproving aprogram's termination. After Hoare's axioms areapplied toaprogram, themethodcanbe applied totheprogram toshowwhether theprogram terminates successfully withcorrect outputs. Different techniques for proving programterminations intermsofdifferent loop structures arealso discussed. Withtheintroduction ofproofs of programterminations tostudents ina software engineering course, thestudents canhaveafull picture ofproofs ofprogram correctness. Lastly, we present ourexperience ofteaching proofs ofprogramcorrectness. I.INTRODUCTION
[1] Boris Beizer,et al. Software Testing Techniques , 1983 .
[2] 簡聰富,et al. 物件導向軟體之架構(Object-Oriented Software Construction)探討 , 1989 .