ADA 95 TUTORIAL

This tutorial teaches the entire Ada 95 dialect of the Ada language. It is composed of 33 chapters which should be studied in order since topics are introduced in a logical order and build upon topics introduced in previous chapters. It is to the students benefit to download the source code for the example programs, then compile and execute each program as it is studied. The diligent student will modify the example program in some way, then recompile and execute it to see if he understands the material studied for that program. This will provide the student with valuable experience using his compiler.

The recommended method of study is to print the text for one or two chapters, download the example programs, and study the material by loading the example programs in the compiler's editor for viewing. Following successful completion of each chapter, additional chapters can be downloaded as progress is made.

Note that completion of the first part of this tutorial will give the student the ability to write very significant programs in Ada, but completion of the second part will give the student the ability to use all of the capabilities of Ada.

Version 2.5 - February 1, 1998

The original for this page is located at http://www.swcp.com/~dodrill/a95doc/a95list.htm and is the only fully authorized site for distribution of this tutorial. Many persons have downloaded one or more of our tutorials for redistribution without our consent, and occasionally do not include all of the components needed for the complete package. You can be assured that the tutorial will be complete and up to date only at the home site, since we have no control over the actions of other web site operators.

This tutorial is distributed as shareware which means that you do not have to pay to use it. However, the author spent a good deal of time and financial resources to develop this tutorial and requests that you share in the financial burden in a very small way, but only if you felt the tutorial was valuable to you as an aid in learning to program in Ada. If you wish to remit a small payment to the author, full instructions for doing so will be given by clicking the link below. I hope you find programming in Ada to be rewarding and profitable. I personally think Ada is the best language to use for a large project with more than a single programmer because of the careful interface checking done by the compiler.

How to Remit Payment For this Tutorial!

Part 1 - Beginning Ada 95 Tutorial

Introduction - What is Ada and why study it?
Chapter 1 - Getting Started
Chapter 2 - Program Structure
Chapter 3 - The Integer Type Variable
Chapter 4 - Logical Compares & precedence
Chapter 5 - Control Structures
Chapter 6 - Additional Scalar Types
Chapter 7 - Derived Types
Chapter 8 - Subprograms
Chapter 9 - Blocks and Scope of variables
Chapter 10 - Arrays
Chapter 11 - The Character & String Type
Chapter 12 - Records
Chapter 13 - The Access Type Variable
Chapter 14 - Input/Output
Chapter 15 - Packages
Chapter 16 - Example Programs

Part 2 - Advanced Ada 95 Tutorial

Chapter 17 - Exceptions
Chapter 18 - Advanced Subprogram Topics
Chapter 19 - Advanced Array Topics
Chapter 20 - Advanced Record Topics
Chapter 21 - Advanced Packages & Private Types
Chapter 22 - Object Oriented Programming
Chapter 23 - More Object Oriented Programming
Chapter 24 - Binary Input/Output
Chapter 25 - Dynamic Allocation
Chapter 26 - Tasking
Chapter 27 - The Simple Rendezvous
Chapter 28 - The Conditional Rendezvous
Chapter 29 - Additional Tasking Topics
Chapter 30 - Generic Subprograms
Chapter 31- Generic Packages
Chapter 32 - Control of Representation
Chapter 33 - More Example Programs
The source code and the answers for part 1 should be kept in a separate directory from those given for part 2 because some of the file names are repeated. This is done to illustrate evolution of software techniques as additional constructs are studied. All of the HTML documentation, however, should be placed in a single directory.

Download HTML Documentation for Ada 95 Part 1 - (a95html.zip) Download the Introduction and Chapters 1 to 16 in one packed file. This file (about 132k) contains the 17 files mentioned (plus the diagrams) which can be downloaded and unpacked for use locally. The content of this file is identical to the content of those 17 files. There are no executable files in this group of files.

Source Code for Ada 95 Part 1 - (a95src1.zip) Download all example programs. This file (about 48k) contains 86 source files which are all explained in the 16 chapters of text. There are no executable files in this group of files.

Answers to Exercises for Ada 95 Part 1- (a95ans1.zip) Download the authors answers to all of the programming exercises. This file (about 20k) contains 37 source files. There are no executable files in this group of files.

Download HTML Documentation for Ada 95 Part 2- (a95htm2.zip) Download the Introduction and Chapters 17 to 33 in one packed file. This file (about 144k) contains the 17 files mentioned (plus the diagrams) which can be downloaded and unpacked for use locally. The content of this file is identical to the content of those 17 files. There are no executable files in this group of files. These files when unpacked, should be placed in the same directory as the documentation files from Part 1 of this tutorial.

Source Code for Ada 95 Part 2- (a95src2.zip) Download all example programs. This file (about 67k) contains 100 source files which are all explained in the 15 chapters of text. There are no executable files in this group of files.

Answers to Exercises for Ada 95 Part 2- (a95ans2.zip) Download the authors answers to all of the programming exercises. This file (about 29k) contains 39 source files. There are no executable files in this group of files.

pkunzip executable - (pkunzip.exe) Download pkunzip.exe version 2.04 to unzip the source code. This executable is pre-registered for your use in unzipping any Coronado Enterprises tutorial files. It will unpack and generate the zipped files in the current directory and all will be ASCII source code files. To unzip the source code files for Ada 95 part 1, execute the following DOS command;

     pkunzip a95src1.zip
Or, to unzip the answers to programming exercises for Ada 95 part 1, execute the following DOS command;
     pkunzip a95ans1.zip

Copyright © 1988-1998 Coronado Enterprises - Last update, February 1, 1998
Gordon Dodrill - dodrill@swcp.com - Please email any comments or suggestions.