Introduction to ITEC 320




Outline



What is Procedural Programming?



What is Procedural Programming?



Summary



Where is Procedural Programming Used?



Use PP When You Need ...



Languages in ITEC 320



Ada



Other languages



Hello World



Why Ada



Ada: An Excellent Procedural Language



Design Goals



Characteristics of Ada



Syntax is Algol family



New Ideas and Perspectives:



Sample Ada Code



Type System: Expressive and Reliable



Example: Type Naturals and an Integer Range



Example: Subtype Negative



Example: Fixed Point Type



Example: Type Even



Example: Close to Machine - Specify Sizes



Example: Close to Machine - Specify Bit Layout



Example: Pre and Post Conditions



Ada History and Example Applications



Ada: The Name



Ada Versions:



Language of Choice When Failure is Very Costly



Final Words